How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP
Answer Posted / baba
We cannot edit runtime objects in Automation Testing, bcoz
Runtime objects means the Objects available in AUT,
we can only use the properties available for objects and we
can change the property/properties available in OR during
runtime by using SETTOPROPERTY
We can retrieve the property and its value by using
GetRoProperty
eg:
dialog("Login").Activate
dialog("Login").WinButton("OK").SetTOProperty "text","Cance"
print dialog("Login").WinButton("OK").GetROProperty("text")
it returns "Cance"
it is changing the property value during runtime.
please check it once in ur QTP
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is RTM (require ment tracebulity marix) fromate?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Is it possible to merge two object repository files in qtp?
how will you check how many members visited the website www.infosys.com?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
can test automation improve test effectiveness?
What are the trigger events in qtp?
How do client side image and server side image work?
Dis advantages of XML checkpoint ?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
Hi ,Can any one pleas explain how to test splash objects using QTP?
Which scripting language used by quicktest professional?