Forum Discussion

vikranthsanka15's avatar
vikranthsanka15
Occasional Contributor
10 years ago

Get all test step result of a test case

Get all test step result of a test case , I have tried the following code for achieving it

for( r in testRunner.results )
log.info( "TestStep " + r.testStep.name + " finished with status " + r.status )


But this code does not get me any result.

But came to know from the forums that this code is working for many folks, how to implement this piece of code.

Thanks

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    I belive this is a duplicate topic and you posted this earlier with different topic.

    If others are able to get it you should definitely be able to do it.

    I guess, the execution of tests should should be done from the same groovy step.