give the code to count child objects (Total) in the page



give the code to count child objects (Total) in the page..

Answer / alok

Set var=Browser("...").Page("...").ChildObjects
var1=var.count
msgbox var1

Regards
Alok
er.qtptester@gmail.com

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More QTP Interview Questions

what is main diff of qtp8.2 and qtp9.0?

1 Answers   Covansys,


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

0 Answers   Value Labs,


How does QTP identify an object?

0 Answers  


When and why to use descriptive programming?

0 Answers  


in process of project exaplnation the defects are says frequently r not?

1 Answers  






how to count spaces in a given string ex: "this is jagadeesh" in QTP with simple functional script

5 Answers   Cap Gemini,


when do we write a script in qtp?(plz give me more then 2 reasons)

1 Answers  


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

2 Answers  


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

0 Answers   IBM,


what is standalone database

1 Answers   Wipro,


What is time parameter?

1 Answers  


Does QTP support flat files? If yes what are those?

2 Answers  


Categories