If your element is in below format
<input value="black" name="plain_text">
then we can use selenium isEditable to find this element is editable or not
assertTrue(selenium.isEditable("plain_text"));
<select name="plain_select"><option>Niraj</option></select>
assertTrue(selenium.isEditable("plain_select"));
<input disabled="yup" value="black" name="disabled_text">
assertTrue(!selenium.isEditable("disabled_text"));
<select disabled="yup" name="disabled_select"><option>Niraj</option></select>
assertTrue(!selenium.isEditable("disabled_select"));
How we can verify non-editable elements on web page ?
ReplyDeleteI'm using java to verify read only element.Please provide solution
golden goose outlet
ReplyDeleteoff white outlet
jordans
kyrie shoes
off white
golden goose black friday
supreme hoodie
fear of god hoodie
goyard
goyard outlet