06-07-2011, 08:04 PM
Hi Guys,
Can you please help me by providing examples for these methods?
1.GetTOProperty
2.GetROProperty
3.GetTOProperties
4.GetROProperties
Note: Please do not give example which will retrieve the value of the property in the way of messagebox.
I need to get those property values (Prior to run and After Run) in test results instead.
Explaining my scenario:
I need the same but instead of msgbox showing the property values, need those values in test results.
Any help on this much appreciated.
Thanks
MSB
Can you please help me by providing examples for these methods?
1.GetTOProperty
2.GetROProperty
3.GetTOProperties
4.GetROProperties
Note: Please do not give example which will retrieve the value of the property in the way of messagebox.
I need to get those property values (Prior to run and After Run) in test results instead.
Explaining my scenario:
Code:
Dialog("Login").Activate
a = Dialog("Login").WinEdit("Agent Name:").GetTOProperty("text")
msgbox ("Test Object Property for Text is: ") &a
Dialog("Login").WinEdit("Agent Name:").Set "YourName"
b = Dialog("Login").WinEdit("Agent Name:").GetROProperty("text")
msgbox ("Run Time Object Property for Text is: ") &b
I need the same but instead of msgbox showing the property values, need those values in test results.
Any help on this much appreciated.
Thanks
MSB