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 the features of quick test pro(qtp)?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
describe some problems that u had with automating testing tool?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Explain about the test fusion report of quicktest professional?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
diff between qtp versions from 8.5
How to data driven test for Win objects in QTP ?
why text area checkpoints cannot used for web applications
What is the syntax to call one action in another?
What is throw Object?
what is the difference between development and testing