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

Dynamic URLs

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wit
Top achievements
Rank 1
Wit asked on 08 Mar 2011, 05:43 PM
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?

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 11 Mar 2011, 02:18 PM
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!
Tags
General Discussions
Asked by
Wit
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or