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, 2019 in Selenium by Suman
3,176 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, 2019 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, 2019 in Selenium by Pratibha
• 3,690 points
1,074 views
0 votes
1 answer

Which click command can be used to click on a specific part of webpage in Selenium?

Hi Apeksha, in Selenium IDE to click on ...READ MORE

answered Oct 17, 2019 in Selenium by Devesh
1,687 views
0 votes
2 answers

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,500 points
13,763 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,184 views
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,910 points
7,258 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,895 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
• 13,150 points
1,074 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, 2019 in Selenium by Anvi
• 14,150 points
913 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP