What is threadPoolSize used for @Test methods in TestNG?

0 votes
Jun 18 in Selenium by Rahul
31 views

1 answer to this question.

0 votes

Hi Rahul, threadPoolSize tells the TestNG to form a thread pool to run the test method through multiple threads. Though this attribute is ignored if invocationCount is not specified. In this example, the method testCase1 will be invoked from three different threads: 

@Test(threadPoolSize = 3, <code class="plain">invocationCount = </code><code class="value">10</code>) 
public void testCase1(){}
answered Jun 19 by Abha
• 16,440 points

Related Questions In Selenium

+1 vote
1 answer

What is locators used for in selenium?

Locator are used to find and match ...READ MORE

answered Dec 18, 2018 in Selenium by Nabarupa
33 views
0 votes
1 answer

What is TestNG and why it is used in selenium?

Hello @User, Talking about TestNG, it is an ...READ MORE

answered Dec 24, 2018 in Selenium by Shuvodip
68 views
0 votes
1 answer

What is POM in Selenium and what it is used for?

Hello Rubina, POM is Page Object Model which ...READ MORE

answered May 12 in Selenium by Anvi
• 10,310 points
59 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,050 points
259 views
0 votes
1 answer
0 votes
1 answer

What is the role of TestNG & JUnit frameworks in Selenium?

Well TestNG and JUnit are test frameworks ...READ MORE

answered Apr 18, 2018 in Selenium by king_kenny
• 3,590 points
192 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,130 points
628 views
0 votes
1 answer

What is Apache POI in Selenium and what it is used for?

Hi Raj, Apache POI is the most commonly ...READ MORE

answered May 8 in Selenium by Abha
• 16,440 points
100 views
0 votes
1 answer

What is the use of invocationcount in TestNG?

Hey Owen, The invocationcount attribute tells how many ...READ MORE

answered Jun 19 in Selenium by anonymous
• 16,440 points
21 views