Showing posts with label assertEditable Command. Show all posts
Showing posts with label assertEditable Command. Show all posts

"assertEditable"  Command

You can use "assertEditable" command with only and only input fields like text box, list box, drop downs etc. You can check and assert that targeted element is editable or not. If targeted element is not editable then it will stop execution of remaining selenium script.


New Test
CommandTargetValue
openhttps://www.google.com
assertEditableid=gbqfq
assertNotEditableid=gbqfq
assertEditableid=gbqfq

Here in this example, second command(assertEditable) will check that target element search text box(id=gbqfq)is editable or not. If its editable then and then it will execute next command. If it is not editable