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

Unable to parameterize URL

3 Answers 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hima Sailaja
Top achievements
Rank 1
Hima Sailaja asked on 03 Mar 2010, 11:00 AM
Dear Team,
I am trying to automate popup Url's in my application. While running application it is throwing time out exception.
please help me to resolve this issue.
Thanks in advance
sailaja

3 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 03 Mar 2010, 03:33 PM
Hi sailaja hima,

In your screenshot I see that the URL for the popup contains a long and complicated query string. Is any part of this query string (or even the URL) variable in anyway? For example, sometimes the query string contains things like a session ID, or a timestamp or some other piece of information that almost randomly changes between recording and test execution.

If this is happening, you can solve it by modifying the URL property of the Connect to Popup test step in order to make a partial matching URL. You do this by

  • Deleting the query string from the URL (everything after the ? character, including the ? character)
  • Adding a '~' in front of the URL.

When you do this, the test will look for a popup containing that string in the URL instead of trying to do an exact match. I've attached a screenshot as an example.

All the best,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Hima Sailaja
Top achievements
Rank 1
answered on 05 Mar 2010, 05:43 AM
Dear Team,
Thanks for the solution.
But your solution is partly work in my application, i am unable to connect a popup, as per sceernshot.
But able to close the popup, By adding continue on failure i am able close my popup

please suggest me, how to handle this propble

thanks in advance
sailaja
0
Cody
Telerik team
answered on 05 Mar 2010, 03:48 PM
Hello sailaja hima,

Something unusual must be going on with that particular popup. Let's look at it together as part of our live meeting we're setting up on Monday.

Best wishes,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Hima Sailaja
Top achievements
Rank 1
Answers by
Cody
Telerik team
Hima Sailaja
Top achievements
Rank 1
Share this question
or