assertElement
assertElement
open
https://sideex.github.io/example/webpage_under_test/button-to-change-color.html
COMMENT
Asserts the button element being correct. The test case will not keep playing if the command fails
assertElement
id=Button
//button[1]
//button[@id='locatorButton']
css=#locatorButton
COMMENT
The next command is intended to fail to demonstrate the termination of the test case
COMMENT
The assertElement with value 500 means asserting for 0.5 second
assertElement
id=Buttons
//button[1]
//button[@id='locatorButton']
css=#locatorButton
500
echo
This command will not be executed since the test case terminated due to command failure