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
what is command for executing files?
How u execute test cases in manual testing?
what are SetToProperty, SetROProperty,GetToproperty scripting?
Hello Friends, I am working with QTP 9.2 descriptive programming. Can you please let me know how to work with below. Browser is IE, for my site, it opens another page with different browser name, For example Parent Page is google.com and child page is inteview questions. How to work with this second page.
Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?
What are the features and benefits of Quick Test Pro(QTP)?
now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH
What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven?
How we can add actions in the test using QTP?
what is the main process in QTP?
How u do the back end testing in QTP?
hi study this carefully,WHO ARE TEACHING WITH THE HELP OF FLIGHT RESERVATION WINDOW...THOSE FACULTIES ARE VERY BAD...BUT WHO ARE TELLING WITH PROJECT ORIENTED MEANS(NOT FR WINDOW) DIRECTLY OPEN THE BANK WEB PAGES OR ANY OTHER REAL TIME WEB PAGES... BASED ON THAT WEB PAGES, FACULTY TEACH, IN THIS WEB PAGE WHEN UR USING QTP , WHEN UR USING MANUAL... WHERE UR WRITING THE SCRIPTS FOR THIS WEB PAGE.. .LIKE THIS ................THIS IS THE TEACHING FORMAT FOR QTP... 1ST U FIND OUT WHO IS FOLLOWING THIS TYPE OF FORMAT THOSE PEOPLES ARE .BEST FACULTIES AND JOIN THAT INST. THIS IS 100 % TRUEEEEEEEEEEEEE REMEMBER IT........ NOW ONWADS U HATE FLIGHT RESERVATION WINDOW ONLY REAL TIME WEB PAGES........... THAN KU