TestQA1
2 years agoFrequent Contributor
No failure count in Execution Summary though the tests have been failed
Hi,
I am using StopOnError_OnStopTest(Sender) handler that runs if test encounters any Log.Error while running.
I need to export summary of the failed results when the test fails so I am using Log.SaveResultsAs in the handler.
The handler is critical as we are using it to switch to next features if current features fail.
Now the problem is despite of failed tests, the exported summary is showing 0 Failed count. Please check attachment.
My QA department is not approving this and want to see correct fail count in summary.
Please note that the On error property in project settings is set to Stop current item so that the test stops running and executes handler.
Thanks