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
How to handle dynamic objects in quicktest professional (qtp)?
What is system testing and what are the different types of tests you perform in system testing?
what is meant by Implicit and explicit requirements?
How many ways we can parameterize data in quicktest professional?
What is a checkpoint? How many check points are there in qtp?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
Difference between action & Reusable action?
what is ODC and GDC?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
What are the advantages of Object Repository?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What are the recording modes in wave event?
Write a QTP script to enter a keyword in to Google search engine?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Is the qtp course will help to create a virtual object?