assertTextRegex
assertTextRegex
open
https://sideex.github.io/example/webpage_under_test/noneditable-paragraph.html
COMMENT
Asserts if the the targeted element's text follows a given regular expression. The test case will not keep playing if the command fails
assertTextRegex
id=text
//h3[1]
//h3[@id='text']
css=#text
X+!
COMMENT
The next command is intended to fail to demonstrate the termination of the test case
assertTextRegex
id=text
//h3[1]
//h3[@id='text']
css=#text
x+!
echo
This command will not be executed since the test case terminated due to command failure