RLRE
3 years agoOccasional Contributor
Changing "Stop on Error" setting programatically
Hello all,
I would like to change the setting "Stop on Error" from a script and set it back again.
The background: I would like to perform a 'dangerous' operation in a try block.
For this I want to make sure that the test does not stop running because of possible exceptions by changing the setting "Stop on Error" properly.
In the corresponding final block I would like to set the setting "Stop on Error" back to the original value, what ever it was.
I am currently using JavaScript. However, examples in any language are welcome.
Thanks a lot!