Testdroid Cloud is using standard Android JUnit infrastructure for testing. All you have to do is to upload two APKs – your application and tests for it. For UI testing we recommend using Robotium framework. You can simply record tests for your application with Testdroid Recorder. You may find Your first recording tutorial useful if you want to know more on how to use Recorder for creating UI tests.
Select devices for tests:
In Testdroid Cloud you have an option to choose devices, on which tests will be executed. There is no need to run the tests on every device in cloud, but you can choose the ones you have seen issues with from the field, or which are new to you and you want to make sure your app is working properly on those.
To create your own device cluster, with specific set of real devices, please go to My Clusters. There you can pick and choose the devices you want to test your app on.
To start a test run:
Test runs are submitted to a test queue and you will be notified by e-mail when test results are available. You can unchecked this option in My account dashboard.
Test runs are limited to 10 minutes (600 sec.) by default. This is to prevent tests, that are hanging for one reason or another, to reserve the devices for unlimited time in the device cloud. Within 10 minutes one can usually run huge number of JUnit tests.
If you have a test scenario, that requires more than 10 minutes, just drop us a mail at support (at) bitbar.com, and we can change the time limit for your project.
There is also Advanced configurations. In this view, you can:
- Choose previously created device cluster to test on
- Disable or enable automatic screenshots taken at the beginning and at the end of each test method from test apk
- Change screenshots directory
- Decide about scheduling of tests
- Use specific test package or class from test apk
Note! If you don't have any active subscription plan (Premium or Solo) you can run your application only on free devices. In this case, please select "Free devices" from advanced configuration -> general settings.
You can use Testdroid Cloud also for ad hoc device compatibility checks or smoke tests. After opening your project, just choose App Crawler and then upload your application without any test instrumentation. Testdroid Cloud will automatically install the application on all phones, crawl through all screens of your application and take a screenshot of each view. If your application requires a login, you can give a test username and password as a parameter in Advanced configuration window. In case of test failures you can view full logs on each device to quickly ﬁnd out the reason.