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...

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


Please Help Members By Posting Answers For Below Questions

What is Cross browser testing? Does UFT support it?

1204


If I change the object name in one action will it be updated in all the actions? Or not?

1117


What is the latest version of qtp?

1182


When Recovery scenario actually starts while testing the application?

2098


What is debugging? How you debug your script?

1244


Approach for Installation,comaptibility,system testing

2249


how do i know how to use tools

2051


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

2355


Can U Explain about QTP tool from older version to latest version also its differences?

2057


What are the different recording modes?

1032


what are the limitations of smart identification in qtp 9.0

2422


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

2128


How qtp recognizes the object?

1275


wt is the use of multiple questions in QTP

2191


Discuss the QTP Environment?

1099