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
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Explain the differences between table and db checkpoints?
How many add-ins comes by default with quicktest professional?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What are some test assets and related extensions of qtp?
How many types of actions are there in quicktest professional (qtp)?
What is meant by Output Value in UFT?
what is meant by source control?
What is difference in global and action sheet in qtp?
What are the Test design techniques you uses in ur project?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
how to explain a claims and insurance project?
How the exception handling can be done using quicktest professional (qtp)?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
How to creating an output value using quicktest professional (qtp)?