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.

Sahi cannot load IE8 and Firefox on Win 7

flyingcloudflyingcloud Members
edited November -1 in Sahi - Open Source
when i run sahi dashboard.bat on Windows 7, i find it just launch chrome browser, IE 8 and Firefox cannot be launched.
Messages from control, that is:
Firefox was not found at C:\ Program Files (x86) (x86)\Mozilla Firefox\firefox.exe
IE 8 was not found at C:\ Program Files (x86) (x86)\Internet Explorer\iexplore.exe

I don't wanna re-intall Firefox and IE 8 under other path.
Any other suggestions much appreciated :)


Other info:
OS: Windows 7,
Browser: have IE 8, Firefox 7.0 and Chrome installed
Sahi: version35_20110719

Comments

  • Hi flyingcloud,

    Can you check the path of Firefox and IE8? Are you using 64 bit machine or 32 but machine.

    Also, use:

    C:\ Program Files (x86)\Mozilla Firefox\firefox.exe

    C:\ Program Files (x86)\Internet Explorer\iexplore.exe

    Regards
    Sumitra
  • Another issue:
    In file $Sahi_Home\config\browser_types\win64.xml,
    <browserTypes>
    <browserType>
    <name>firefox</name>
    <displayName>Firefox</displayName>
    <icon>firefox.png</icon>
    <path>$ProgramFiles (x86)\Mozilla Firefox\firefox.exe</path>
    <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
    <processName>firefox.exe</processName>
    <capacity>5</capacity>
    </browserType>


    the value of $ProgramFiles is "C:\Program Files", so the path of Firefox should be " C:\ Program Files (x86)\Mozilla Firefox\firefox.exe", but the path displays at control is " C:\ Program Files (x86) (x86)\Mozilla Firefox\firefox.exe". Maybe this is the reason why sahi cannot launch it...
  • Hi Sumitra,

    i am using 64-bit machine, and have Windows 7 installed on pc.

    For Firefox, the path is : C:\ Program Files (x86)\Mozilla Firefox\firefox.exe

    For IE 8, the path is : C:\ Program Files (x86)\Internet Explorer\iexplore.exe


    Regards,
    flyingcloud
  • Hi flyingcloud,

    Kindly navigate to C:\program files and check where the firefox.exe and iexplorer.exe is installed. Now take the path of this exe and mention this path in the browser_types.xml.

    Save and "Restart Sahi".

    Regards
    Sumitra
  • Thanks Sumitra.
    I just remove the string "(x86)", and it works now.
This discussion has been closed.