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 is different command used in command Prompt while using QTP?
What are the challenges u faced in testing with crm domain? How u overcome with?
How do you convert manual test cases to automated test cases?
Does Low-level recording capture mouse movements?
What is the difference between analog and low level recording?
How can get count of list box?
Explain the views in the QTP GUI?
What is QTP scenario.
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
How can you give wait up to 10 seconds in qtp?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Why do we use breakpoints in QTP?
What are the types of object repository?
if numbers are always changing write a script for that
How many tabs are available to view your test in a test pane and what are they?