Skip to main content
Version: 1.0.1

Matches

Is a keyword used to check the value of a data string containing content that matches a regular expression 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...Value: the value does not change during the testing process Variable (commonly used): is a parameter when performing data driven testingString

Use cases​

Use when you need to check whether a data string matches a specific structure (regular expression) or not

Use in combination with the keywords If - else and While, the keywords Assert

The return result of the keyword is true/ false