Share via


WebTestPropertiesValidationRulesContentValidation interface

The collection of content validation properties

Properties

contentMatch

Content to look for in the return of the WebTest. Must not be null or empty.

ignoreCase

When set, this value makes the ContentMatch validation case insensitive.

passIfTextFound

When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match

Property Details

contentMatch

Content to look for in the return of the WebTest. Must not be null or empty.

contentMatch?: string

Property Value

string

ignoreCase

When set, this value makes the ContentMatch validation case insensitive.

ignoreCase?: boolean

Property Value

boolean

passIfTextFound

When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match

passIfTextFound?: boolean

Property Value

boolean