This topic has not yet been rated - Rate this topic

ExtractHiddenFields.Extract Method

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 override void Extract (
	Object sender,
	ExtractionEventArgs e
)
public void Extract (
	Object sender, 
	ExtractionEventArgs e
)
public override function Extract (
	sender : Object, 
	e : ExtractionEventArgs
)

Parameters

sender

The object raising the event.

e

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.