Export (0) Print
Expand All
Expand Minimize

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.

  ClassDescription
Public classCommentRepresents a comment that the test designer adds to a Web test.
Public classConnectionFailedWebTestExceptionAn exception that is thrown by the test engine for connection failure errors during a Web test.
Public classContextParameter
Public classContextParameterCollection
Public classCssIterationAttributeRepresents the project iteration to which this test corresponds. This class cannot be inherited.
Public classCssProjectStructureAttributeRepresents the node in the team project hierarchy to which this test corresponds.
Public classDataBindingAttributeContains information that defines data binding properties for a Web test. This class cannot be inherited.
Public classDataSourceDefines a data source for a Web test.
Public classDataSourceAttributeContains information that describes a data source for a Web test. This class cannot be inherited.
Public classDataSourceCollection
Public classDataSourceTableAn object that represents a table in a data source that you can use in a Web test.
Public classDataSourceTableCollection
Public classDeclarativeWebTestRepresents a declarative, XML-based Web test.
Public classDeclarativeWebTestSerializerLoads the contents of a .webtest file into an instance of the DeclarativeWebTest class.
Public classDeploymentItemAttributeUsed to specify deployment items such as a file or directory for per-test-deployment. This class cannot be inherited.
Public classExtractionEventArgsProvides data for the ExtractValues event.
Public classExtractionRuleBase class used to define rules for obtaining data from a Web response that is generated by a Web test.
Public classExtractionRuleReference
Public classExtractionRuleReferenceCollection
Public classFileUploadParameterRepresents a file upload form post parameter.
Public classFormPostHttpBodyRepresents an HTML form post body with a collection of form parameters.
Public classFormPostParameterRepresents an HTML form POST parameter.
Public classFormPostParameterCollectionRepresents a strongly typed container for form post parameters.
Public classHtmlAttributeRepresents an HTML attribute.
Public classHtmlAttributeWithOffsetsExtends the basic HtmlAttribute and tracks the beginning and ending offsets within an HTML document.
Public classHtmlDocumentProvides access to the set of HTML tags in an HTML response body.
Public classHtmlTagThe HtmlTag object is the foundation of the HTML document and holds the parsed structure of the document.
Public classHtmlTagWithOffsetsExtends the basic HtmlTag by tracking the beginning and ending tag offsets within the HTML document.
Public classIncludeCodedWebTestAttributeContains information that defines a coded Web test that is included in another Web test.
Public classIncludeDeclarativeWebTestAttributeContains information that defines a coded Web test that is included in another Web test.
Public classIncludedWebTestRepresents a Web test that is included in another Web test.
Public classOwnerAttributeUsed to specify the person responsible for maintaining, running, and/or debugging the test. This class cannot be inherited.
Public classParameterRepresents an HTTP parameter base class.
Public classPluginOrRulePropertyA parameter provided to an extraction rule, validation rule, or plug-in.
Public classPostPageEventArgs
Public classPostRequestEventArgsProvides data for the WebTestRequest.PostRequest and WebTest.PostRequest events.
Public classPostTransactionEventArgs
Public classPostWebTestEventArgsProvides data for the PostWebTest event.
Public classPrePageEventArgs
Public classPreRequestEventArgsProvides data for the WebTest.PreRequest event.
Public classPreTransactionEventArgs
Public classPreWebTestEventArgsProvides data for the PreWebTest event.
Public classPriorityAttributeUsed to specify the priority of a unit test. This class cannot be inherited.
Public classPropertyCollectionRepresents a strongly typed container for Web test rule properties.
Public classQueryStringParameterRepresents an HTTP querystring parameter.
Public classQueryStringParameterCollectionRepresents a strongly typed container for query string parameters.
Public classStringHttpBodyRepresents an HTTP body in string form used for SOAP support.
Public classTestDescriptionAttributeUsed to specify the description of the test. This class cannot be inherited.
Public classThreadedWebTestRepresents a base class for a coded Web test that uses a single thread per Web test iteration.
Public classTimeoutAttributeUse this attribute to specify the time-out period of a Web test.
Public classTransactionTimer
Public classValidationEventArgsProvides data for the ValidateResponse event.
Public classValidationRuleVerifies that requests return valid HTTP responses and that the contents of the response match the expected results. This class must be inherited.
Public classValidationRuleReference
Public classValidationRuleReferenceCollectionRepresents a serializable, strongly typed container for Web test validation rules.
Public classWebTestBase class for all Web tests. Coded Web tests that are written in C# derive directly from this class.
Public classWebTestBaseCollection<T>
Public classWebTestContextRepresents the context available to a WebTest.
Public classWebTestEmptyTableExceptionRepresents a WebTestEndOfDataException.
Public classWebTestEndOfDataExceptionThe 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.
Public classWebTestExceptionThe exception that is thrown by the test engine for errors that occur while a test is running.
Public classWebTestItemBase class for WebTestRequest.
Public classWebTestItemCollectionRepresents a strongly typed container for Web test items.
Public classWebTestPageStatisticsContains statistics regarding the execution of the page.
Public classWebTestPluginProvides a means to run code and access a WebTest before and after the Web test is run. This class must be inherited.
Public classWebTestPluginReference
Public classWebTestPluginReferenceCollectionRepresents a serializable strongly typed container for Web test plug-in references.
Public classWebTestRequestRepresents an HTTP request that will be sent to a Web server.
Public classWebTestRequestCollectionA serializable, strongly typed container for Web test request headers.
Public classWebTestRequestHeaderRepresents an HTTP header.
Public classWebTestRequestHeaderCollectionA serializable strongly typed container for Web test request headers.
Public classWebTestRequestPluginReceives notifications before and after a request is processed.
Public classWebTestRequestPluginConverter
Public classWebTestRequestPluginReference
Public classWebTestRequestPluginReferenceCollectionRepresents a strongly typed container for Web test request plug-in references.
Public classWebTestRequestStatisticsUsed to track key information that is gathered when the request is run.
Public classWebTestResponseRepresents an HTTP response.
Public classWebTestRuleBase
Public classWorkItemAttributeUse this attribute to specify a work item that is associated with a test.

  InterfaceDescription
Public interfaceIHttpBodyProvides a common interface for accessing an HTTP body.

  EnumerationDescription
Public enumerationDataBindingAccessMethodEnumeration for the access method that is used for data binding.
Public enumerationOutcome
Public enumerationValidationLevelUsed to identify the importance of a validation rule that is run in a load test.
Public enumerationWebTestExecutionInstructionUsed to denote how to handle an operation.

Community Additions

ADD
Show:
© 2014 Microsoft