01-31-2012, 12:18 PM
RajPes -
The above statement holds 90% correct except for the last line. "You can retrieve all of the properties using the GetRoproperty as to what you can do through the DOM as well. For eg: oVal = Browser().Page().Webedit().GetRoproperty("isContentEditable") will return a Value 1 or 0 depending upon the settings".
However, the other ease in using the .object is to aid in clear programming.
The above statement holds 90% correct except for the last line. "You can retrieve all of the properties using the GetRoproperty as to what you can do through the DOM as well. For eg: oVal = Browser().Page().Webedit().GetRoproperty("isContentEditable") will return a Value 1 or 0 depending upon the settings".
However, the other ease in using the .object is to aid in clear programming.
Code:
Set oObj = Browser().Page().Webedit().object
msgbox oObj.IsContenteditable
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.