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.
Not able to run sahi scripts in batch mode
Not able to run sahi scripts in batch mode.
When I replay the recorded scripts indivisually scripts runs without any errors.
But when I run the same scripts in batch mode,scripts are not working.
I tried with IE 7 IE8 IE6 and firefox browser
XP operating system
Sahi V3.5 version
When I replay the recorded scripts indivisually scripts runs without any errors.
But when I run the same scripts in batch mode,scripts are not working.
I tried with IE 7 IE8 IE6 and firefox browser
XP operating system
Sahi V3.5 version
Comments
Can you provide some more details ?
Not working means ...is it throwing some error...on console?
Provide steps you have gone through for execution on batch mode.
And mean while you can go through following posts for reference.
http://sahi.co.in/w/Running+multiple+te … batch+mode
and
http://sahi.co.in/forums/viewtopic.php?id=2710
Its quite possible that you are facing same issue.
I used the below steps to run the scripts:
testrunner.bat demo/demo.suite login path browser name
Navigate to C:-> Sahi -> User Data -> Bin Directory from command prompt.
Executed Command :-
testrunner.bat demo/demo.suite www.google.com ie
and test started normally with multiple browser of IE just as per expected behavior.
Are you following same steps ?
Are you able to execute same test from Sahi controller ?
First i navigated to C:-> Sahi -> User Data -> Bin Directory from command prompt
then i executed the command
testrunner.bat demo/demo.suite xyz ie
Immeadiately starts with multiple browser and after some time it stops in the middle and through Failure Shutting down message in command prompt.
When i am run the same scripts from sahi controller it run successfully
Kindly check if the .sah files in the suite file has to run on different urls. If so, then you will have to mention the script name and the URL in the suite file.
Eg: if the suite file is demo.suite then its should contain
script1.sah http://xyz.com
script2.sah http://abc.com
If you are still facing problem then we need some more information:
Is it on some particular script, or does it happen on any script?
Is the suite file not working on all the browser?
Do you have any extensions/plugins on the browser? Can you try after disabling them?
Regards
Sumitra