3 Step Guide On Parallel Testing on Multiple Mobile Devices

Posted Sep 22nd, 2016

Are you running the same test manually over and over again on different mobile devices? Are you looking for a way to run manual tests in parallel on multiple mobile devices? Then stop right there. There is actually a solution for this and it’s called automated testing, or test automation. Keep reading to start testing on multiple mobile devices in 3 steps.

1. Start automating all the mobile test cases that can be automated

If you’re new to test automation you should start by choosing a test automation framework. If you’re not sure which one to choose, we recommend reading Choosing the Right Mobile Test Automation Framework.

If you are already using test automation, all of these frameworks, including Appium, Robotium, and Espresso, support parallel testing on multiple mobile devices.

Tip: If you are planning to test both on Android and iOS, your best choice is Appium, which is the most versatile of the three.

Once you have chosen a mobile testing framework, you should start to write test scripts for your test cases. This guide on Mobile App Test Automation Best Practices – 5 Test Cases to Automate will help you decide which test cases are most suited for test automation. If you haven’t done any automation up to this point, we suggest starting with Appium on Sauce Labs and our getting started video tutorial

Are you asking yourself why you should do test automation? We have a list of rock solid reasons – Benefits of Automated Testing!

Here is a practical example of how testing in parallel will help you value your testing time more:

Let’s say you want to test on 5 devices and every test takes 5 minutes. With test automation, it will take 25 minutes to test on all devices. Tests will be run automatically one after another but the test needs to finish on the first device before it can start on the second one, etc. If you test in parallel on multiple mobile devices it will take you just 5 minutes, because the test will be run on all of the 5 devices at the same time. 

2. Decide on which mobile devices you want to run your test cases

Once you have your test cases and the scripts for test automation ready, you should decide on which devices to run your tests.

This is an important step because testing on the right devices and enhancing your app’s quality will help you deliver a seamless user experience that will build loyalty with your customers.

The first best practice is to consider your target users when selecting the mobile device models for testing your app. This helps ensure your testing coverage is as broad as possible.

Next, make sure you select the right amount and variety of devices. Check out our blog How to Choose Mobile Devices for Testing for the latest best practices and recommended devices for mobile testing.

3. Now it’s time to start parallel testing

This last part is very straightforward:

  1. Upload your app to TestObject platform
  2. Upload your test scripts/ test suites
  3. Choose the devices you want to run your tests on
  4. Start your test runs and
  5. Wait for the test report to be ready or use live view to see the test running.

Once the test run is finished, you can look at all the comprehensive results we provide you with such as logs, screenshots, and videos.
If you want to reproduce a particular bug, you can use manual testing.

You can also connect your Github or Jira and issues will be automatically pushed there for better tracking. To set up continuous integration you can use Jenkins and tests will be run automatically with every new build.


Written by

Ely Hechtel


Topics

Mobile TestingFrameworksiOS TestingAndroid