Codeless Automated Testing
Introduction
TestProject is an end-to-end test automation tool that works on “record & play” principle i.e. you can record the website or mobile testing actions and play them later when bugs are caught for efficient diagnosis.
Using this tool one can automate iOS, Android, and Web applications. It also allows you to integrate Selenium and Appium for mobile automation testing purposes.
In case you are unaware, Selenium & Appium are popular web and mobile testing frameworks. Read about them here and here respectively.
Today, let's discuss setting up TestProject in Mac and creating our first test.
The architecture of the TestProject
When we write tests and add-ons with the TestProject framework, we have to use the TestProject SDK. It provides to write automated tests for mobile and web applications.
It allows us to manage our projects, test cases, and add-ons. We can create new projects, add test cases to our projects.
The TestProject agent can run on a computer as long as its operating system is supported by the TestProject framework. It can execute tests on Android, iOS, and Web applications.
Setting up TestProject
- Login to your TestProject account.
- Now the dashboard is ready, you can create projects, tests and run it.
Register Agent
Go to the Agents tab at the top of the page and click on Register Agent
Enter your Agent name and click on the Save button
On the next screen, we show the agent completed successfully screen
Creating a project
Click on Add a project button and create a new project
Adding test to a project
Click on New test/Create test and create your first test
On the next screen, we have the option to select the platform
Select the platform and click on the Next button
Now fill the fields in create test details and click on the Next button
Select the platform and select the application you would like to test
Click on the mobile applications and add a new test application for testing
Connect the android device to your laptop. Select the device name and application for testing and click on the DONE
On the next screen, a user is shown 3 options
- Record
- Edit
- Blank test
when you select the record option you can directly perform options on the device and the tasks. The tool records automatically generate the Appium code.
Select the record and click on the Start recording. Now you got the application and browser
In the application type something, the tool will automatically create steps with code
When you stop the recording click on SAVE & EXIT. A test file is created automatically upon exit, which can be used to execute the testing again and again.