UI Tests on Virtual Devices

Ensure your Android app runs seamlessly on the exact devices your user base owns. Buddybuild supports numerous mobile devices across different OS versions and vendors. Select which virtual devices to run your UI tests against, and buddybuild will automate the rest!

Note

Why run UI tests on virtual devices?

Depending on the set of tests, running UI tests on virtual devices might lead to faster test runs. Virtual devices are created on-demand, and as such, there is essentially no contention for a device resource.

Virtual devices are not charged per minute, so using virtual devices is a good compromise in terms of speed, results and cost.

Setting up default UI tests on virtual devices

Setting up default UI tests on virtual devices will apply to all branches.

Start by clicking on App Settings.

Builds   Settings.png

In the left navigation, click on Test settings.

Tests   menu.jpg

Next, locate Run UI tests on virtual devices and click Configure.

Tests   virtual configure.jpg

Turn on UI tests on virtual devices, then select the variant you would like to run UI tests against.

Tests   virtual select variant.jpg

Lastly, select the virtual devices you want to run UI tests on.

Tests   virtual select device.jpg

Run UI tests on virtual devices for a specific branch only

You can also run UI tests on virtual devices for a specific branch by creating a branch-specific override.

Under Override build configuration, click Add a branch and select the branch you would like to run UI tests on virtual devices for.

Builds   Branch override   1.png

Select Run UI tests on virtual devices from the dropdown, then click the Configure button.

Tests   virtual branch override.jpg

You can now select the virtual devices you want to run UI tests on for your selected branch.

results matching ""

    No results matching ""