Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetTOProperty
#1
Not Solved
Probably a very basic query but can someone tell me why when using objectspy I click on a :
Code:
Dialog("Microsoft Internet Explorer").Static.

the object spy lists all the TO methods I can presumably use?
some of them are the following:
GetTOProperty
GetTOProperties
GetROProperty
and so forth,

I need to get the text property from this Static object

But can't seem to be able to.

tried:
Code:
message = Browser("Browser").Dialog("Microsoft Internet Explorer").Static("staticmessage").GetTOProperty("text")

doesn't want to give me the text - checking with objectspy the propert is text and click on it I see the text i want, but setting a watch on the variable doesnt show the desired text.
Reply
#2
Not Solved
Use GetROProperty instead GetTOProperty
Reply
#3
Not Solved
Tried tha already, get a run time error.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Retrieving GetTOProperty and GetROProperty manmeet.singh81 1 6,461 06-08-2011, 12:01 PM
Last Post: Jay

Forum Jump:


Users browsing this thread: 1 Guest(s)