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 do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab?
how can you select random value for every iteration from a weblist
What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.
What is the Risk Analysis? Waht types of risk analysis are there?
Can I import a excel sheet in Action1 datatable? How?
What is the extension of script and object repository files?
WHAT IS PARAMITARIZATION?
After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!
What are the different types of functions available in qtp and explain ?
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?
What is the difference between low level recording and virtual object.