Can anyone explain me about child objects in detail;when
they are used and why do we need them ? please give me
sample code for this if possible.



Can anyone explain me about child objects in detail;when they are used and why do we need them ? p..

Answer / babu

Child objects method will be used to find the number of
objects in a particular page, frame etc ..
We can use this child objects method as follows:

Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set Lists = Browser("Login").Page("Application").Frame
("folderFrame").ChildObjects(oDesc)
NumberOfLists = Lists.Count()
msgbox NumberOfLists

By using above statements, you can find the links available
in the frame "folderframe".

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More QTP Interview Questions

What are the differences between QTP 9.2 and 10? please explain e indetail......

2 Answers   Wipro,


Tell me the QTP Advantages and Disadvatages ?

6 Answers   Accenture, CTS, GE,


list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc

2 Answers   CTS,


What is the synchronization point in qtp?

0 Answers  


How to retrieve particular cell data in excel sheet ?without importing method.

3 Answers  






Apart from VB script What are the fundamental criteria to gain the knowledge to write QTP script without OR and recording ?

2 Answers  


what is the diffrence between script and Language ? (Chandana)

6 Answers   Cognizant, Wipro,


if our qtp vb Script may be Currepted then What we want do?

0 Answers   IBM,


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously?

2 Answers   Wipro,


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1 Answers  


How you are developing the script? Using record and play back or manual?

0 Answers  


Categories