how to stop exporting failed test cases result to a file in - FAIL.txt in afterStep
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to stop exporting failed test cases result to a file in - FAIL.txt in afterStep
I have lots of pre steps in my test suite which might fail sometime but that is expected. But the problem here is this is generating a FAIL.txt file in Jenkins machine . is there any way to stop creating this file ?
Thanks in Advance.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @kannan ! I am not sure there's an easy way to achieve what you'd like. However, if you are using our plugin, you can try using test runners as its alternative and get the needed reports through parameters.
An article on test runners, hope this is helpful - https://support.smartbear.com/readyapi/docs/integrations/jenkins.html#command-line
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had added a simple print statement in TestRunListener.afterStep but this is not getting executed for Rest Test Step however it is getting executed for Groovy Test Steps.
