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 avoid browser window close in between scripts complete execution during a suite file run?
Hi to All:
I'm using testrunner to run a suite file in a single thread with a single browser session for my test, but browser closes after the 1st script is run successfully. How do set to make the browser not to close after each script run in the suite file? Pls help, many thanks!!!
I'm using testrunner to run a suite file in a single thread with a single browser session for my test, but browser closes after the 1st script is run successfully. How do set to make the browser not to close after each script run in the suite file? Pls help, many thanks!!!
Answers
-useSingleSession : -true or false. If true runs all scripts in a single browser without closing it between scripts
Bhavitha
Can you please tell me in which file (where) we need to set : useSingleSession : -true or false
Exact syntax??
Thanks.
You can set useSingleSession as true or false by editing sahi/userdata/bin/testrunner.bat. The variable name is SINGLE_SESSION.
Regards.