How to check the web application for broken links using QTP?

Showing Answers 1 - 15 of 15 Answers

vidyasagarelluru

  • Sep 22nd, 2006
 

we can test web application's broken links by adapting the concept of accessibility check point

with rgds

sagar

  Was this answer useful?  Yes

kishore

  • Sep 28th, 2006
 

hi

For checking brokrn links u have to go for page level we have to create a check point.

and accesscability check point is not for this,it is used for the when ever a hidden objects or images that they are returning to another page for that purpose we would go to Accesscability check point.

regards,

Kishore

  Was this answer useful?  Yes

sandeep

  • Oct 2nd, 2006
 

QuickTest Professional is not designed to do this automatically. You can create a customized script to do this. Here is an example of some code to get you started: 'This code will get all the text links from a page. ------------------------------------------------------------------set obj = Browser("WindowName").Object.Documentset linkCollection = obj.Links'msgbox linkCollection.lengthFor each Element in linkCollection ' make changes here to check the links if they are valid or not. temp = Element.outerText Reporter.ReportEvent 0, "Links", "Names of these links: ---"& temp &"---"Next

  Was this answer useful?  Yes

Sana Harinadha Reddy

  • Oct 7th, 2006
 

In the tools -> optings -> select web tab -> select the broker links check point.

  Was this answer useful?  Yes

Bharathi

  • Dec 22nd, 2006
 

Use the foll option,

tools menu->options->web tab->click on Advance button, select the broken links options

Then record a script, a checkpoint will be created automatically @ record time

  Was this answer useful?  Yes

bhanu

  • Oct 31st, 2007
 

I have tried through accessability check point but I didn't get the count of the broken links etc using QTP but with rational site checker, I got that count upon entering the url name.
How to do link checking using qtp

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions