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


Please Help Members By Posting Answers For Below Questions

What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

572


What are the benefits of qtp?

548


Hi All, I need code for how to execute qtp scripts from excell sheet

1455


explain how to write vb script in qtp?when will you write own script?

1851


What are the different ways to invoke an application using QTP?

639






How many types of recording modes are there?

588


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

648


How to build scripts that access data from external sources?

1598


How do you perform Regreession Testing?

1454


Have you faced any problems with object repository?

586


wht type of User defined functions or Java Releated functions do we write in VB scripting

1817


How do you capture tooltip using QTP?

628


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1410


Connect to QC using AOM.

1228


explain abt dyanamic changing object with example?

1895