ExtractRegularExpression Properties

Include Protected Members
Include Inherited Members

The ExtractRegularExpression type exposes the following members.

Properties

 

Name

Description

Public property

ContextParameterName

Gets or sets the context name of the extracted property. (Inherited from ExtractionRule.)

Public property

HtmlDecode

Gets or sets a value that indicates whether the extracted value should be HTML decoded before the value is placed in the Web test context.

Public property

IgnoreCase

Gets or sets a value that indicates whether matching is case-sensitive.

Public property

Index

Gets or sets a value that represents an index value of an occurrence of a string that is located in the HtmlDocument.

Public property

RegularExpression

Gets or sets a regular expression which defines the string to extract.

Public property

Required

Gets or sets a value that indicates whether the extraction fails if the text represented by RegularExpression does not exist in the HtmlDocument.

Public property

RuleDescription

Obsolete. This method is no longer used. Use the DisplayNameAttribute on the class to set a description for this rule. (Inherited from ExtractionRule.)

Public property

RuleName

Obsolete. This method is no longer used. Use the DisplayNameAttribute on the class to set a display name for this rule. (Inherited from ExtractionRule.)

Top

See Also

Reference

ExtractRegularExpression Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace