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.
Batch Execution of scripts getting fail
Hi,
we are facing two issue while executig batch run .
1) we have created sahi script which are running fine when executed individually.
But when we create .suite file and run those scripts in batch, it fails.
we have increased the time interval between the steps and number of reattempts when error is received in sahi properties file.
2) If a script is failed in between then rest all scripts are getting failed which are placed after the failed script.
Our created every script starts at login page, but if any script is failed inside the web page, All scripts are failed sequentially as it searches for username & password textboxes on login page.
Can you please let us know how to handle this kind of issue or click on logout when exception occcurs.
we are facing two issue while executig batch run .
1) we have created sahi script which are running fine when executed individually.
But when we create .suite file and run those scripts in batch, it fails.
we have increased the time interval between the steps and number of reattempts when error is received in sahi properties file.
2) If a script is failed in between then rest all scripts are getting failed which are placed after the failed script.
Our created every script starts at login page, but if any script is failed inside the web page, All scripts are failed sequentially as it searches for username & password textboxes on login page.
Can you please let us know how to handle this kind of issue or click on logout when exception occcurs.
Comments
see http://sahi.co.in/w/exception-handling
Alternatively start every script with
You may take a look at http://sahi.co.in/w/sahi-call-back-functions
Regards
Wormi