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.

Problems with FF settings and testrunner?

gligogligo Members
edited November -1 in Sahi - Open Source
Can anyone tell me, what can be the problem by running tests with testrunner and firefox, I'm getting the sahi page, insead of mine, which I have specified?

testrunner.bat testsuite.suite http://mysite.com firefox

I am getting
http://sahi.example.com/_s_/dyn/Player_auto?file=......

What have I forgot to adjust? Because by IE works...

Comments

  • narayannarayan Administrators
    Is Firefox launched correctly via the Dashboard?
  • gligogligo Members
    edited April 2011
    Not with dashboard...with cmd...the same as ie....can be something in the settings? proxy and so on?
  • gligogligo Members
    edited April 2011
    Can you help me please?
    What's going on??
    I have installed the last Sahi version and everything run fine with the testrunner, till I didnt run the sahi_gui manual and chanded the proxy to localhost
    Now even I put the settings back, nor FF neither IE are opened , using testrunner from cmd . The error is:
    java.io.IOException: Cannot run program "$Programme\Mozilla Firefox\firefox.exe"
    : CreateProcess error=2, The system cannot find the specified file
    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.executeAndGetProcess(Utils.java:530)
    at net.sf.sahi.test.ProcessHelper.execute(ProcessHelper.java:68)
    at net.sf.sahi.test.BrowserLauncher.openURL(BrowserLauncher.java:52)
    at net.sf.sahi.test.TestLauncher.execute(TestLauncher.java:106)
    at net.sf.sahi.test.TestLauncher.execute(TestLauncher.java:95)
    at net.sf.sahi.test.SahiTestSuite.executeTest(SahiTestSuite.java:160)
    at net.sf.sahi.test.SahiTestSuite.executeSuite(SahiTestSuite.java:284)
    at net.sf.sahi.test.SahiTestSuite.run(SahiTestSuite.java:225)
    at net.sf.sahi.command.Suite$1.run(Suite.java:106)
    Caused by: java.io.IOException: CreateProcess error=2, The system cannot finid the specified file
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    ... 12 more


    Mark, that $Programme\Mozilla Firefox\firefox.exe is the right path and I didn't change it after that...
Sign In or Register to comment.