While running a testsuites -test scase,how to log which test step is failing.
If its in a sequence,would like to register in which step it has failed.
Only the last execution's messages can be viewed.
You can try doing the following:
It will post statuses of execution of each your test step to the test log.
Does this suggestion work for you?
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.