Assert False
A keyword used to validate a test scenario and display the actual result message when the logical expression (operator) evaluates to true.
Platforms
Web, Android, iOS, Windows, JavaSwing, Api, JDBC
Attributes
| Attribute | Data Source | Recommendation |
|---|---|---|
| message: The message displaying the actual result when the logical expression evaluates to true | The system recommends Value | Default is String |
| Operator: The logical expression evaluated within the keyword, returning true/false |
Use Cases
Used when validating the correctness of a logical expression (or a group of expressions) and concluding with a message.
If the logical expression evaluates to true, the actual result description will be the value of the message attribute, and the actual result of the test scenario will be fail.
Can be replaced with an If...else statement combined with an operator.