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

when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.

5 Answers  


write code to read and write data from file?

1 Answers   IBM,


Syntax for how to call one script from another and Syntax to call one "Action" in another?

1 Answers   Crea,


Why bpt?

0 Answers  


What is ObjectParamater?

0 Answers   CTS,






what will be there in keyword view and expert view?

2 Answers  


how and what kind of vb functions do us ein QTP?

2 Answers   Ordain Solutions,


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

0 Answers   Intel, Satyam,


WHAT IS ENVIRONMENT VARIABLES?

7 Answers   AZTEC, CTS, Ready Test Go,


What is the difference between client server application and web based application?

3 Answers   IBM,


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


What is object & properties (in QTP)

5 Answers   Ordain Solutions,


Categories