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.

Not able to connect FF and IE through Sahi_V35

Anurag PandeyAnurag Pandey Members
edited November -1 in Sahi - Open Source
Hi,

I am new to SAHI tool. I have installed it on my machine. The problems faced by me are:

1) Icon of google chrome is not appearing on my Sahi window when launched.
I tried to change settings through configure link of Main Sahi window but no use.

2) After launching Sahi when clicked on FF icon its giving error of "Problem Loading Page".
I checked the proxy settings, also i did proxy settings in "userdata.properties" file but didn't get any fruitful results. I am using FF7.

3) After launching Sahi when clicked on IE icon desired page appears successfully, but when I enter url for google, it navigates to a blank page, giving message as "SAHI ERROR".
I checked proxy settings but with Sahi those are appearing as non-editable field. I did change settings in "userdata.properties" but no use.

OS used in all three cases is Windows XP, Service Pack 3

Kindly provide some solutions for the above problems.

Thanks & Regards
Anurag Pandey.

Comments

  • Hi Anurag Pandey,

    1)Click on configure on the Dashboard and mention the path of the Chrome. Restart Sahi.

    You can even have a look at this link:

    http://sahi.co.in/w/trouble-shooting-sahi

    2)After you click on FF on the dashboard do you see Sahi's home page or are you getting "Problem Loading Page" after you navigate to some URL.

    3)The URL you should be using is : http://www.google.com.

    Let me know if you face any problem.

    Regards
    Sumitra
  • Thanks Sumitra, Problem 3 is resolved.

    Working on problem 1.

    In 2nd one: When I click on FF on the dashboard, I do not see any home page. It navigates me to a errored page where message appears as "Server not found" and "Firefox can't find the server at sahi.example.com"

    Regards
    Anurag
  • Hi Anurag Pandey,

    For 2nd prob: Can you set proxy manually to FF and check if it works fine.

    Also, post the contents of <browser_types.xml> by navigating to <sahi-home>/userdata/config/browser_types.xml

    Regards
    Sumitra
  • Sumitra,

    PFB the browser_type xml:


    - <browserType>
    <name>firefox</name>
    <displayName>Firefox</displayName>
    <icon>firefox.png</icon>
    <path>$ProgramFiles\Mozilla Firefox\firefox.exe</path>
    <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
    <processName>firefox.exe</processName>
    <capacity>5</capacity>
    </browserType>
    - <browserType>
    <name>firefox4</name>
    <displayName>Firefox 4</displayName>
    <icon>firefox.png</icon>
    <path>$ProgramFiles\Mozilla Firefox 4.0 Beta 7\firefox.exe</path>
    <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>
    <processName>firefox.exe</processName>
    <capacity>5</capacity>
    </browserType>

    Also I tried manually to change the proxy settings. Then it ask for my UserID and passwrod (company one) and when entered it again navigate to a errored page saying "The requested URL could not be retrieved".

    Regards
    Anurag
  • Hi Anurag Pandey,

    If there is an external proxy then please configure it by following this link:

    http://sahi.co.in/w/configuring-an-external-proxy

    Regards
    Sumitra.
  • Hi Anurag Pandey,

    Try to give full path of FF like Where FF installed in your system. I think it will work.

    Example : <path>C:\ProgramFiles\Mozilla Firefox\firefox.exe</path>

    Regards,
    Azhaguvel.A
Sign In or Register to comment.