Is Not Empty
Is a keyword used to check if a parameter has data or not.
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 if 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 Not Empty's return result:
- If the parameter has no value: false- If the parameter has a value: true
Used in combination with keywords If - else and While, the keywords Assert
Can be used instead of NOT + Is Empty