While recording a login window QTP is identifying only
parent window,then how can u identify the child objects.
Answer Posted / kishore
you can use "ChildObjects" method to to identify child
objects
for Eg:It will click on all child objects
Set oDesc = Description.Create()
oDesc("html tag").Value = "INPUT"
set hai=Browser("WinCraft2 - Enterprise_2").Page
("WinCraft2 - Enterprise").Frame("content").ChildObjects
(oDesc)
count1=hai.count()
msgbox hai1
For i=1 to count1
hai(2).click
Next
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are main panes available in qtp test browser?
What are the types of object repository in qtp?
What is the XML file architecture ?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
how will you load the test cases in ddt?
Can we create user defined functions in qtp?
What is the differences between image check point and bit map check point?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
How can you close the second opened browser?
what is object and child object.. explain ..if possible give some example for better understanding ..
Hybrid framework supports Descriptive programming. Is it true?
How many types of Automation frameworks are there in UFT? Describe them.
unique properties of button,edit box, radio button,check box?
How will you handle java tree in qtp?