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
Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.
pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?
Could you please explain me about QTP framework.
What is environment variable in qtp and why to use it?
can we create recorset with out using database connection in vbscript?
How u perform exception handling in QTp,what is other name for ths?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript for this...?
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.
What is a Web Table?
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)
how can we group that these test cases only should be automated and in which order you execute that test cases