You can check the result of every command by looking at the !statusOK variable:
-
store | true | !statusOk
(Make sure it is “True”. Because once “false” the variable does not reset itself.) -
verifyElementNotPresent | Apple
=> if Apple is found, then !statusOK is set to “false” -
if | ${!statusOK} == false (or true)
– do something! end