write script for finding number of broken links in web page?
kindly please answer my question.
Answer Posted / pramila
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.
OR
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 from "Object selection-
CheckPoints Properties" window click OK it takes you to
"Page checkpoints Properties" where in click on 'Broken
Links" option.
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 | 2 No |
Post New Answer View All Answers
What are table and db checkpoints?
What is the difference between local and shared object repository in qtp?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Explain hybrid framework with advantages and disadvantages?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
What are the main differences of qtp and win runner?
Your roles and responsibilities and daily tasks? (As automation tester)
What is the pros and cons between QTP and Rational Robot
images are dynamically changes how to compare two images with out using the bitmap
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
How does you pass optional arguments in qtp?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
What ate the Technologies supported by QTP?
What are advantages of test automation?
desribe a situation where u faced a stressful situation and how did u cope with it