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 |
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
how to parameterise a test with data base table or excel sheet?
Describe how Smart Identification is used
What is test fusion report?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
write script for how to add function library in QTP
Is manual Testing replacement of automation testing?Which types of testing we can not do in automation testing but can do in manual testing?
With out using the task manager,how to close the application using vbscript and what is the statement?
what is Compile Module in QTP? what exactly it contains Functions or Actions?
why you have standardized functions? plzzz guys with real time exp. do answer
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji