InvocationCount example in testng
Example: what is invocationcount 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