Forum Discussion
srikanth92
New Contributor
Hi Lucian,
Following is the code to re-execute the failure test cases,
for ( testCaseResult in runner.results )
{
testCaseName = testCaseResult.getTestCase().name
if ( testCaseResult.getStatus().toString() == "FAILED" )
{
testCaseResult.testCase.run(null, false)
}
}
Thank You!!
Related Content
- 6 years ago678
Recent Discussions
- 7 hours agoVasanth_102