Forum Discussion
jmcpeek
11 years agoContributor
I think I figured out my problem. In my OnLogError event, I have it checking for certain text and have the test stop if it doesn't find it in the error string. There, I'm stopping the test by calling runner.stop. It looks like runner.stop ruins everything. When I comment out that line, the OnStopTest statement runs as expected and save the log as the last step.
Now I just need to figure out how to stop the test gracefully when it's not an error I know about. I haven't had any luck with varying combinations of Stop on Error, Stop on Exception checkboxes.
Now I just need to figure out how to stop the test gracefully when it's not an error I know about. I haven't had any luck with varying combinations of Stop on Error, Stop on Exception checkboxes.