Assert Null
A keyword used to validate a test scenario by checking whether a parameter is not null and displaying an actual result message.
Platforms
Web, Android, iOS, Windows, JavaSwing, Api, JDBC
Attributes
| Attribute | Data Source | Recommendation |
|---|---|---|
| message: The message displaying the actual result when the comparison expression evaluates to false | The system recommends Value | Default is String |
| value: The parameter being checked by the keyword | The system recommends Variable | Default is String |
Use Cases
Used when checking whether a parameter is null and concluding with a message.
If the logical expression evaluates to false, 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 the "Is Null" operator.