IFrame problem in IE11

7 posts, 0 answers
  1. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 27 May 2014 Link to this post

    I have a bunch of tests written using the free Telerik testing framework.  On the site I am testing I have to grab an iframe and set it to a browser object.  This used to work great when I was using IE9.  I upgraded to IE11 and can no longer grab my iframe.  None of my hundreds of tests will work unless I can set this iframe to a browser object.  Here is the line of code I am using that worked with IE9 but no longer works in IE11.

    Browser cw = ActiveBrowser.Frames["CwForm"];

    If anyone has a suggestion on how to fix this please help.  It is really important I get this resolved.
  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 30 May 2014 Link to this post

    Hello Jeff,

    Using the latest Test Studio and I have upgraded my IE to version 11 I am not able to reproduce this behavior. Please try upgrading to the latest version of TS as well to see how this will work for you.
    If you are still experiencing the behavior described we will need more information so we can successfully reproduce it on our end. A sample project or test demonstrating the behavior will be great. You can also provide us with the exception you are getting but we will definitely need a local repro.

    Thank you for your cooperation in advance.

    Looking forward to hearing from you. 

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Jeff
    Jeff avatar
    16 posts
    Member since:
    Sep 2013

    Posted 30 May 2014 in reply to Ivaylo Link to this post

    I am not using Test Studio with my old tests, I am using the testing framework with Visual Studio.
  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 03 Jun 2014 Link to this post

    Hello Jeff,

    I understand that you are not using Test Studio and using the Framework, but what I am saying is that with latest Test Studio I am not able to reproduce this behavior, and please note that Test Studio is running on top of the framework, so it should fail on my end.
    Not being able to reproduce this might be because of something specific in your application you are testing. Please try to use the following lines and see how this will work for you:

    ActiveBrowser.Frames.RefreshAllDomTrees();
    Browser cw = ActiveBrowser.Frames["CwForm"];


    If this doesn't help you can provide us with either a public repro so we can review further or with your test and access to the application you are testing.

    Thank you for your understanding and cooperation in advance.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. Nahla
    Nahla avatar
    7 posts
    Member since:
    Jun 2013

    Posted 28 Sep 2015 Link to this post

    Hello,  did you find a solution for this issue?  I am also encountering the same exact problem.  If you were able to solve it, can you please post your solution?  I am using test framework 2012.2.1527.0.

    Thanks.

  6. Dan
    Dan avatar
    2 posts
    Member since:
    Jan 2015

    Posted 03 Feb Link to this post

    I'm also having the same issue, the below works fine in chrome. But when trying in IE, it appears to be unable to find the frame

    Browser briefingFrame = ActiveBrowser.Frames[0];

    Any update at all ?

    Thanks,

  7. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 05 Feb Link to this post

    Hello,

    Are you also using version of Test Studio from 2012? If not it is very likely to experience a different issue. 

    You better submit a brand new ticket providing more details on the behavior as well as include a reliable repro so we can investigate further.

    Thank you for your understanding.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top