This command is useful to validate if a boolean value is true.
Verify(Value:boolean, [optional] StopExecution:boolean)
Works like an assertion but if the value is not true, then a screenshot of the web page is taken and by default causes that test to stop its execution.
Value: the boolean value to check.
StopExecution: optional parameter indicating if the received parameter is not true then execution must be stopped or not. The default value is true.
This method doesn't return any value
This command can be combined with several commands.
&driver.Verify(not &driver.AppearText("Not found"), false)
&driver.Verify(&driver.GetValueByName("controlName") = "Customer Name")