Which all values can be accepted as attribute for parallel execution of test scripts?

0 votes

If I want to run test scripts in parallel using Webdriver and TestNG framework, then which all values can be passed in "parallel" attribute?

Jun 20 in Selenium by Suman
30 views

1 answer to this question.

0 votes

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:

  1. tests: When the parallel attribute has value as tests, then all the test cases present inside the test tag will run in parallel.

  2. classes: When the parallel attribute has value as classes, then all the test cases present inside a JAVA class will run in parallel.
  3. methods: When the parallel attribute has value as methods, then all the methods with ‘@Test’ annotation will execute in parallel.

  4. instances: When the parallel attribute has value as instances, then all the test cases present in the same instance will execute in parallel.

answered Jun 20 by Abhilasha

Related Questions In Selenium

0 votes
1 answer

Assertions in Selenium can be used in which all modes?

Hello Gauri, Assertions in selenium can be used ...READ MORE

answered May 14 in Selenium by Pratibha
• 3,680 points
33 views
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
942 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,121 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
859 views
+6 votes
1 answer

Recording all of our test cases in Selenium IDE

Well @vincitydaimo, for obvious reasons we prefer not ...READ MORE

answered Sep 20, 2018 in Selenium by Vardhan
• 12,730 points
69 views
0 votes
1 answer

How can I write test scripts in Selenium with python?

Hey Khushi, writing test scripts in Selenium ...READ MORE

answered May 9 in Selenium by Anvi
• 13,960 points
75 views