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 use sahi in IE 8

Rajesh2001Rajesh2001 Members
edited November -1 in Sahi - Open Source
Hi,
I am not able to use the sahi cntroller in IE 8. Working fine with Firefox.

I also cehcked the source if /_s_/spr/concat.js exists.

It does not .

Help me out on what to do ?

Comments

  • narayannarayan Administrators
    Hi Rajesh,

    It is mostly because you are accessing your website using localhost. Instead use your machine name.
    Also have a look at this: http://sahi.co.in/w/help-the-sahi-controller-does-not-come-up

    Regards,
    Narayan
  • Rajesh2001Rajesh2001 Members
    edited August 2009
    Hi Narayan,

    i tried setting my machine name . But still it is not working.
    When i used it in my machine with IE 6 this is working .
    But not for IE 8 .
    Can you help me with this

    Also tried an application from my local machine using http:\\localhost:8080
    Sahi controller is not invoked when clicking ctrl+alt+dbl click

    Any settings that needs to be changed ?
  • Hi Narayan

    I have configured Sahi tow ork for my Local Application which is run in my PC.

    But when i do a play back i am getting the following error

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sour
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.
    at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequ
    sor.java:42)
    at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.jav
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:79)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at net.sf.sahi.command.Player.getCurrentStep(Player.java:125)
    ... 9 more

    can you help me on this
  • narayannarayan Administrators
    http:\\localhost:8080 will not work. You have to use it as http:\\mymachinename:8080 Is that what you did?

    Ignore the second error you reported, or stop the proxy, close browsers and then restart.

    If you are unable to get it working, call me on 98809 65555 and I will help you out.

    Regards,
    Narayan
  • Here is a simple workaround if you need to run your scripts on different machines without changing the host name each time.

    Problem :
    IE just does not send requests sent to localhost through a proxy even if you have configured a proxy in IE.

    Solution :
    User somesite.com instead of localhost.
    Some kind soul has registered the host somesite.com to IP 127.0.0.1

    Please note that your DNS server should be able to resolve external IPs.
    If your DNS does not resolve hosts outside your organization this workaround will not work.
    To check just "ping google.com" and see if you get a response.

    Source :
    http://stackoverflow.com/questions/958504/redirect-localhost-through-proxy
Sign In or Register to comment.