Forum Discussion
- Nastya_KhovrinaSmartBear Alumni (Retired)
Hi Jawed,
Thank you for your post. I would recommend that you use the TestSuite TearDown script and the following Groovy script:
for ( testCaseResult in runner.results )
{
if( testCaseResult.getStatus().toString() == 'FAILED' ) { // do something log.info "testCase has failed" } }
Related Content
- 4 years ago
- 7 years ago
Recent Discussions
- 5 days ago
- 10 days ago