Environment Setup
Create and Schedule a Test Plan for Mobile Testing
Running your test cases daily helps catch issues early and ensures software stability. Using the test plan functionality, you can organize, schedule, and execute mobile test cases across different devices and configurations. This guide walks you through setting up a test suite, building a test plan, configuring devices, and scheduling automated runs.
Create a Test Suite
A test suite is a group of related test cases.
Go to the Test Suite module and click on Create Folder.
Enter a name for your test suite.
Add a label if desired.
Confirm the label addition.
Add required test cases to the suite.
For example, include the test case “Log into clinic application.”
Click on Create.
Your test suite is now ready, for example, named "regression shoot one."
Create a Test Plan
Test plans help define how and where your test suite runs—such as device types and operating systems.
Go to the Test Plan module and click on Create Test Plan.
Enter a name for your test plan.
For example, “Plan1.”
Set up parallel execution by increasing the number of nodes if you want multiple test cases to run simultaneously.
Add any email addresses to receive test results if needed.
Add your test suite and devices.
Scroll to the Test Machine and Suite section.
Add the test suite you just created.
Add a machine for device configuration.
Select the checkbox, then click Add Machine and Devices.
Enter a name for your machine.
Select the device type (e.g., Pixel 5).
Choose the device.
Enter configuration details, such as device model and the required app URL.
Use the app URL you uploaded earlier.
Click Create to save your device configuration.
Now, your Android device is configured to run the test suite. To add more devices, like iOS, repeat the previous device-adding steps.
Click the plus icon to add another device (e.g., iOS).
Provide required information, including the application URL.
Click Create to finish adding the device.
Now, both Android and iOS devices are configured within your test plan.
Click Create to finalize your test plan.
Your test plan is now ready to execute.
Schedule or Run Your Test Plan
Test plans can be executed immediately or scheduled for automated runs.
To schedule, click the Schedule icon.
Provide a name and description for your schedule.
For example, “Morning schedule” for daily morning runs.
Set the start date and time, and choose the frequency (e.g., daily at 9 a.m.).
Click Schedule to confirm automatic runs.
Now your test plan will run automatically at the scheduled time.
To run immediately, click the Run button.
If parallel execution is set, multiple test cases will run together.
After execution, view results by clicking View.
You’ll see separate results for each device (e.g., Android, iOS).
Review detailed logs, steps, and recorded videos under AI logs to help debug test cases as needed.
Automating and scheduling your mobile test plans ensures consistent and reliable test execution across devices. Reviewing detailed results and logs helps catch problems early, making your development process smoother and faster.
Last updated