Forum Discussion
nmrao
8 years agoCommunity Hero
Need to understand the use case little more.
How is your project structure?
Do you want run the failure cases after finishing off the project?
Or do you want to re-run the test case as soon as it is failed and repeat untill it is passed?
If it is a defect, then the test fails irrespective of how many times it is re-run unless the issue is fixed.
So, what is your case?
How is your project structure?
Do you want run the failure cases after finishing off the project?
Or do you want to re-run the test case as soon as it is failed and repeat untill it is passed?
If it is a defect, then the test fails irrespective of how many times it is re-run unless the issue is fixed.
So, what is your case?
Kotaibaw
8 years agoOccasional Contributor
Hi i want to rerun all the TestCase in same TestSuite after Testsuite is finished.
what we did tell now we added new TC which contain Groovy Step and doing the following:
def testCaseList = testRunner.testCase.testSuite.getTestCaseList()
for(testCase in testCaseList)
{
// how to check now testCase status?? if its field or not.
}
- sanj8 years agoSuper Contributor
all I can see you can status for the testrunner
testRunner.getStatus()