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 |
what is the frame work in J-meter?
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
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?
How do you create regression test packs?
How can we get a textcheckpoint in QTP9.1?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
How are actions and functions different in QTP?
How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
Tell me about your project? please help me how to tell about insurance project