Rerun skipped testcases in TestNG

I am trying to execute multiple test cases with the help of data provider using TestNG but most of the Test cases are getting skipped so by any chance i can rerun them programmatically.

 

public class ChatValidation extends CommonTestBase {@Test(dataProvider = “chatvalidationInputs”, alwaysRun = true, dataProviderClass = com.verizon.eComm.datadrivers.TestDataDrivers.class)
public void ChatValidationFlows(Hashtable<String, String> data)throws Exception {

===========Code=============

}

}

Default Asked on February 23, 2017 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.