You need to run your Selenium tests in parallel using TestNG. How would you configure TestNG to run tests in parallel?
Use the parallel="classes" attribute in the TestNG XML configuration file.
Manually specify the test classes and methods to run in parallel in the TestNG configuration.
Use the parallel="methods" attribute in the TestNG XML configuration file.
Use the ©Parameters annotation to pass parameters for parallel execution.
Submit