Microsoft.VisualStudio.Test ...


Team Test API
Microsoft.VisualStudio.TestTools.WebTesting Namespace

The Microsoft.VisualStudio.TestTools.WebTesting namespace supplies classes that enable Web testing. This namespace includes the WebTest class which is the base class for all Web tests. The WebTestRequest and WebTestResponse classes simulate the HTTP requests and responses of the Web pages under test. These classes use the FormPostHttpBody class to simulate the use of form post parameters. Microsoft.VisualStudio.TestTools.WebTesting also includes classes for data binding, test rules, identifying work items, query strings, HTTP context, and plug-ins that provide testing features.

Classes

  ClassDescription
ms244167.pubclass(en-us,VS.90).gifComment Represents a comment that the test designer adds to a Web test.
ms244167.pubclass(en-us,VS.90).gifConnectionFailedWebTestException An exception that is thrown by the test engine for connection failure errors during a Web test.
ms244167.pubclass(en-us,VS.90).gifContextParameter
ms244167.pubclass(en-us,VS.90).gifContextParameterCollection
ms244167.pubclass(en-us,VS.90).gifCssIterationAttribute Represents the project iteration to which this test corresponds. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifCssProjectStructureAttribute Represents the node in the team project hierarchy to which this test corresponds.
ms244167.pubclass(en-us,VS.90).gifDataBindingAttribute Contains information that defines data binding properties for a Web test. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifDataSource Defines a data source for a Web test.
ms244167.pubclass(en-us,VS.90).gifDataSourceAttribute Contains information that describes a data source for a Web test. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifDataSourceCollection
ms244167.pubclass(en-us,VS.90).gifDataSourceTable An object that represents a table in a data source that you can use in a Web test.
ms244167.pubclass(en-us,VS.90).gifDataSourceTableCollection
ms244167.pubclass(en-us,VS.90).gifDeclarativeWebTest Represents a declarative, XML-based Web test.
ms244167.pubclass(en-us,VS.90).gifDeclarativeWebTestSerializer Loads the contents of a .webtest file into an instance of the DeclarativeWebTest class.
ms244167.pubclass(en-us,VS.90).gifDeploymentItemAttribute Used to specify deployment items such as a file or directory for per-test-deployment. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifExtractionEventArgs Provides data for the ExtractValues event.
ms244167.pubclass(en-us,VS.90).gifExtractionRule Base class used to define rules for obtaining data from a Web response that is generated by a Web test.
ms244167.pubclass(en-us,VS.90).gifExtractionRuleReference
ms244167.pubclass(en-us,VS.90).gifExtractionRuleReferenceCollection
ms244167.pubclass(en-us,VS.90).gifFileUploadParameter Represents a file upload form post parameter.
ms244167.pubclass(en-us,VS.90).gifFormPostHttpBody Represents an HTML form post body with a collection of form parameters.
ms244167.pubclass(en-us,VS.90).gifFormPostParameter Represents an HTML form POST parameter.
ms244167.pubclass(en-us,VS.90).gifFormPostParameterCollection Represents a strongly typed container for form post parameters.
ms244167.pubclass(en-us,VS.90).gifHtmlAttribute Represents an HTML attribute.
ms244167.pubclass(en-us,VS.90).gifHtmlAttributeWithOffsets Extends the basic HtmlAttribute and tracks the beginning and ending offsets within an HTML document.
ms244167.pubclass(en-us,VS.90).gifHtmlDocument Provides access to the set of HTML tags in an HTML response body.
ms244167.pubclass(en-us,VS.90).gifHtmlTag The HtmlTag object is the foundation of the HTML document and holds the parsed structure of the document.
ms244167.pubclass(en-us,VS.90).gifHtmlTagWithOffsets Extends the basic HtmlTag by tracking the beginning and ending tag offsets within the HTML document.
ms244167.pubclass(en-us,VS.90).gifIncludeCodedWebTestAttribute Contains information that defines a coded Web test that is included in another Web test.
ms244167.pubclass(en-us,VS.90).gifIncludeDeclarativeWebTestAttribute Contains information that defines a coded Web test that is included in another Web test.
ms244167.pubclass(en-us,VS.90).gifIncludedWebTest Represents a Web test that is included in another Web test.
ms244167.pubclass(en-us,VS.90).gifOwnerAttribute Used to specify the person responsible for maintaining, running, and/or debugging the test. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifParameter Represents an HTTP parameter base class.
ms244167.pubclass(en-us,VS.90).gifPluginOrRuleProperty A parameter provided to an extraction rule, validation rule, or plug-in.
ms244167.pubclass(en-us,VS.90).gifPostPageEventArgs
ms244167.pubclass(en-us,VS.90).gifPostRequestEventArgs Provides data for the WebTestRequest..::.PostRequest and WebTest..::.PostRequest events.
ms244167.pubclass(en-us,VS.90).gifPostTransactionEventArgs
ms244167.pubclass(en-us,VS.90).gifPostWebTestEventArgs Provides data for the PostWebTest event.
ms244167.pubclass(en-us,VS.90).gifPrePageEventArgs
ms244167.pubclass(en-us,VS.90).gifPreRequestEventArgs Provides data for the WebTest..::.PreRequest event.
ms244167.pubclass(en-us,VS.90).gifPreTransactionEventArgs
ms244167.pubclass(en-us,VS.90).gifPreWebTestEventArgs Provides data for the PreWebTest event.
ms244167.pubclass(en-us,VS.90).gifPriorityAttribute Used to specify the priority of a unit test. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifPropertyCollection Represents a strongly typed container for Web test rule properties.
ms244167.pubclass(en-us,VS.90).gifQueryStringParameter Represents an HTTP querystring parameter.
ms244167.pubclass(en-us,VS.90).gifQueryStringParameterCollection Represents a strongly typed container for query string parameters.
ms244167.pubclass(en-us,VS.90).gifStringHttpBody Represents an HTTP body in string form used for SOAP support.
ms244167.pubclass(en-us,VS.90).gifTestDescriptionAttribute Used to specify the description of the test. This class cannot be inherited.
ms244167.pubclass(en-us,VS.90).gifThreadedWebTest Represents a base class for a coded Web test that uses a single thread per Web test iteration.
ms244167.pubclass(en-us,VS.90).gifTimeoutAttribute Use this attribute to specify the time-out period of a Web test.
ms244167.pubclass(en-us,VS.90).gifTransactionTimer
ms244167.pubclass(en-us,VS.90).gifValidationEventArgs Provides data for the ValidateResponse event.
ms244167.pubclass(en-us,VS.90).gifValidationRule Verifies that requests return valid HTTP responses and that the contents of the response match the expected results. This class must be inherited.
ms244167.pubclass(en-us,VS.90).gifValidationRuleReference
ms244167.pubclass(en-us,VS.90).gifValidationRuleReferenceCollection Represents a serializable, strongly typed container for Web test validation rules.
ms244167.pubclass(en-us,VS.90).gifWebTest Base class for all Web tests. Coded Web tests that are written in C# derive directly from this class.
ms244167.pubclass(en-us,VS.90).gifWebTestBaseCollection<(Of <(T>)>)
ms244167.pubclass(en-us,VS.90).gifWebTestContext Represents the context available to a WebTest.
ms244167.pubclass(en-us,VS.90).gifWebTestEmptyTableException Represents a WebTestEndOfDataException.
ms244167.pubclass(en-us,VS.90).gifWebTestEndOfDataException The exception that is thrown when data binding is being performed on a table with the Unique DataBindingAccessMethod when there are no more rows of data in the table.
ms244167.pubclass(en-us,VS.90).gifWebTestException The exception that is thrown by the test engine for errors that occur while a test is running.
ms244167.pubclass(en-us,VS.90).gifWebTestItem Base class for WebTestRequest.
ms244167.pubclass(en-us,VS.90).gifWebTestItemCollection Represents a strongly typed container for Web test items.
ms244167.pubclass(en-us,VS.90).gifWebTestPageStatistics Contains statistics regarding the execution of the page.
ms244167.pubclass(en-us,VS.90).gifWebTestPlugin Provides a means to run code and access a WebTest before and after the Web test is run. This class must be inherited.
ms244167.pubclass(en-us,VS.90).gifWebTestPluginReference
ms244167.pubclass(en-us,VS.90).gifWebTestPluginReferenceCollection Represents a serializable strongly typed container for Web test plug-in references.
ms244167.pubclass(en-us,VS.90).gifWebTestRequest Represents an HTTP request that will be sent to a Web server.
ms244167.pubclass(en-us,VS.90).gifWebTestRequestCollection A serializable, strongly typed container for Web test request headers.
ms244167.pubclass(en-us,VS.90).gifWebTestRequestHeader Represents an HTTP header.
ms244167.pubclass(en-us,VS.90).gifWebTestRequestHeaderCollection A serializable strongly typed container for Web test request headers.
ms244167.pubclass(en-us,VS.90).gifWebTestRequestPlugin Receives notifications before and after a request is processed.
ms244167.pubclass(en-us,VS.90).gifWebTestRequestPluginConverter
ms244167.pubclass(en-us,VS.90).gifWebTestRequestPluginReference
ms244167.pubclass(en-us,VS.90).gifWebTestRequestPluginReferenceCollection Represents a strongly typed container for Web test request plug-in references.
ms244167.pubclass(en-us,VS.90).gifWebTestRequestStatistics Used to track key information that is gathered when the request is run.
ms244167.pubclass(en-us,VS.90).gifWebTestResponse Represents an HTTP response.
ms244167.pubclass(en-us,VS.90).gifWebTestRuleBase
ms244167.pubclass(en-us,VS.90).gifWorkItemAttribute Use this attribute to specify a work item that is associated with a test.
Interfaces

  InterfaceDescription
ms244167.pubinterface(en-us,VS.90).gifIHttpBody Provides a common interface for accessing an HTTP body.
Enumerations

  EnumerationDescription
ms244167.pubenumeration(en-us,VS.90).gifDataBindingAccessMethod Enumeration for the access method that is used for data binding.
ms244167.pubenumeration(en-us,VS.90).gifOutcome
ms244167.pubenumeration(en-us,VS.90).gifValidationLevel Used to identify the importance of a validation rule that is run in a load test.
ms244167.pubenumeration(en-us,VS.90).gifWebTestExecutionInstruction Used to denote how to handle an operation.
See Also

Reference

Other Resources

Page view tracker