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


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp? Which will be used when?

548


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1475


What is the standard timing delay for web based application in qtp?

586


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1458


How many types of status are there?

585






Explain the difference between check point and output value?

492


is it possible to add sheets to excel at runtime

3233


how can i call function (which has link with excell sheet at a remote location) within another function

1573


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1516


What are the main differences of qtp and win runner?

595


How can i check items sorted or not in a weblist ? Give me the script for this...

1576


To which environments does quicktest professional supports?

535


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2793


How to creating an output value using quicktest professional?

541


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1604