While recording a login window QTP is identifying only
parent window,then how can u identify the child objects.
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between run time object and test object in QTP?
what type of run time errors you get while you ar edoing rpg program?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
When and why to use descriptive programming?
How many types of recording modes in qtp? Which will be used when?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
How the exception handling can be done using quicktest professional (qtp)?
Without using gui map editor we can recognize the application in winrunner ?
What is data driver in qtp?
For which type of projects the iterative model is not suitable?
How do you configure QTP AND Test director?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.