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

You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?

2 Answers   PanTerra,


There are 3 types of frame works in QTP 1. Linear frame work 2. Modular frame work 3. Key word driven frame work. Can any body explain the above 3 frame work models. y2k_ram2000@yahoo.com

6 Answers   Fidelity, GDS, IBM, TCS, Wipro,


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

0 Answers  


Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?

1 Answers  


After running scripts how you report results ,there is any specific report form

1 Answers  


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

0 Answers  


hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.

3 Answers  


How to check the value for variables during run time. Pls anybody can give the answer.. Thanks in advance...

4 Answers   Navis,


Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.

1 Answers  


how to write xml output check point bu useing descriptive programing .means without useing output check point

0 Answers  


What is the Limitations of Testing ?

4 Answers   TCS,


How does QTP identifies the object in the application?

1 Answers   Crea,


Categories