Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
in a groovy-script teststep you can access the results of the previous testcases with
def testSuiteRunner = context["#TestSuiteRunner#"]
if( testSuiteRunner != null )
{
for( r in testSuiteRunner.results )
log.info r.status
}
Obviously this won't contain the current TestCase as it hasn't finished yet
regards!
/Ole
SmartBear Software
in a groovy-script teststep you can access the results of the previous testcases with
def testSuiteRunner = context["#TestSuiteRunner#"]
if( testSuiteRunner != null )
{
for( r in testSuiteRunner.results )
log.info r.status
}
Obviously this won't contain the current TestCase as it hasn't finished yet
regards!
/Ole
SmartBear Software