While recording a login window QTP is identifying only
parent window,then how can u identify the child objects.

Answers were Sorted based on User's Feedback



While recording a login window QTP is identifying only parent window,then how can u identify the ch..

Answer / 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

While recording a login window QTP is identifying only parent window,then how can u identify the ch..

Answer / sukanya

I hope You have Checked in the second radio button that
says capture parent & child Object sentirely after you add
the Object Repository.

Hope This should do

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the difference between Call to Action and Copy Action?

2 Answers   Satyam,


Explain the features of quick test pro(qtp)?

0 Answers  


1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.

2 Answers  


In qtp, explain what is keyword driven automation framework?

0 Answers  


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

0 Answers  






Definationions for keyword view and tree view?

1 Answers  


your coming from electrical backgroung..but y ur coming to software side?

0 Answers   Accenture,


what is Supplemental Objects ?

0 Answers  


give me descriptive programing code sample flight application in qtp?

8 Answers   CA, IBM,


Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.

1 Answers  


how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?

3 Answers   HCL,


What does it mean when a check point is in red color? What do you do?

0 Answers  


Categories