This documentation is archived and is not being maintained.

WebTestRequest.Method Property

Gets or sets the method to use for the request.

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

public string Method { get; set; }

Property Value

Type: System.String
The method that is used for the request. The default value is "GET".

The value for this can be either "GET" or "POST".