Now we are ready to start having our tests running in parallel.
TestNGXML configuration file.
parallel=methodsto the suite node.
thread-count=3to the suite node. This will run your tests with three threads. This number can be any value that you want. It is best practice to only let this number go to the number of cores that the machine running the tests has minus the number of Selenium Remote Controls running.
We have just managed to get our tests running in parallel. As you can see this has been fairly easy. We saw that adding the parallel and the thread-count attributes allows us to run ...