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


Please Help Members By Posting Answers For Below Questions

What is different command used in command Prompt while using QTP?

1735


What are the challenges u faced in testing with crm domain? How u overcome with?

1477


How do you convert manual test cases to automated test cases?

571


Does Low-level recording capture mouse movements?

578


What is the difference between analog and low level recording?

606






How can get count of list box?

629


Explain the views in the QTP GUI?

610


What is QTP scenario.

1718


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1266


How can you give wait up to 10 seconds in qtp?

582


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

5497


Why do we use breakpoints in QTP?

569


What are the types of object repository?

568


if numbers are always changing write a script for that

3368


How many tabs are available to view your test in a test pane and what are they?

553