How to handle dynamic links
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2012
04:34 AM
10-18-2012
04:34 AM
How to handle dynamic links
Newbie to TestComplete!
Here is my case. My 'Event Scheduling' web app. contains three links as a part of footprint on top of the page, viz. Event Name, Event Scheduling, Event Summary. The last two are disabled till I save the Event Name.
During my Test Recording, when I click on the 'Event Scheduling' link to add date, time, and location for that Event, TestComplete captures that entire link which also includes a unique UID associated to that Event.
Now when I run the test to create a NEW event, TestComplete navigates to the earlier page because of the unique UID it embedded. This fails my test run!
Is there a way I can make TestComplete look for the text Event Scheduling and make it click there, so I can add date, time, and location for the NEW Event.
Hope I am clear. Thanks in advance!
Here is my case. My 'Event Scheduling' web app. contains three links as a part of footprint on top of the page, viz. Event Name, Event Scheduling, Event Summary. The last two are disabled till I save the Event Name.
During my Test Recording, when I click on the 'Event Scheduling' link to add date, time, and location for that Event, TestComplete captures that entire link which also includes a unique UID associated to that Event.
Now when I run the test to create a NEW event, TestComplete navigates to the earlier page because of the unique UID it embedded. This fails my test run!
Is there a way I can make TestComplete look for the text Event Scheduling and make it click there, so I can add date, time, and location for the NEW Event.
Hope I am clear. Thanks in advance!
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2012
09:38 PM
11-15-2012
09:38 PM
Hi Ranjit,
Have you watched this video demonstrating how to test dynamic objects in TestComplete? If the problem persists, could you please post here the differences among links you want to click so that we could clearly understand the task?
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
