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

CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?

6 Answers  


Explain the concept of object repository?

0 Answers  


what is smart identification?

7 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?

1 Answers   TCS,


What are they Advantages and Disadvantages in QTP 9.2?

1 Answers   Infotech,






What are output values and why they are used ?

0 Answers  


Explain types of descriptive programming?

0 Answers  


can u Give Procedure to Handle Pop Window & write Code for that

2 Answers   CTS,


what is Function Definition Generator? can any one explain me in details?

6 Answers   Accenture,


How to handle Run-time errors?

1 Answers   Crea,


what is meant by iterative model?What is its working principle?What are its advantages and what are its drawbacks?

2 Answers  


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


Categories