How do we Access, retriew and edit the runtime objects in
Automation Testing using QTP
Answers were Sorted based on User's Feedback
Answer / kumar
To access runtime objects we can use GETROProperty
and SETTOProperty to change the TESTOBJECT property in QTP.
Kumar.rnv@gmail.com
Broadridge
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nalini
We can access the runtime objects by its properties. Ex:
GetROProperty method
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
can anyone explain about the Descriptive programming in detail. I mean how to use in the script.
What does ".mst" stands for? (abc.mst)
I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?
What is the use of environment variables?
I am not finding pages and links in object spy on web testing. I am only getting window and winobject. where is the problem? thanks
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH
What is the basic concept of quicktest professional?
We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?
i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)
What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script?
1 Answers Brain Roots, Ordain Solutions,
How do I get the QTP scripts result in xml format by using vb script function?