ExtractText Members
Include Protected Members
Include Inherited Members
Extract text from the HtmlDocument based on delimiting start/end strings, matching regular expressions, and the occurrence of the text. The extracted text is added to the WebTestContext.
The ExtractText type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the ExtractText class.
Top
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finds the text delimited by the StartsWith and EndsWith properties and adds the text to the WebTestContext. (Overrides ExtractionRule.Extract(Object, ExtractionEventArgs).)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets or sets the context name of the extracted property. (Inherited from ExtractionRule.)
Gets or sets a value that represents the string that delimits the end of the string to extract.
Indicates whether the extracted value is chosen randomly from all matches in the HtmlDocument.
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.
Gets or sets a value that indicates whether matching is case-sensitive.
Gets or sets the zero-based index of the string to match.
Gets or sets a value that indicates whether the request fails if the search text is not found.
Obsolete. This method is no longer used. Use the DisplayNameAttribute on the class to set a description for this rule. (Inherited from ExtractionRule.)
Obsolete. This method is no longer used. Use the DisplayNameAttribute on the class to set a display name for this rule. (Inherited from ExtractionRule.)
Gets or sets a value representing the string which delimits the beginning of the string to extract.
Gets or sets a value that indicates whether the search strings are regular expressions.
Top