Skip to main content

Run tests on a single device on Automate

Can I use parallelisation to run tests on a single device from a pool of devices?

BrowserStack supports simultaneous testing across multiple devices and operating system combinations with parallel testing. You can also run your tests on a single device from the device pool.

The following snippet demonstrates how to run tests on one of the Android devices:

browserstack.yml
Copy icon Copy snippet

This example runs tests on only one device from the device pool.

Using parallelisation, you can select the number of devices to run your tests on. To get the desired parallelisation, you must set parallelsPerPlatform greater than 1 in the browserstack.yml file. For example, set parallelsPerPlatform to 2 if you want to run tests on two devices.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Download Copy