Forum Discussion
2 Replies
Sort By
- TanyaYatskovskaSmartBear Alumni (Retired)
Hi Siji,
You can try doing the following:
- Add the TestRunListener.afterStep event to your project. Please read the following article for more information: http://readyapi.smartbear.com/readyapi/events/start
- Add the following script code to the Edit window:
log.info(testStepResult.status);
It will post statuses of execution of each your test step to the test log.
Does this suggestion work for you?
- SijiOccasional Contributor
Thanks for the reply.I am able to get the test status as OK or FAILED.
I am running tests in a loop,where the data gets loaded from a datasource(here excel sheet)
my test case has 5 steps,now i am able to log in the overall result as PASS or FAIL back to another excel sheet.
ie testcase description and status.
My issue is, I am not able to know,which test step has failed for that Test Case.
ie when a test step fails along wd other details it shd also get added to my result
Teststep description and corresponding error message.
Related Content
- 2 years agoricharc
Recent Discussions
- 19 hours agodipsthorat
- 23 hours agoisbiat
- 2 days agoarmygrad