verifying a URL in an IFrame

4 posts, 0 answers
  1. James
    James avatar
    7 posts
    Member since:
    Aug 2011

    Posted 30 May 2013 Link to this post

    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?
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 31 May 2013 Link to this post

    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!
  3. James
    James avatar
    7 posts
    Member since:
    Aug 2011

    Posted 31 May 2013 Link to this post

    That is exactly what I was looking for.  Thank you.
  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 31 May 2013 Link to this post

    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!
Back to Top