how you test broken link using the automated tool QTP ?
Answer Posted / deven mehta
There can be two ways to do this:
1.Using Automatic Page checkpoint.
2.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.
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.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain the types of object repository?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
Explain the concept of object repository and how quicktest professional recognises objects?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
your coming from electrical backgroung..but y ur coming to software side?
how many maximum number of virtual users we can create?
What is the significance of “action 0” in qtp?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Is it possible to use two instances of UFT on the same machine? If not why?
Can anybody post some real time scenario in qtp? please its very urgent.
what is stepin & stepout?
How does qtp identify the object in the application?
what are the utilities and drivers
Where we can use the synchronization?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?