What is the difference between GETTOPRPERTY AND GETROPROPERTY?

Showing Answers 1 - 1 of 1 Answers

raama_k

  • Jan 4th, 2008
 

hope the following example would shed some light....

msgbox browser("Google").Page("Google").WebEdit("q").GetTOProperty("outerhtml")
browser("Google").Page("Google").WebEdit("q").SetTOProperty "outerhtml", "sdgsdg"
msgbox browser("Google").Page("Google").WebEdit("q").GetTOProperty("outerhtml")
msgbox browser("Google").Page("Google").WebEdit("q").GetROProperty("outerhtml")

the first message was blank
the second message was "sdgsdg"
and the third message was something like "<input title="google search"......."

I never recorded a test here. I just opened google home page, added objects into the repository and executed the above script.

can anybody just explain the difference between Gettoproperty and settoproperty from here....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions