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 to find the number the number of Links, Brolken Links
in a webpage?

Answer Posted / rayudu

By using childobject method


Set linkDescObj=description.Create()
linkDescObj("micclass").value="Link"
Set Links=browser("Gmail: Email from Google").Page("Gmail -
Inbox -srikrishna").ChildObjects(linkDescObj)
NoOfLinks=Links.count()
msgbox NoOfLinks
For i=0 to NoOfLinks-1
linkName=Links(i).getROProperty("name")
msgbox linkName
Next

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does quicktest professional (qtp) is unicode compatible?

1073


Can you brief the hurdles you faced during Automation testing?

1111


How to execute a winrunner script in quicktest professional?

1080


What are the technics follow in writing VB script?

2021


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1939


What are table and db checkpoints?

1123


what are the limitations of smart identification in qtp 9.0

2422


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3952


How do you perform Regreession Testing?

2000


What are the general steps involved in the data driven framework?

1081


What are the views available in quicktest professional?

1076


How to delete an object from the object repository?

1154


The hybrid framework can be implemented for any application. Is it true?

1210


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

1142


How can you exit from an action?

1105