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.
Sahi Start up not working
SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
Sahi properties file =
Sahi user properties file =
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
Reading browser types from:
Firefox 4 was not found at C:\Program Files\Mozilla Firefox 4.0 Beta 7\firefox.exe
Opera was not found at C:\Program Files\Opera\opera.exe
C:\Program Files\Mozilla Firefox\firefox.exe -profile "D:\Sahi\userdata/browser/ff/profiles/sahi0" -no-remote http://sahi.example.com/_s_/dyn/Driver_initialized
Apr 30, 2013 3:50:05 PM net.sf.sahi.ui.Dashboard execCommand
SEVERE: null
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.sahi.util.Utils.executeCommand(Utils.java:528)
at net.sf.sahi.ui.Dashboard.execCommand(Dashboard.java:283)
at net.sf.sahi.ui.Dashboard.access$600(Dashboard.java:49)
at net.sf.sahi.ui.Dashboard$4$1.run(Dashboard.java:270)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 7 more
Best Answers
-
Hi Sibu
Please try this link
http://sahi.co.in/forums/discussion/4831/browser-not-opening-from-dashboard-after-java-

Answers
SAHI_HOME: ..
SAHI_USERDATA_DIR: ..\userdata
SAHI_EXT_CLASS_PATH:
Sahi properties file =
Sahi user properties file =
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
Reading browser types from:
Firefox 4 was not found at C:\Program Files\Mozilla Firefox 4.0 Beta 7\firefox.exe
Opera was not found at C:\Program Files\Opera\opera.exe
C:\Program Files\Mozilla Firefox\firefox.exe -profile "D:\Sahi\userdata/browser/ff/profiles/sahi0" -no-remote http://sahi.example.com/_s_/dyn/Driver_initialized
Apr 30, 2013 3:50:05 PM net.sf.sahi.ui.Dashboard execCommand
SEVERE: null
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.sahi.util.Utils.executeCommand(Utils.java:528)
at net.sf.sahi.ui.Dashboard.execCommand(Dashboard.java:283)
at net.sf.sahi.ui.Dashboard.access$600(Dashboard.java:49)
at net.sf.sahi.ui.Dashboard$4$1.run(Dashboard.java:270)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 7 more
stopsahi:
[java] Reverting Proxy
[java] java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
[java] at java.lang.ProcessBuilder.start(Unknown Source)
[java] at java.lang.Runtime.exec(Unknown Source)
[java] at java.lang.Runtime.exec(Unknown Source)
[java] at net.sf.sahi.util.Utils.executeCommand(Utils.java:620)
[java] at net.sf.sahi.util.ProxySwitcher.execCommand(ProxySwitcher.java:95)
[java] at net.sf.sahi.util.ProxySwitcher.revertSystemProxy(ProxySwitcher.java:28)
[java] at net.sf.sahi.ResetProxy.run(Proxy.java:219)
[java] at java.lang.Thread.run(Unknown Source)
[java] Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
[java] at java.lang.ProcessImpl.create(Native Method)
[java] at java.lang.ProcessImpl.<init>(Unknown Source)
[java] at java.lang.ProcessImpl.start(Unknown Source)
[java] ... 8 more
[java] Java Result: 1
failsahi:
BUILD FAILED
C:\Program Files (x86)\Jenkins\jobs\SahiPro\workspace\jenkins-sample.xml:12: The following error occurred while executing this line:
C:\Program Files (x86)\Jenkins\jobs\SahiPro\workspace\jenkins-sample.xml:53: Sahi tests failed!
Total time: 1 minute 3 seconds
Shutting down ...
Connection refused: connect
Build step 'Invoke Ant' marked build as failure
Recording test results