Concordion > Commands >

assertFalse

The concordion:assertFalse tag evaluates an expression to obtain a boolean result. If the result is true, the tagged element is marked as a success else it is marked as a failure.

Example

Given this instrumented snippet:

<p>
    Since the password was incorrect, the user should not be        
    <span concordion:assertFalse="#user.isLoggedIn()">logged in</span>.
</p>    

We get the following outcomes depending on the evaluation result of the expression #user.isLoggedIn():

Evaluation Result Outcome
true FAILURE
false SUCCESS