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

What is the "Release Notes", what it cosists? Key components in Release Notes ?

2 Answers  


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

0 Answers  


How can you identify the browser and its information using QTP script?

0 Answers  


What are the different types of qtp test assets and their extensions?

0 Answers  


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

0 Answers   Infosys,


Explain Different types of Checkpoints in Quick Test Professional?

2 Answers   Crea,


Write a script to verify font style and color of a windows object using descriptive programming

0 Answers  


in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do

2 Answers  


Approach for Installation,comaptibility,system testing

0 Answers   Diebold,


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

1 Answers   IBM, INCA,


how we can know qtp has used smart identification machanism during the execution.

3 Answers   IBM,


if full in Object Repostoiory then how to load other Object Repository

2 Answers  


Categories