Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More QTP Interview Questions

how to idetfy which test cases are automated?who will deside that plz tell me

0 Answers  


how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes

4 Answers   STC,


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?

7 Answers   Accenture,


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

8 Answers  


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

0 Answers   IGI,


What is the concept of firewalls?

2 Answers   CTS,


Flight reservation using input and output parameter script.

1 Answers  


Give the syntax to import/export xls into qtp.

0 Answers  


What is Reusable component is QTP...Anybody can answer it..Thanks in advance...

8 Answers   Siemens,


How does QTP identifies the object in the application?

1 Answers   Crea,


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

0 Answers  


Use of Multiple Actions in QTP?

3 Answers  


Categories