Defines a response criterion based on a regular expression on data content for Site Clipper screen classes.

The Regular expression criterion allows defining a regular expression that is applied on response data content.
Matching condition: The Regular expression criterion matches when the regular expression defined in Regular expression property matches response data content, i.e. if the string pattern described by the regular expression is found in the response data.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Regular expression String standard Defines the regular expression to match.
This property allows defining a regular expression as a string pattern.
Notes:

• For more information about regular expression patterns, see the following page: http://www.regular-expressions.info/reference.html.
• To test regular expressions, you can use the regular expression tester at the following URL: http://www.regular-expressions.info/javascriptexample.html.
Reverse result boolean expert Defines if the criteria’s result should be reversed.
When a criteria is evaluated, it can sometimes be useful to get the opposite of the standard result (i.e. when the criteria matches, its result is false, and when it doesn’t match, its result is true). Use this property to reverse the standard result.
For example, you may define a screen class that does not contain the text “Hello” in white on black background. For that, you define a criterion matching on the text “Hello” in white on black background, and you reverse it thanks to this property.