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
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
How can you identify the browser and its information using QTP script?
Sql questions to find second max salary and how to use joins
How to customize qtp?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
What is a Patch in QTP?
Can I change properties of a test object?
What is the pros and cons between QTP and Rational Robot
explain keyword driven framework with banking domain?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
What is the difference between call to existing action and copy of an action?