Forum Discussion
1 Reply
Sort By
- 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
Recent Discussions
- 4 days agogroovyguy