12-12-2011, 12:19 PM
you will have to check the property called "disabled" or any other property like"readonly",etc
to do so...use the code as shown below
I have noticed "disabled" holding value "true" if disabled and "false" if enabled.
If you dont see disabled property when you spy the object, you might have to look for other properties like readonly. etc.....if you didn't get this please spy the list item that you wnt to check and post the snap shot of the same.
to do so...use the code as shown below
Code:
strDisabled=Browser().Page().webList().getRoProperty(<get the property using objectsp>)
I have noticed "disabled" holding value "true" if disabled and "false" if enabled.
If you dont see disabled property when you spy the object, you might have to look for other properties like readonly. etc.....if you didn't get this please spy the list item that you wnt to check and post the snap shot of the same.