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::Extract Method (Object^, ExtractionEventArgs^)

 

Finds the text that is delimited by the StartsWith and EndsWith properties and adds the text to the WebTestContext.

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

public:
virtual void Extract(
	Object^ sender,
	ExtractionEventArgs^ e
) override

Parameters

sender
Type: System::Object^

The object that fired the event.

e
Type: Microsoft.VisualStudio.TestTools.WebTesting::ExtractionEventArgs^

Contains information about the request, response, and context.

The extracted text is also determined by the index of the occurrence of the delimited string.

Return to top
Show: