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 |
How to test results for qtp ?
What are the different types of recording modes?
How to invoke QTP through VBscript?Send me full code along with description of the code.Thanks in Advance
who is developed QTP ? is it from Mecury or HP
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
How to Map network drive in QTP
How to create configuration scripts
In where you are keeping or maintaining shared object repository (file)in your appliction?
hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
When using descriptive programming?
Explain hybrid framework with advantages and disadvantages?