assertEditable (locator), assertNOTEditable (text) - Selenium IDE command

assertEditable confirms that the target element is editable. The test will stop if the assert fails.

assert NOT Editable works the same as assert Editable, but the result is inverted. So the macro is stopped when the field is not editable.

The command is also available as verifyEditable and verifyNOTEditable. The difference between the "assert..." and "verify.." versions are that the "verify.." command does not stop the macro execution, it just logs an error.

Assert and verify commands are both useful for verifying condition match or not. The difference is that verify command will verify the condition and if its not match, it will give error message in Log area and the macro continues to run. With the assert command, if the condition does not match then it will stop remaining macro execution in the selenium IDE software testing tool.

assertEditable Example

Available soon

Note that on other websites the commands are sometimes also spelled with spaces " ": assert Editable, assert NOT Editable, verify Editable, verify NOT Editable

Works in

Ui.Vision RPA for Chrome Selenium IDE, Ui.Vision RPA for Firefox Selenium IDE, Firefox IDE Classic

Related Demo Macros

Demo-Autofill, Demo-Frame

The ready-to-import-and-run source code of all demo macros can be found in the Open-Source RPA software Github repository.

See also

assertText, verifyText, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

<em>Ui.Vision RPA</em> Selenium IDE for Chrome and Firefox - Web Test Automation

Fresh from the Ui.Vision Forum: The Latest 3 Topics. Join the discussions:

← Meet the Ui.Vision team and users in our forums.