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 Posted / 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 View All Answers
What are some test assets and related extensions of qtp?
How to export quicktest professional results to an .xls file?
Is it possible to call win runner script in qtp?
How to add synchronisation points in qtp?
Explain calling sub procedure.
What are the five challenges you faced in QTP?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
What is the use of sendkeys and what are send keys
What are the different types of qtp test assets and their extensions?
Who uses qtp tool?
how to disable the pop ups through QTP using a script
When to use descriptive programming?
What is Unicode Compatibility?
what is command for executing files?
what is test scheduleling?