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.

Problem after Update Java

andjvsandjvs Members
edited April 2013 in Sahi - Open Source
When im try "Launch Browser", it doesnt open, get the error:

C:\Program Files\Internet Explorer\iexplore.exe -noframemerging http://sahi.exam
ple.com/_s_/dyn/Driver_initialized
Abr 19, 2013 4:41:40 PM net.sf.sahi.ui.Dashboard execCommand
SEVERE: null
java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, O s
istema nÒo pode encontrar o arquivo especificado
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, O sistema nÒo pode encont
rar o arquivo especificado
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 7 more

Answers

  • PachatPachat Members
    edited April 2013
    On a working installation of sahi-v43 OS,
    after Updating to latest Java : 7 Update 21 (using Windows 7) I can't launch anymore any browser from the Sahi launch pad.
    Can't use SAHI.

    I upgraded because I had the following problem :

    _setValue(_textbox("m4j-57"), "OKAY");
    although given when I record, on playback, will just empty anything written in m4j-057 instead of writing "OKAY" in it.

    on the other hand,
    _setSelected(_select("m4j-60"), "SA"); works well.

    No idea where it came from but I strongly suppose it was after a silent Java update.

    I had to go back to my old computer.
Sign In or Register to comment.