18 January 2026:


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.

could not launch any browser from Sahi Dashboard / batch bin not working

PachatPachat Members
edited April 2013 in Sahi - Open Source
sahi-v43 OS : I could not launch any browser from Sahi Dashboard

The reason is that default browser_types.xml is incorrect for some languages other than English :
<path>$ProgramFiles (x86)\Mozilla Firefox\firefox.exe</path>
has to be replaced by
<path>"$ProgramFiles\Mozilla Firefox\firefox.exe"</path><force>true</force>
same for the other browsers

But lauching through bin is not working :
C:\Users\Dev\sahi\userdata\bin>testrunner.bat mit.sah http://localhost/portail/
firefox
test=scripts/mit.sah
browserType=firefox
baseURL=http://localhost/portail/
host=localhost
port=9999
threads=5
useSingleSession=false

suiteName = scripts/mit.sah
base = http://Dev-VAIO2/portail/
sahiHost = localhost
port = 9999
threads = 5
browserType = firefox
this.isSingleSession == false
Added shutdown hook.
http://localhost:9999/_s_/dyn/Suite_start?suite=scripts%2Fmit.sah&base=http%3A%2
F%2FDev-VAIO2%2Fportail%2F&threads=5&sahisid=sahi_634da7b0035fb042e70987200a60bc
dd1415&browserType=firefox&html=
FAILURE
Shutting down ...

C:\Users\Dev\sahi\userdata\bin>

What is strange is that copying a C:\Users\Dev\sahi from another computer I have batch in Bin working but can not launch any browser from Sahi Dashboard even when applying the above correction on browser_types.xml

So now, I end with two sahi folders in C:\Users\Dev, one for manual testing, the other one for batch testing.
Not very easy...

What do I have to look at to make the bin working properly ?

Answers

  • I am having the same problem on my virtual machine. Sahi on my original is working fine.
Sign In or Register to comment.