Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

IE8 Recording not Working

I' new to Sahi, but like it - thanks.
Recording and Ctrl-hover work for Firefox and Chrome, but my IE8 does not work.
After clicking RECORD on the controller, I am able to browser to the URL I am testing and see it added to the test commands.

After this, no other actions on the site are recorder and ctrl-Hover does nothing.

Have you seen this before, anything to try?
I'm on Windows7 running IE 8.0.7600.16385

Thanks,
Steve

Comments

  • narayannarayan Administrators
    Hi Steve,

    Could you please delete IE browser cache and try again?

    Regards,
    Narayan
  • Hi Narayan,

    I am new to Sahi too. It looks promising.

    However, I am having the same problem with same type of machine/browser profile.

    I have tried your suggestion (clear cache) and still does not work. I am simply testing "google site" and putting "test" and press "Go". It records up to _navigate to google site but then it does not record anything. No errors on dashboard console as well.

    Do you know if that's known issue ?

    Thanks for your help in Advance.
  • Hi bhavin,

    Can you post the <browser_types.xml> contents for IE8 by navigating to
    <sahi-home>/userdata/config/browser_types.xml.

    Regards
    Sumitra
  • Hi Sumitra,

    Here you go...


    <browserType>
    <name>ie</name>
    <displayName>IE 8</displayName>
    <icon>ie.png</icon>
    <path>$ProgramFiles (x86)\Internet Explorer\iexplore.exe</path>
    <options>-noframemerging</options>
    <processName>iexplore.exe</processName>
    <useSystemProxy>true</useSystemProxy>
    <capacity>5</capacity>
    </browserType>


    I have also tried by switching 64 bit/ 32 bit IE version as my Windows 7 is 64 bit. I have done that by modifying the path to "$ProgramFiles\Internet Explorer\iexplore.exe". But it still does not work as explained before.

    Please let me know if you need more information. Thanks for looking into it.

    Bhavin
  • Hi bhavin,

    Can you please refresh or open the controller once again after you navigate to google page and check if you are able to identify the elements.

    Regards
    Sumitra
  • Hi,

    Thanks for that. After refreshing or opening the controller again. I have got it working. Now it record things fine.

    However, After doing that i tried to run the script in testrunner with IE8 and i have got the similar problem now with testrunner. It failed to run anything after going to initial page in my case google page. I am not getting any errors in sahi console as well.

    Any idea on why this is happening ?

    Thanks,
    Bhavin
  • Hi Bhavin,

    Can you post the contents of <browser-types> for IE8 by clicking on Configure on Dashboard.

    Regards
    Sumitra
  • Hi Sumitra,

    Here it is, it is same as i have posted before.

    <browserType>
    <name>ie</name>
    <displayName>IE 8</displayName>
    <icon>ie.png</icon>
    <path>$ProgramFiles (x86)\Internet Explorer\iexplore.exe</path>
    <options>-noframemerging</options>
    <processName>iexplore.exe</processName>
    <useSystemProxy>true</useSystemProxy>
    <capacity>5</capacity>
    </browserType>

    Thanks,
  • Hi bhavin,

    1) Does the Controller populate the Accessor field correctly if you hover over any element with the CTRL key pressed?
    2) Can you check if there's another iframe in the page?
    3)Also,check if it is in a different domain.
    4)Does the record work for other elements on the same page?

    Regards
    Sumitra
  • Hi Sumitra,

    Here is what you have requested.

    1. Yes
    2. There is no other iframe
    3. it is the same domain.
    4. None of the element work.

    Regards,

    Bhavin
  • Hi bhavin,

    Can you launch IE from Dashboard >> Click Help>> Click About Internet Explorer.

    Could you please send the screen shot of this to support@sahi.co.in.

    Also, can you perform document.body.innerHTML on the Contoller and send the HTML code of the page to support@sahi.co.in.

    Regards
    Sumitra
  • jknitojknito Members
    Hi,

    I think i found the problem...

    I can open the controller, but when press set button, set the correct url in the master window, but have a javascript error:

    SCRIPT5007: Unable to get value of the property 'top': object is null or undefined
    controller7.js, line 140 character 5

    function sahiOpener() {
    return window.top.opener._sahi.top();
    }

    this error only present in Internet Explorer
  • jknitojknito Members
    Hi, i really found the problem.

    Internet explorer dont use proxy on localhost url ( localhost, 127.0.0.1 )

    soo, if you try 127.0.0.1:8080/yourapp, this dont pass by sahi proxy

    solution:

    * add this line to /etc/hosts file :
    127.0.0.1 someone

    * after that: someone:8080/yourapp

    and... works!!!
  • Hi jknito

    That fix works. I can also use the hostname e.g. server1:8080/webapp

    I think its just a problem with using localhost:8080/webapp.

    Anyway many thanks - I've been stuck on this for ages.

    Sim
  • Dear All,
    I am having the same issue but the solution is not clear to follow , can come one please provide more clear actions to follow?
Sign In or Register to comment.