Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieving GetTOProperty and GetROProperty
#1
Not Solved
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:

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
Reply
#2
Not Solved
you can try:
Code:
Reporter.reportevent micPass, "Object Property", a
Reporter.reportevent micPass, "Object Property", b
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Retrieving data from web table nsuresh316 1 3,120 03-03-2014, 08:29 AM
Last Post: basanth27
  Retrieving data from Txt file into datatable kriday 3 5,836 07-23-2013, 11:04 AM
Last Post: vinod123
  retrieving values of fields from a web page kordirko 0 2,513 10-24-2012, 04:01 AM
Last Post: kordirko
Smile How to Select GetROproperty value in GUI sangitarm 2 4,660 10-15-2012, 11:52 PM
Last Post: agarwl.anurag
  GetROProperty help mv8167 1 2,783 06-26-2012, 11:53 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)