Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - Write script for finding number of broken links in web page?




709
views
asked marvit January 12, 2015 02:30 AM  

Write script for finding number of broken links in web page?


           

1 Answers



 
answered By   0  

there are two ways for find the broken links in webpage

way1: using automatic page checkpoint

tools..>options.....>web advanced....> check the checkboxs labled creating the check box of webpages while recording and "broken links"

when we started the record, QTP automatically include the checkpoint for broken links in web page.

way2: by manually creating the page check point

for this we need to go for the standard check point, navigation is record....> insert....>check point....>standard check point....>place and click any where of the web page...>click ok

then one page will display with constant,links,load time like that in that below we will find broken links, check that broken links check box and after that run the above script for the check the results goto test results...>your check point

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert