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

verifying a URL in an IFrame

3 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 30 May 2013, 05:46 PM
I have an IFrame on a page in a website I'm testing.  My client wants to verify the URL the data is being pulled from is not changing because it is admin-able and there are several similar URLs that could be feeding data to the IFrame depending on setup.  Is there any way in the Test Studio tool to verify the URL in an IFrame?

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 31 May 2013, 01:46 PM
Hi James,

The iframe is actually a browser in the context of our framework, so you should be able get the URL of the frame using the URL property of the Browser class. See this video for a quick demonstration. 

You can also create an advanced verification against the 'Src' attribute of the frame as seen in this video.

Let me know if you need further assistance on this.

Regards,
Plamen
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
0
James
Top achievements
Rank 1
answered on 31 May 2013, 02:00 PM
That is exactly what I was looking for.  Thank you.
0
Plamen
Telerik team
answered on 31 May 2013, 02:45 PM
Hi James,

You're welcome! Please contact us again if you have further questions.

Regards,
Plamen
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
Tags
General Discussions
Asked by
James
Top achievements
Rank 1
Answers by
Plamen
Telerik team
James
Top achievements
Rank 1
Share this question
or