Contains
Is a keyword used to check whether the first string contains the value of the second string or not.
Attribute
| Attribute | Data Source | Recommendation |
|---|---|---|
| Variable Default: is the value passed into the comparison of the Operator The value of the first string is usually the return result of the keywords Get text, get attribute... | The recommended system is Variable | The recommended system is String |
Use case
Use when you need to check whether a data string contains the value of another string or not
Use in combination with the keywords If - else and While, the keywords Assert
The return result of the keyword is true/ false