assertConfirmation
assertConfirmation
open
https://sideex.github.io/example/webpage_under_test/button-to-show-confirmation.html
COMMENT
Click on the button to call the confirmation window
clickAt
id=Button
//button[1]
//button[@id='Button']
css=#Button
80,40
COMMENT
Asserts the confirmation window being correct. The test case will not keep playing if the command fails
assertConfirmation
Do you want to leave?
COMMENT
Click on the button to call the confirmation window
clickAt
id=Button
//button[1]
//button[@id='Button']
css=#Button
80,40
COMMENT
The next command is intended to fail to demonstrate the termination of the test case
assertConfirmation
Do you want to leave!
echo
This command will not be executed since the test case terminated due to command failure