Broken Links also sometimes called as dead links are those links on the web which are permanently unavailable. Commonly found, 404 error is one example of such link. Now the question is how can we identify broken links with the help of QTP during the run session?
There can be two ways to do this:
There can be two ways to do this:
- Using Automatic Page checkpoint.
- By manually creating a Page checkpoint.
Using Automatic Page checkpoint: Go to Tools > Options > Web > Advanced and check the two boxes labeled “Create a checkpoint for each page while recording” and “Broken Links”
Now every time you record a new page, QTP will automatically include a checkpoint for broken links.
By manually creating a Page checkpoint: QTP does not provide a direct menu option to incorporate a page checkpoint. You need to take the help of standard checkpoint. Start recording session > Insert > Checkpoint > Standard Checkpoint (OR press F12). Place and click the hand pointer anywhere on your web page. Select Page (As shown in picture below) and Click OK.
You will get the following screen:
Check “Broken Link” checkbox down below and click OK.
Now, how will you verify page checkpoint and hence broken links?
Run the above script. Go To Test Results > Your Check Point. Check the status of all links under “Broken Links Result”
If you want to verify links pointing only to the current host check the box titled “Broken Links- check only links to current host” under Tools > Options > Web. Similarly If you want to verify links pointing to other hosts as well, uncheck it.
Now every time you record a new page, QTP will automatically include a checkpoint for broken links.
By manually creating a Page checkpoint: QTP does not provide a direct menu option to incorporate a page checkpoint. You need to take the help of standard checkpoint. Start recording session > Insert > Checkpoint > Standard Checkpoint (OR press F12). Place and click the hand pointer anywhere on your web page. Select Page (As shown in picture below) and Click OK.
You will get the following screen:
Check “Broken Link” checkbox down below and click OK.
Now, how will you verify page checkpoint and hence broken links?
Run the above script. Go To Test Results > Your Check Point. Check the status of all links under “Broken Links Result”
If you want to verify links pointing only to the current host check the box titled “Broken Links- check only links to current host” under Tools > Options > Web. Similarly If you want to verify links pointing to other hosts as well, uncheck it.
Heya i am for the primary time here. I found this board and I
ReplyDeletefind It truly helpful & it helped me out much.
I'm hoping to give something again and help others such as you aided me.
My website; minecraft.net
Great article! This is the type of info that should be shared around the net.
ReplyDeleteShame on the seek engines for now not positioning this post upper!
Come on over and seek advice from my web site . Thank you =)
My web blog ... minecraft download
Hey just wanted to give you a brief heads up and let you know a few of the images aren't loading
ReplyDeletecorrectly. I'm not sure why but I think its a linking issue.
I've tried it in two different web browsers and
both show the same results.
Have a look at my web site :: minecraft game
Thanks to my father who stated to me concerning this
ReplyDeletewebsite, this weblog is truly amazing.
Feel free to surf to my blog post; quest Bars
Thanks a bunch for sharing this with all people you really
ReplyDeleterecognize what you're speaking approximately! Bookmarked.
Kindly also talk over with my web site =). We could have a link trade contract among us
Look into my web page; Quest Bars
I think this is among the most important information for me.
ReplyDeleteAnd i am glad reading your article. But wanna remark on some general things, The site style
is great, the articles is really excellent : D. Good job, cheers
Have a look at my webpage; Where To Buy Cheap Quest Bars
Wow, amazing blog layout! How long have you been blogging for?
ReplyDeleteyou made blogging look easy. The overall look of your
web site is great, as well as the content! Quest Bars blogesaurus
Look into my webpage - quest bars free sample
Hey very nice site!! Guy .. Excellent .. Wonderful .. I'll
ReplyDeletebookmark your blog and take the feeds additionally? I am happy
to seek out numerous helpful info right here within the publish, we need work out
extra techniques in this regard, thanks for sharing. .
. . . .
My weblog ... Diet Plans for Women to Lose Weight
Every weekend i used to pay a quick visit this site, for the reason that
ReplyDeletei want enjoyment, for the reason that this this web site conations actually pleasant funny
stuff too.
My blog post - Diet Plans for Women to Lose Weight