Answers for "invocation in testng"

0

invocation in testng

An invocationCount in TestNG is the number of times that 
we want to execute the same test.

@Test(invocationCount=5)  
 public void testcase1()  
 {  
     System.out.println("testcase1");  
     
OUTPUT:
PASSED: testcase1
PASSED: testcase1
PASSED: testcase1
PASSED: testcase1
PASSED: testcase1
Posted by: Guest on December-08-2020

Browse Popular Code Answers by Language