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 |
What is the difference between Call to Action and Copy Action?
Explain the features of quick test pro(qtp)?
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.
In qtp, explain what is keyword driven automation framework?
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?
Definationions for keyword view and tree view?
your coming from electrical backgroung..but y ur coming to software side?
what is Supplemental Objects ?
give me descriptive programing code sample flight application in qtp?
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.
how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?
What does it mean when a check point is in red color? What do you do?