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 |
What is test harness?
Can we create a qtp test from qc?
Is there anyway to have QTP go into a website and map out every object before I actually record any tests? I basically want to map out a website with all the objects and build a complete repository. The reason is because I'm running into issues with hierarcical objects. for example: Browser("ABC company- Home").Page("ABC company - Home").Link ("About Us").Click Browser("ABC company - Page 2").Page("ABC company - Page 2").Link("About Us").Click Both these links ("objects" and I use that term loosely as I'm trained mostly in OO programming) go to the same place but but the object heirarchies (pages) are different. I want a repository that will find any possible link on any possible page without having to manually record it. Is there a way to do this?
What is API
Name the different types of recording modes?
can u expect, major bugs in NET BANKING Project? Modules Transaction Module, Customer Relation Module.
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" ar = Window("Flight Reservation").WinComboBox("Fly From:").GetContent your actual value is : that shows data in combo box how can u test the both data is correct or not by using split function
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?
What is a Web Table?
What are the Levels of Automation in QTP
It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???
images are dynamically changes how to compare two images with out using the bitmap