Forum Discussion
KarelHusa
9 years agoSuper Contributor
ritesh23487, you can check the following script:
def tcResults = runner.getResults()
tcResults.each {
def tcRunner = it
log.info "TestCase: " + tcRunner.getTestCase().getName()
tcRunner.getResults().each {
log.info "NAME:" + it.getTestStep().getName() + " STATUS:" + it.getStatus()
}
}You can execute the script as a tear down script of your test suite (the runner object is an instance of TestSuiteRunner).
Karel