IF ELSE
IF ELSE
open
https://sideex.github.io/example/webpage_under_test/button-to-show-confirmation.html
COMMENT
Store the visibility condition of the button
storeIsVisible
id=Button
is_visibile
COMMENT
IF the button is visible,
IF
${is_visibile}
COMMENT
Choose Cancel on the confirmation window that pops up
chooseCancelOnNextConfirmation
clickAt
id=Button
//button[1]
//button[@id='Button']
css=#Button
145,54
COMMENT
ELSE, do the following commands
ELSE
echo
The button is not visible
COMMENT
END commands should be placed at the end of IF-ELSE/WHILE/TRY-CATCH blocks.
END