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.
Sahi Batch Mode Failure
Hi,
I'm new to using Sahi. I've created scripts which are successful when run in Playback from the controller and also when I run them individually (as sah files) from the Bin. I've put the numerous scripts into a Suite file and keep getting Failure after some time and multiple browser windows opened and running through the scripts. These scripts will all pass individually. Would this be because of the multiple browser windows open when run via suite file and I'm using the same username/password details in the scripts(user can only be logged in once on the system).
Any help would be much appreciated guys.
Thanks in advance.
I'm new to using Sahi. I've created scripts which are successful when run in Playback from the controller and also when I run them individually (as sah files) from the Bin. I've put the numerous scripts into a Suite file and keep getting Failure after some time and multiple browser windows opened and running through the scripts. These scripts will all pass individually. Would this be because of the multiple browser windows open when run via suite file and I'm using the same username/password details in the scripts(user can only be logged in once on the system).
Any help would be much appreciated guys.
Thanks in advance.
Best Answer
-
Hi Johncorless,
Please try the below scenario,
Navigate to: "..\Sahi\userdata\bin\testrunner.bat" and edit
SET THREADS=1
-threads -- no. of browser instances to run in parallel
Refer: http://sahi.co.in/w/Running+multiple+tests+in+batch+mode
Also you can try using include ( http://sahi.co.in/w/_include )
Good Luck.
-Umashankar
Answers
Thank you for your reply.
Much appreciated.