Dynamic URLs

2 posts, 0 answers
  1. Wit
    Wit avatar
    24 posts
    Member since:
    Jul 2010

    Posted 08 Mar 2011 Link to this post

    My website consists of dynamic pages which have URLs like /flights/rze/agp/110322/110329/airfares-from-rzeszow-to-malaga-in-march-2011.html
    When using recorder it creates elements on such page. When I click page I can see its properties. What is the page identification for?
    It doesn't seem to matter what I select there. When running data-driven tests I land on other pages like: /flights/krk/edi/110322/110329/airfares-from-rzeszow-to-malaga-in-march-2011.html and still test goes through fine. However I think identification of page should work somehow.

    How does it work actually?
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 11 Mar 2011 Link to this post

    Hi Wit,
       you're right. Grouping elements under pages is only for convenience. Test Studio doesn't actually consider on what page an element was recorder. When it needs an element, it always looks for it on the current page that's active in the browser.

    This implementation allows the use of the BaseURL feature:
    http://www.telerik.com/automated-testing-tools/support/kb/test-automation/running-a-test-against-multiple-urls-using-baseurl.aspx 

    Let me know if you have any other questions!

    Regards,
    Stoich
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top