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.
how to stop sahi script
Hello,
I am calling many script in one main script when one script fails execution will continue with the next script. How to stop the main script execution when one script fails?
Can we introduce an e-mail concept if any one of the script fails?
Thanks,
Sowmya.
I am calling many script in one main script when one script fails execution will continue with the next script. How to stop the main script execution when one script fails?
Can we introduce an e-mail concept if any one of the script fails?
Thanks,
Sowmya.
Comments
Are the script1.sah and script2.sah dependent? If so, then manipulate these scripts so that it handles all the conditions.
For email concept kindly look at this link:
http://sahi.co.in/forums/viewtopic.php?id=2768
Regards
Sumitra
When using a suite file, implement a a global variable with set and http://sahi.co.in/w/_getglobal
Use http://sahi.co.in/w/sahi-call-back-functions with a function which sets the global key false when a script fails.
An if cluase at the beginning of every script can determine, if there where any errors before and just skip execution.
Seems kinda complicated for me, but should work
Regards
Wormi