how to set invocation count in testng code example
Example: how to set invocation count 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