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.
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 |
How to check and display a particular word from a paragraph?
How to count the no of objects in XML file(QTP)
I have a tool bar where 5 different buttons are placed, but these buttons are not traceable hence i have created a virtual object on save button of this toolbar. Now pls tell me how to use this virtual object while write script.
What is batch testing?
i have batch scripts in qtp and i want to update the status like pass/fail in excel sheet after excecuting the every script in batch.how to write the script for this?
How can we get a textcheckpoint in QTP9.1?
WHAT IS ENVIRONMENT VARIABLES?
Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
What is the difference in the global and action sheet in qtp?
What is data driver in qtp? Where we use it?
Whenever we use GETROPROPERTY function.