What is the difference between gettoproperty and
settoproperty?Explain with an example?
Answer Posted / brinda
GetToProperty:
eg: a=window("Flight Reservation").WinRadioButton
("Business").GetToProperty("checked")
msgbox a
SetTOProperty:
Suppose in first build, it was "OK" button and now in the
modified buit it is "Yes" button.
you need to change the button name.
window("-----").WinButton("OK").SetTOProperty "Text", "Yes"
This will change the button name to "Yes".
Hope this helps....
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
How many types of parameters are available in quicktest professional?
Diff b/w test scenario's and test Procedures?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
What is action split and the purpose of using this in qtp?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
What are the differences between table and db checkpoints?
Without using gui map editor we can recognize the application in winrunner ?
How to use actions in qtp ?
Is it possible to merge two object repository files in qtp?
what is description object?
Please guide me release notes of Automation once scripts are completed
explain abt dyanamic changing object with example?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.