I want to get status of testcases run in a testsuite using teardown scripts. I am able to get the status but not in the sequence of the run of testcases.
I am getting results in random order. The names are in random order everytime.
for ( testCaseResult in runner.results )
{
log.info "$testCaseName"
}