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.
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.
6 Answers, 1 is accepted
0
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
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
Test Studio Trainings
0
Jeff
Top achievements
Rank 1
answered on 30 May 2014, 10:34 PM
I am not using Test Studio with my old tests, I am using the testing framework with Visual Studio.
0
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:
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
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
Test Studio Trainings
0
Nahla
Top achievements
Rank 1
answered on 28 Sep 2015, 05:01 PM
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.
0
Dan
Top achievements
Rank 1
answered on 03 Feb 2016, 01:16 PM
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,
0
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
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
Test Studio Trainings