Forum Discussion
4 Replies
Sort By
- NisHeraValued ContributorYes you can.
Please go to your project /advance/Events - genaral events enable /OnlogError
It will ask to create a script or keyword test.
In that function you may handle error as you like. further detail could be reffered at support URL - tpotterOccasional Contributor
I'm not sure if I totally understood this and the answer above solves it... But, you can right click your project then go to Edit | Properties, naviagate to playback and uncheck "Stop on error".
Then if you want to stop your script in an if else, you can use Runner.halt().
Hopes this helps! - OlgaBOccasional ContributorI'll try that event function. Thank you.
- philip_webbNew ContributorYou can add logic into the OnLogError event so that a verification failure will not stop the test but an action failure will.
A user explains how to in this post.
Related Content
- 2 years ago
- 2 years ago