Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain the concept of object repository and how qtp recognises objects?

1035


what is the difference between the modular framework and datadriven frame work

2477


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2592


What are the factors on which script execution time is dependent?

1068


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

2303


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1750


How to use conditional loops in qtp ?

1054


What is quicktest professional (qtp)?

1041


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

2039


Through array we can execute the testcase how ? give me example

1887


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

2229


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

2005


How will you compare keyword and expert view?

935


How many types of Automation frameworks are there in UFT? Describe them.

1024


what is meant by Implicit and explicit requirements?

4103