06-22-2012, 04:41 PM
One alternate way would be using the error handling method.
You can try to set the value in the object. and check for error. If any error is thrown, the object is read only.
You can try the above method.
Regards,
Ankesh
You can try to set the value in the object. and check for error. If any error is thrown, the object is read only.
Code:
On Error Resume Next
Browser("").Page("").WebElement("").Object.text=<Some Value>
IF Err.Number<>0 Then
msgbox "Object is read only"
Else
msgbox "Values set successfully"
End If
You can try the above method.
Regards,
Ankesh