07-10-2009, 05:47 PM
Hi Rajesh,
We will use GetToProperty to see the property values that are there in the OR for the specified object.
For Eg:
Please let me know if you need any more info.
Thanks,
We will use GetToProperty to see the property values that are there in the OR for the specified object.
For Eg:
Code:
systemutil.Run("C:\Documents and Settings\kAG-Trainee\Desktop\calculator")
window("Calculator").WinButton("9").Click
'This will return the native class property value from OR for winbutton '9'.
msgbox Window("Calculator").WinButton("9").GetTOProperty("nativeclass")
window("Calculator").WinButton("+").Click
window("Calculator").WinButton("6").Click
window("Calculator").WinButton("=").Click
msgbox Window("Calculator").WinButton("2").GetTOProperty("nativeclass")
Thanks,