Using Test Studio what is the best way to check for dead links on a page please.
Using code and just using the tools available to test studio.
1 Answer, 1 is accepted
answered on 24 Oct 2012, 04:06 PM
First I apologize for the delay getting back to you on this question.
I have to be honest and admit that Test Studio is not the best tool to use for testing/validating the links your website contains. There are other better tools out there on the market specifically designed to address this testing problem.
To do it in Test Studio will require writing some code. The basic approach would be something like this:
Step 1 - Navigate to a specific page of your web site
Step 2 - Run a coded step that
a) Locates all links contained on the page
b) Makes an HTTP Web Request to the href of the link
c) Looks at the response to validate it (it's not a 404 or other error response
d) Reports a list of dead links for that page
This will need to be repeated for every page of your website. Step 2 could be put into a common function that is repeatedly called after each unique Navigate step for each page of your website.
If you want to pursue the code path let me know and we can assist you implementing it.
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.