Forum Discussion
1 Reply
- skelkarContributor
Any help here ?
Hi,
I wanted to log test name of all failed steps in my project after execution so I added below custom event handler -
Name - TestRunListener.afterStep
Event - TestRunListener.afterStep
Target - ${=testCaseResult.getStatus().toString() == 'FAILED'}
and script to execute - log.info "failed step name=" +testStep.name
But this is not working.
Is there any problem with the Target I put or event ?
Any help here ?