18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
_continueOnError & _stopOnError ------ examples pls!
hallo!
Please provide me with an example of above.
Shall I use it:
1. once per script ?
2. on the place where error is expected
Lech
Please provide me with an example of above.
Shall I use it:
1. once per script ?
2. on the place where error is expected
Lech
Comments
If you have zones where you want to be lenient with errors, you could insert _continueOnError() at the start of those lines and _stopOnError() at the end of them.
It did not work. The script will pause at random interval.
So i added _stopOnError at the end of my file.
Even this does the same and does not continue on error.
Finally i ran the script in batch mode thinking it might work there.
It did not work for me here also. Scripts aborts at the middle in case of error[it does not find some html element id in the page.may be my application html page id has changed.]. Build Status is Failure.
Can anybody let me know how to use _continueonError() api? Is there anything i need to configure elsewhere?