Skip to main content
Version: 1.0.0

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​

AttributeData SourceRecommendation
message: The message displaying the actual result when the comparison expression evaluates to falseThe system recommends ValueDefault is String
value: The parameter being checked by the keywordThe system recommends VariableDefault 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.