invocationCount keyword is used with @Test annotation in TestNG to run same test multiple times in Selenium WebDriver project. We need to assign integer value.
Read this post on inviul.com