Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.



Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate...

Answer / Tapan Sharma

@test(invocationcount=?) is used to specify the number of times a test method will be executed during test execution. For example: @Test(invocationCount = 3) indicates that the test method should run three times.nn@test(threadpoolsize=?) specifies the size of the thread pool for the TestNG framework's multithreaded execution. For example: @Test(threadPoolSize = 5) sets the number of threads available to execute tests concurrently.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

What could be the cause of selenium webdriver test to fail?

1 Answers  


How to insert a start point in selenium ide?

1 Answers  


Write a code snippet to launch internet explorer browser in webdriver.

1 Answers  


What is the difference between selenium and qtp?

1 Answers  


What are the two modes of views in selenium ide?

1 Answers  


What is the use of logging in automation?

1 Answers  


How could ajax controls be handled in webdriver?

1 Answers  


How to check which option in the dropdown is selected?

1 Answers  


Is the firefoxdriver a class or an interface?

1 Answers  


How to launch a browser using selenium webdriver?

1 Answers  


What are the challenges and limitations of selenium webdriver?

1 Answers  


How to enforce the title of the website?

1 Answers  


Categories