assertText
assertText
open
https://sideex.github.io/example/webpage_under_test/noneditable-paragraph.html
COMMENT
Asserts the text of the targeted element being correct. The test case will not keep playing if the command fails
assertText
id=text
//h1[1]
css=h1
Hello SideeX!!!
COMMENT
The next command is intended to fail to demonstrate the termination of the test case
assertText
id=text
//h3[1]
//h3[@id='text']
css=#text
ello SideeX!!!
echo
This command will not be executed since the test case terminated due to command failure