pkunst
11 years agoContributor
Get Status of test case
Is there a way to look up the test case result of another test case?
I tried to look it up, but it does not work.
The script is not in the
If there is no way to look it up I have to save the status in the tear down script into a property and get the value in another script. But that is not a nice way to solve the problem.
I tried to look it up, but it does not work.
def status= testCase.testSuite.project.getTestSuiteByName("Customer TestSuite").getTestCaseByName("TestCase01").testRunner.status
def status= testCase.testSuite.project.getTestSuiteByName("Customer TestSuite").getTestCaseByName("TestCase01").testCaseRunner.status
The script is not in the
If there is no way to look it up I have to save the status in the tear down script into a property and get the value in another script. But that is not a nice way to solve the problem.