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
What are the different properties of an web object
Generic function to search for the unique link in webtable and click on it
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
Explain hybrid framework with advantages and disadvantages?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
What is a programmatic description?
Have you faced any problems with object repository?
Does QTP run in any environment?
how to test load test and block box testing an a web based application pls give ans briefly
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is smart identification in QTP?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
Have you used xml check point in your project? How?
Hi All, How to Compare two strings character by character in QTP
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?