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 get Links count in an web application,without
descriptive programming?

Answer Posted / raghava

Hi guys
Here we have to use the description object.Its working with
me.Just try it out.



Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Lists = Browser("Google").Page("Google").ChildObjects
(oDesc)
NumberOfLists = Lists.Count()
linkcnt = 0
For i = 0 To NumberOfLists - 1
linkcnt = linkcnt+1

Next
msgbox linkcnt

Regards
raghava

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1946


write the vb script for call to new action in qtp?

2254


How many types of actions are there in quicktest professional (qtp)?

944


terminal services client

2202


Explain the use of action split in qtp?

1067


What are main panes available in qtp test browser?

943


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1861


How do Parameterization and Data-Driving relate to each other in QTP?

1028


after click on compose mail how can we attached a file in qtp with vbscript code

2138


How many types of parameters are there?

957


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1968


What is standalone database?

2235


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

1668


How do I get the QTP scripts result in xml format by using vb script function?

2229


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1992