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 |
Can we continue functionality testing without framework?
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
which command u will use to access the application through descriptive programing?
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
How to recognize and read data from pdf file using Descriptive Programming in QTP?
In QTP what is the difference between Step-in, Step-out, Step-over ?
How to map the test cases to requirements in QC?
What's Checkpoints for QTP?
For what purpose to we use object repository in a application?also explain usage of obj.repository?
What are the Test design techniques you uses in ur project?
How to use actions in qtp ?