WebTest Properties

Include Protected Members
Include Inherited Members

The WebTest type exposes the following members.

Properties

 

Name

Description

Public property

Context

Gets or sets an object that contains context variables that are available to the Web test at run time.

Public property

DataSources

Gets the collection of data sources defined for the Web test.

Public property

Guid

Gets or sets a Globally Unique Identifier that uniquely identifies each instance of a WebTest.

Public property

InheritFromWebTest

Gets the WebTest object for the parent Web test when this Web test is included in another Web test and is inheriting properties from the parent Web test.

Public property

LastResponse

Gets the last response received for a top-level request in this Web test.

Public property

Name

Gets the name of the test case.

Public property

Outcome

Gets or sets the Pass or Fail outcome of the Web test.

Public property

Password

Gets and sets the password used for authentication.

Public property

PreAuthenticate

Gets or sets a value that indicates whether to pre-authenticate all requests within the Web test.

Public property

Proxy

Gets or sets a value representing a proxy server for the Web test to use.

Public property

RequestBodyCaptureLimit

Gets or sets the limit, in bytes, that is used for capturing request data.

Public property

ResponseBodyCaptureLimit

Gets or sets the limit, in bytes, that is used for capturing response data.

Public property

StopOnError

Public property

UserName

Gets and sets the user name used for authentication.

Public property

ValidationRuleReferences

Gets the collection of references to Web test-level validation rules.

Public property

WebProxy

Gets or sets the Web proxy for this Web test to use.

Public property

WebTestPluginReferences

Gets the collection of references to Web test plug-ins.

Top

See Also

Reference

WebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace