Running tests in parallel - Selenium

So far we have managed to get our tests cycling through different machines. We have also got it working against the Selenium Grid hub so we can see all of our tests being split out to the machines that we make sure that we test against browser and operating system combinations.

In this section, we will look at how we can add a thread-count attribute to the <suite> node in our test configuration file. We also will need to add the parallel attribute to the test suite. The value that it takes will either be methods or classes. This will mean that either the methods, the test cases, are run in parallel or the classes that contain the test cases are running in parallel.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Selenium Topics