Parallel Execution on Multiple Devices
Parallel testing is a method of leveraging automation testing capabilities by allowing the execution of the same tests in multiple environments, real device combinations, and browser configurations at the same time. Parallel testing’s overarching goal is to reduce time and resource constraints.
With the TestGrid Automation Testing Tool, you get parallel testing, which enables you to test multiple test scenarios on multiple devices simultaneously; this saves a lot of time and resources.
How to execute test cases on multiple devices simultaneously in TestGrid?
- Login credentials.
Steps for Parallel Execution on Mobile Devices
Follow the steps below to execute the test cases on multiple devices parallelly:
Step 1: Log in to your TestGrid account with valid credentials.
- Once logged in, click the Add Test Application button on the left side of the panel.
- You will see the Add Test Application Window appear. Enter the name of your test application, and then click the Save button.
Your application name will appear once you click the save button.
Step 2. After clicking on your test application, you will be taken to the version window, where you may provide the necessary information in the needed fields before clicking the save button.
Step 3. When you click on the “+” icon, the add module window appears. Fill in your module name, then hit the save button.
Step 4. Select Test Case for Execution, then click the Run button.
Step 5. Provide an app bundle ID or upload an APK or IPA.
- The Upload Build window appears once you click the Run button.
- Click on the upload build button.
- After clicking the next button, the Add New Build box will display, where you can upload your build and enter a name for it in the highlighted field.
- Then click on the save button.
Step 6: Select multiple devices of your choice and click on “Run Test”.
It will begin compiling and merging elements with the selected test cases in order to generate a compiler file.
Step 7: View results
You can view the selected test cases, logs, and results of the executed test cases on the chosen device tabs.
You can switch to each device easily to see the result.
- It will begin processing in order to run the test cases.
- It will display a pop-up saying “Test Case Action Failed,” which means it will provide possible reasons for failure and suggestions to fix the same. To resume testing, click “OK”.
- When finished, on the left pane, click “Build Summary” to see the results of the selected device.
- Switch between devices to see the results for each.
You can examine the logs to determine the cause of failed test cases and
The reports can be downloaded by clicking the “Download” button.
As simple as that! Happy Testing