Forum Discussion
Nastya_Khovrina
7 years agoSmartBear 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
- 22 days ago