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

How should i find out whether the cursor is moving horizantally. when tabbing continuously

2 Answers   Livetek,


What is difference between the For..Next and While..Wend statements?

2 Answers  


How to Set the Global Sync Timeouts in QTP?

2 Answers  


Hello Everybody, Please tell me can we create Test Plan in QTP? This I am asking irrespective to integrating with Test Director.I mean is there any option to create Test Plan in QTP itself. Thanks, Gaytri

4 Answers  


Expalin Text/Text Area Checkpoint

1 Answers   Crea,


How to export QTP results to an ".xls" file?

1 Answers  


how will load the object during runtime?

0 Answers  


What is the file extension of the code file and object repository file in QTP?

0 Answers  


now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH

1 Answers  


Can anyone please tell me how to select next 5th business date from calendar using QTP/UFT ?

1 Answers   Cigniti Technologies,


How to use transactions in qtp?

0 Answers  


In a WebTable 2nd row,3rd column contains one link and that link name is changing dynamically. How you will click the link?

1 Answers   Bank Of America,


Categories