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.

Few Application Screens get dispappeared after setting Proxy browser

AmolAmol Members
edited June 2011 in Sahi - Open Source
Hi,
Currently I am facing a severe Issue in my Application URL while handling through sahi.

The Application URL Works Fine & Complete, But as soon as i set Proxy to the IE8 Browser, Few Screens are not displayed correctly. Some Frames gets disappear from the Screen.Thus displaying incomplete UI

Application is built in extjs Framework

Can anyone provide me the solution on how to tackle the above faced issue.

Comments

  • narayannarayan Administrators
    Is it a https website? If yes, and if you are using the open source version, make sure you accept all SSL certificates. (http://sahi.co.in/w/https-ssl)

    Regards,
    Narayan
  • AmolAmol Members
    Hi Narayan,
    it is an http site, not https
    Can you please provide me some work around on how to handle that issue.

    Thanks in advance
  • SumitraSumitra Members
    Hi Amol,

    Could you please share the URL.

    Thanks & Regards
    Sumitra
  • AmolAmol Members
    Hi Sumitra,
    I am not able to post the URL here, it is giving of some active members warning.

    Is there any other way or method for issue mentioned

    Thanks & Regards
    Amol
  • SumitraSumitra Members
    Hi Amol,

    Send the URL to : sumitra.m.n@sahi.co.in

    Regards
    Sumitra
  • AmolAmol Members
    i have e-mailed you.

    Thanks
    Amol
  • AmolAmol Members
    Hi Sumitra,
    Any update one mentioned issue ?
  • narayannarayan Administrators
    Hi Amol,

    The URL you had emailed us was an internal URL, which is not accessible to us.
    It looks like you may need to add some url patterns to exclude_inject.txt.
    Please have a look at the section "My AJAX pages do not render correctly when navigating through Sahi, or I get Javascript errors only when going through Sahi." in http://sahi.co.in/w/trouble-shooting-sahi
    Let us know what you find.

    Regards,
    Narayan
  • AmolAmol Members
    Hi narayan,
    Thanks for reply.
    yes I tried using exclude_inject , but sahi controller is not popped on that page as we are explicitly excluding it.
    Hence in order to automate that frame which is not visible on IE8 i tried other way.

    Our UI is working properly on Mozilla, , i did spying of all objects in mozilla link and then tried to execute that script on IE8 but it didn't worked.

    Does sahi works internally on IE7 ? As in IE browser \ Tools\ Developer tools\ Document mode, it is default been set to quirk mode or IE 7 mode once we set the proxy.

    BY anycase if we are able to set to Document mode as IE8 mode through sahi under Tools\ Developer tools\ Document mode then application works fine . But it last for only that session once we open new browser again it default set to IE7 or Quirk Mode

    I am trying my best to find solution or workaround for that handling that invisible IE screen.

    Your suggestions and solutions or workaround appreciated in advance

    Thanks
    Amol
  • narayannarayan Administrators
    Amol,

    Do not exclude inject that full page. You need to do that only some data requests. Revisit the exclude_inject or send us the traffic logs and we will tell you how to do it.

    Regards,
    Narayan
  • AmolAmol Members
    Hi narayan,
    For checking traffic logs, i added the code in sahi/userdata/config/userdata.properties but there is no traffic folder in user data/logs only playback folder was available hence i created the traffic folder and executed the script where it is getting stucked but i didn't found any logs over there.

    Also,
    i wanted to ask u whether the script which is recorded in mozilla does it run on IE because i did this but it dint worked for me,
    because my major intention is how to automate the screen which is not visible in IE8 after applying proxy to it.
  • SumitraSumitra Members
    Hi Amol,

    After you add the following code in Sahi/userdata/config/userdata.properties
    debug.traffic.log.unmodified=true 
    debug.traffic.log.modified=true
    

    Restart Sahi.

    Also, the scripts recorded in mozilla will run on IE.

    Regards
    Sumitra
  • AmolAmol Members
    Hi narayan,
    Thanks for your help provided to us.

    Now my application is working fine & displayed in IE8 mode only by injecting below code in inject_top
    <meta http-equiv="X-UA-Compatible" content="IE=8">

    And all scripts are been executed in both the browsers IE & FF without any issue.
This discussion has been closed.