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.

ExtractHiddenFields::Extract Method (Object^, ExtractionEventArgs^)

 

Extracts all hidden fields found in the body of the response and adds the unique hidden fields 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 raising the event.

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

An ExtractionEventArgs that contains the request, response, and context event data.

If hidden fields within the context have the same identifier as the fields being extracted, the hidden fields in the context are removed from the context and replaced by the extracted hidden fields.

Return to top
Show: