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 |
How many tables r created during the recording in QTP?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
Which Databases supports for QTP?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
what is vss and cvs what is main difference b/w these two
What is the architecture of your project? Can any one answer for this question plz........
what are the Common Problems in S/w development process
wt is the use of multiple questions in QTP
what frame work you are following?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)
I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?