Forum Discussion
1 Reply
- sanjSuper Contributor
there is no API call to check test case status
you can only check test runner status via api call.
so prob you need to keep track of tests that have failed via the runner!
hi how to check if testCase from testSuite.testCaseList if failed or not
import groovy.*
def testCaseList = testRunner.testCase.testSuite.getTestCaseList()
for(testCase in testCaseList)
{
??????????????
how to check if testCase from testSuite.testCaseList if failed or not
}
there is no API call to check test case status
you can only check test runner status via api call.
so prob you need to keep track of tests that have failed via the runner!