If-Then-Else containers are conditional statements that work similarly to those common in many programming languages. They provide actions to take when a predicate event occurs (the if), in which case a consequence is executed (the then), and in the absence of which (the else) an alternative action occurs.
In CloudTest, an If-Then-Else statement generally checks a constant, property, or script for an expected value. If the constant is true, or the value of a property is returned, then a consequence occurs (such as the execution of the page shown above). In the case of the above example, if the property condition is not as expected, the Else action is provided to exit that portion of the test.