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
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 |
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 |
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.
write code to read and write data from file?
Syntax for how to call one script from another and Syntax to call one "Action" in another?
Why bpt?
What is ObjectParamater?
what will be there in keyword view and expert view?
how and what kind of vb functions do us ein QTP?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
WHAT IS ENVIRONMENT VARIABLES?
7 Answers AZTEC, CTS, Ready Test Go,
What is the difference between client server application and web based application?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
What is object & properties (in QTP)