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.
running sahi command problem
Hi,
I am running this command but I am getting this problem.
\> java -classpath
\sahi_setup\lib\ant-sahi.jar net.sf.sahi.test.TestRunner
d:/sahi_setup/userdata/scripts/demo/demo.suite "C:\Program Files\Mozilla Firefox
\firefox.exe" http://son1910:10000/demo/ default localhost 9999 10 firefox.exe "
-profile $userDir\browser\ff\profiles\sahi$threadNo -no-remote"
suiteName = d:/sahi_setup/userdata/scripts/demo/demo.suite
base = http://son1910:10000/demo/
sahiHost = localhost
port = 9999
threads = 2
browser = C:\Program Files\Mozilla Firefox \firefox.exe
browserOption =
browserProcessName = firefox.exe
this.isSingleSession == false
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=d:/sahi_setup/userdata/s
cripts%2Fdemo%2Fdemo.suite&base=http%3A%2F%2Fson1910%3A10000%2Fdemo%2F&threads=2
&sahisid=sahi_b1b53c890d68804ad80b47501303fd28b7b4&browser=C%3A%5CProgram+Files%
5CMozilla+Firefox+%5Cfirefox.exe&browserProcessName=firefox.exe&browserOption=&h
tml=
Status:FAILURE
Shutting down ...
I have genrated 2 sah file and I want to run this 2 files in same time.so thats why I have
given Thread=2 .and I have put this 2 file name in demo.suite with site name
demo.suite file
saree.sah urlname
bridal.sah urlname
but in command prompt it is not running.its giving problem which i have mentioned above.
please help me out.
note: earliar it was running but now I am not able to run this
I am running this command but I am getting this problem.
d:/sahi_setup/userdata/scripts/demo/demo.suite "C:\Program Files\Mozilla Firefox
\firefox.exe" http://son1910:10000/demo/ default localhost 9999 10 firefox.exe "
-profile $userDir\browser\ff\profiles\sahi$threadNo -no-remote"
suiteName = d:/sahi_setup/userdata/scripts/demo/demo.suite
base = http://son1910:10000/demo/
sahiHost = localhost
port = 9999
threads = 2
browser = C:\Program Files\Mozilla Firefox \firefox.exe
browserOption =
browserProcessName = firefox.exe
this.isSingleSession == false
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=d:/sahi_setup/userdata/s
cripts%2Fdemo%2Fdemo.suite&base=http%3A%2F%2Fson1910%3A10000%2Fdemo%2F&threads=2
&sahisid=sahi_b1b53c890d68804ad80b47501303fd28b7b4&browser=C%3A%5CProgram+Files%
5CMozilla+Firefox+%5Cfirefox.exe&browserProcessName=firefox.exe&browserOption=&h
tml=
Status:FAILURE
Shutting down ...
I have genrated 2 sah file and I want to run this 2 files in same time.so thats why I have
given Thread=2 .and I have put this 2 file name in demo.suite with site name
demo.suite file
saree.sah urlname
bridal.sah urlname
but in command prompt it is not running.its giving problem which i have mentioned above.
please help me out.
note: earliar it was running but now I am not able to run this
Comments
somehow the browser options aren't set correctly..
you may use the the options "--test --browserOptions" etc as described here http://sahi.co.in/w/Running+multiple+tests+in+batch+mode to make sure you set every thing right
Regards
Wormi