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 |
i have to pass the testcases into userid anf password of gmail login page using functions you can take your own testcaseslike userdid should take only lowerletters it should not take special charactors and uppercase letters and password should take only numericvalues it should not take alphanumeric and alphabets
Hi experts. I want to create a framework for the Flight Reservation sample application.Can anybody tell me the files and the contents , and how to create them.Thanks
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
How to identify 2 versions of browsers based on regular expression
How to handle dynamic objects in quicktest professional (qtp)?
What is keyword view?
Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?
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?
What is Expert view?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
How can we make a shared object repository in QTP 9?
3 Answers Kanbay, Ordain Solutions,
what is keyword driven testing