Error in OnStartTest event stopping entire execution
Hello, I have recently started using the event handlers provided in TC, and I have been using them to make pre-validations and post-validations, but I have noticed that if there is any failure (Error) that come up while going through the steps inside these Event functions, then the entire test execution is stopped and the remaining tests on the list are not executed.
Example:
1. My test execution plan has 100 tests and I run them all together.
2. At the test case number 3, there is a failure in the OnStartTest event (e.g. TC tries to click an element that is not visible)
3. The test log report is displayed and all the remaining tests (from test #3 to test #100) appear as "Unexecuted".
Is this the expected behavior? Is there any way to avoid stopping the entire execution if anything fails inside the event handlers?
Note: I have my Playback settings as "OnError: Stop current item and continue running" and "Rerun failed test item times = 2"