assertEditable, assertNOTEditable - Selenium IDE
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.
Note that on other websites the commands are sometimes also spelled with spaces " ": assert Editable, assert NOT Editable, verify Editable, verify NOT Editable
Related Demo Macros
The ready-to-import-and-run source code of all demo macros can be found in the Github repository testmacros folder.
Anything wrong or missing on this page? Suggestions?
...then please contact us.