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 change the default scripts directory set in testrunner.bat?
Hello,
I'm trying to execute sahi script using testrunner.bat but the scripts directory that I have set in sahi\userdata\config\userdata.properties is being overriden by the one that is set in sahi\userdata\bin\testrunner.bat. Can you please advise how to modify testrunner.bat so that it uses some custom directory (e.g. C:\QA\Sahi automation)?
Regards,
Iskren
I'm trying to execute sahi script using testrunner.bat but the scripts directory that I have set in sahi\userdata\config\userdata.properties is being overriden by the one that is set in sahi\userdata\bin\testrunner.bat. Can you please advise how to modify testrunner.bat so that it uses some custom directory (e.g. C:\QA\Sahi automation)?
Regards,
Iskren
Best Answer
-
Hi Hellrazah,
Have you tried changing the script path in testrunner to the one you specified in userdata.properties?
Try changing the following statement:SET SCRIPTS_PATH=scripts
to
SET SCRIPTS_PATH=C:\QA\Sahi automation
Please let me know if it works for you.
Regards.
Answers