Skip to main content
Version: 1.0.1

Contains

Is a keyword used to check whether the first string contains the value of the second string or not.

Attribute​

AttributeData SourceRecommendation
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 VariableThe 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