RE: Rerun skipped using TestNG

Hi All,
How can I rerun a skipped test using TestNG?
I use RetryAnalyzer to rerun failed tests,  how should I do it for skipped tests?
Your replies are greatly appreciated.

Karthika Default Asked on June 23, 2015 in Selenium WebDriver.
Add Comment
2 Answers

Karthika,

There is nothing called rerunning a skipped test, it wasnt run earlier so no re run. If you want to run a skipped test either you modify the annotation of the test @Test(enable = ??) or you change the annotation in code directly to not skip a test.

Virender

Professor Answered on June 29, 2015.
Add Comment

Your Answer

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