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

How to automatically add "Wait For Url" for every step?

3 Answers 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adrienne
Top achievements
Rank 1
Adrienne asked on 25 Sep 2010, 07:59 AM
Hi,
I am testing all the urls for a web site, and after I click some link I need to add a step "Wait For Url" to test whether the link is right.
so I am wondering whether I can automaticall add a "Wait For Url" step for my every steps?if yes, how to do that?

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 27 Sep 2010, 07:03 PM
Hello Adrienne,

Currently we do not have the ability to automatically insert "Wait for URL" steps in your test. I will log this as a feature request.

I am curious, how many links are on this page that need to be verified? Another approach would be to write a coded step which would automatically find and walk all the links contained on the page, click on them and verify they go to the correct URL.

Or create a data bound test in which you use two columns in your data source. The first column would specify which link to click on and the second column would specify the URL it should lead to.

Sincerely yours,
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
test
Top achievements
Rank 1
answered on 29 Sep 2010, 10:00 AM
Hi,Telerik Team

so what's the API or method shall we use for capturing all the hyperlinks (urls )in the page if I want to make it coded step? Is that WebAii API? I am using QA edition.
0
Konstantin Petkov
Telerik team
answered on 30 Sep 2010, 07:48 AM
Hello,

Yes, you need to code your step using the framework API. It release depends on whether you're going to automate HTML or Silverlight but please check the following article and try the Find.AllBy methods:

WebAii - Finding Page Elements

Greetings,
Konstantin Petkov
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
Adrienne
Top achievements
Rank 1
Answers by
Cody
Telerik team
test
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or