This is a migrated thread and some comments may be shown as answers.

Test Studio - Unable to find element when they are in an iFrame

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hamza
Top achievements
Rank 1
Hamza asked on 21 Jul 2015, 04:16 PM

I am trying to create a UI test for an ASP.NET web site hosted in SharePoint 2010 using Test Studio. I am using WS2008 and IE10 for testing.
I am having a problem while getting element within an iFrame. This iFrame is created dynamically on click a link and loaded within a HTML page under the current page.

I think that the iFrame is not loaded in the DOM and this is why I am getting error while accessing elements in the iFrame.
Can you please provide me a way to access elements in the iFrame?

 PFB, the error I have got in the log file:
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure waiting for frane '[Frame:id=DlfFrame1bc2fae4-baa8-45e1-9331-88asdlaewrfkdj,name=Frame_2,src=http://contoso.com/_layouts/listform.aspx,UseQuery:False]' time out. Error: Wait for condition has timed out.

 Thank you in advance.

1 Answer, 1 is accepted

Sort by
-1
Boyan Boev
Telerik team
answered on 24 Jul 2015, 01:10 PM
Hello Hamza,

This is duplicate of ticket number 954797. 

Please let's continue the discussion there. 

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Hamza
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or