I need to obtain the parent of an object programatically, so
if I have:
winButton("aButton")
I need to obtain the parent part:
window("Window1").Dialog("Dialog1")
so I can programatically create a string of the full name of
the object to call it with an execute statement in QTP
I would like to use something like:
part[1] = "window(""Window1"")"
part[2] = "dialog(""Dialog1"")"
so I can do:
exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")"
Execute exeLine
Apart from keeping a record of the window/dialog hierarchy
is there a parent or path function/ command
Thanks
Adrian
No Answer is Posted For this Question
Be the First to Post Answer
how to idetfy which test cases are automated?who will deside that plz tell me
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes
Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
1. I have asked the same question for the third time, but i am getting wrong answers. Pls give me the script to count the number of edit boxes or checkboxes in an windows application screen. In windows application childobject is not working, anyone very urgent
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
What is the concept of firewalls?
Flight reservation using input and output parameter script.
Give the syntax to import/export xls into qtp.
What is Reusable component is QTP...Anybody can answer it..Thanks in advance...
How does QTP identifies the object in the application?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
Use of Multiple Actions in QTP?