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
which type of testing process are you following in ur company? how to recognize a qtp page?
How many number of actions possible in qtp?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
What is checkpoint in qtp?
Is the qtp course will help to create a virtual object?
What are the steps involved in the recovery scenario wizard?
What are the general steps involved in the data driven framework?
How to use actions in qtp ?
How many types of recording facility are available in quicktest professional (qtp)?
Hi All, I need code for how to execute qtp scripts from excell sheet
By using QTP can we record any log files written by the application which is in execution?
Explain the qtp test phases.
what are the challenges you have faced while testing web based application using the automation tools ?
can u please explain what is the exact difference between qtp8.2 and 9.0
How qtp identifies objects?