Hi Suman, If I want to run test scripts in parallel using Webdriver and TestNG framework, then "parallel" attribute of suite tag can accept following values:
-
tests: When the parallel attribute has value as tests, then all the test cases present inside the test tag will run in parallel.
- classes: When the parallel attribute has value as classes, then all the test cases present inside a JAVA class will run in parallel.
-
methods: When the parallel attribute has value as methods, then all the methods with ‘@Test’ annotation will execute in parallel.
-
instances: When the parallel attribute has value as instances, then all the test cases present in the same instance will execute in parallel.