11-29-2011, 05:43 AM
Hi...
Object Spy clearly shows that the object is readonly. So, you will get 'Object is disabled' error.
If u want to change the readonly property to editable field, you can use below code.
'it makes it editable field
' now you can set the value u want
Can u attach the screen shot of the page if it does not work?
Object Spy clearly shows that the object is readonly. So, you will get 'Object is disabled' error.
If u want to change the readonly property to editable field, you can use below code.
Code:
Browser("Browser").Page("Page").WebEdit("WebEdit").Object.readOnly=false
Code:
Browser("Browser").Page("Page").WebEdit("WebEdit").Set "vins"
Can u attach the screen shot of the page if it does not work?