Is Empty
Is a keyword used to check whether a parameter has no data
Attribute
| Attribute | Data Source | Recommendation |
|---|---|---|
| Value: Is a parameter passed to the operator | The default system is Variable | The default system is String |
Use case
Use when you need to check whether the input data of a certain information field or the output of the data-getting keywords (get text, get attribute...) of the test scenario is entered or not
Is Empty's return result:
-
If the parameter has no value: true
-
If the parameter has a value: false
Used in combination with keywords If - else and While, the keywords Assert
Can be used instead of NOT + Is Not Empty