adspace


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how to locate a link using its text in selenium?

986


Have you created any framework?

1039


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

1197


what will be the first salary and what will be the hike in the salary?

929


What’s selenese?

920