Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExtractText Class

 

No content here will be updated; please do not add material here.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.ExtractionRule
    Microsoft.VisualStudio.TestTools.WebTesting.Rules.ExtractText

type ExtractText = 
    class
        inherit ExtractionRule
    end

NameDescription
System_CAPS_pubmethodExtractText()

Initializes a new instance of the ExtractText class.

NameDescription
System_CAPS_pubpropertyContextParameterName

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

System_CAPS_pubpropertyEndsWith

Gets or sets a value that represents the string that delimits the end of the string to extract.

System_CAPS_pubpropertyExtractRandomMatch

Indicates whether the extracted value is chosen randomly from all matches in the HtmlDocument.

System_CAPS_pubpropertyHtmlDecode

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

System_CAPS_pubpropertyIgnoreCase

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

System_CAPS_pubpropertyIndex

Gets or sets the zero-based index of the string to match.

System_CAPS_pubpropertyRequired

Gets or sets a value that indicates whether the request fails if the search text is not found.

System_CAPS_pubpropertyRuleDescription

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

System_CAPS_pubpropertyRuleName

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

System_CAPS_pubpropertySearchInHeaders

System_CAPS_pubpropertyStartsWith

Gets or sets a value that represents the string that delimits the start of the string to extract.

System_CAPS_pubpropertyUseRegularExpression

Gets or sets a value that indicates whether the search strings are regular expressions.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExtract(Object, ExtractionEventArgs)

Finds the text that is delimited by the StartsWith and EndsWith properties and adds the text to the WebTestContext.(Overrides ExtractionRule.Extract(Object, ExtractionEventArgs).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: