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 test automation. Keep reading to start testing on multiple mobile devices in 3 easy 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 frameworks. If you’re not sure which one to choose, we recommend reading “Mobile Testing Automation Framework – Choose The Right One”.
If you are already using test automation, all of these frameworks, 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 “Test Automation Best Practices” will help you decide which test cases are most suited for test automation. If you are haven’t done any automation up to this point, we suggest starting with Appium and our getting started video tutorials.
Are you asking yourself why you should do test automation? We have a list of 10 rock solid reasons – “Top 10 Benefits of Test Automation”!
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 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 a very important step because testing on the right devices and enhancing your app’s quality will help you gain popularity, increase downloads and boost your revenues.
Ideally, you should choose 5 to 10 devices that are relevant to your target market. To find out which devices are the most popular in that market you can use different methods:
- If your app is already published, you can look at the downloads statistics
- If your app is not published yet, you can look at your target market most sold/most used devices. There are different websites that provide these information.
- If you have a web-app you can start by looking at the most popular browsers in your target market.
- One more thing you can do is to look at our top 10 of most popular devices by countries.
You can also download our free “Mobile Testing Cheat Sheet” that will help you organize the data you collected.
3. Now it’s time to start parallel testing
This last part is very straightforward:
- Upload your app to TestObject platform
- Upload your test scripts/ test suites
- Choose the devices you want to run your tests on
- Start your test runs and
- 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.