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 |
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)?
how can i count the number of links???
UFT 12.02 which ALM version will support
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
what is descriptive.create()in qtp?
Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs like 'Tab ,F7 etc' and also mouse (Click). After recording when i am running the Script ,it is not able to recognize the keyboard inputs like F7,Tab and mouse Click because of which either i have to skip that part or manually do the inputs. Please answer how can i make script more flexible so that it will recognize both keyboard and mouse operations.
What are the types of properties that quick test learns while recording?
What are they Advantages and Disadvantages in QTP 9.2?
If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
Error handling
How many actions we can create with in a test?