DeclarativeWebTest Class
Represents a declarative, XML-based Web performance test.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::WebTest
Microsoft.VisualStudio.TestTools.WebTesting::DeclarativeWebTest
| Name | Description | |
|---|---|---|
![]() | DeclarativeWebTest() | Initializes a new instance of the DeclarativeWebTest class. |
| Name | Description | |
|---|---|---|
![]() | ConditionalRuleReferences | Gets a collection of conditional rule references. |
![]() | Context | Gets or sets an object that contains context variables that are available to the Web performance test at run time.(Inherited from WebTest.) |
![]() | ContextParameters | Gets the set of context parameters associated with this Web performance test. |
![]() | DataSources | Gets the collection of data sources that are defined for the Web performance test.(Inherited from WebTest.) |
![]() | Description | Gets or sets a textual description of this Web performance test. |
![]() | Guid | |
![]() | InheritFromWebTest | |
![]() | Items | Gets or sets the set of items that are contained in this Web performance test. Items are transactions, requests, comments, and included Web performance tests. |
![]() | LastRequestOutcome | (Inherited from WebTest.) |
![]() | LastResponse | Gets the last response that was received for a top-level request in this Web performance test.(Inherited from WebTest.) |
![]() | Name | Gets the name of the test case.(Inherited from WebTest.) |
![]() | Outcome | Gets or sets the Pass or Fail outcome of the Web performance test.(Inherited from WebTest.) |
![]() | Password | Gets and sets the password that is used for authentication.(Inherited from WebTest.) |
![]() | PreAuthenticate | Gets or sets a value that indicates whether to pre-authenticate all requests in the Web performance test.(Inherited from WebTest.) |
![]() | Proxy | Gets or sets a value that represents a proxy server for the Web performance test to use.(Inherited from WebTest.) |
![]() | RequestBodyCaptureLimit | Gets or sets the limit, in bytes, that is used to capture request data.(Inherited from WebTest.) |
![]() | RequestItems | Gets a collection of all request items in this test case. |
![]() | ResponseBodyCaptureLimit | Gets or sets the limit, in bytes, that is used to capture response data.(Inherited from WebTest.) |
![]() | ResultsLocale | (Inherited from WebTest.) |
![]() | StopOnError | Gets or sets the indication of whether the test should stop running when an error occurs. (Inherited from WebTest.) |
![]() | UserName | Gets and sets the user name that is used for authentication.(Inherited from WebTest.) |
![]() | ValidationRuleReferences | Gets the collection of references to Web performance test-level validation rules.(Inherited from WebTest.) |
![]() | WebProxy | Gets or sets the Web proxy for this Web performance test to use.(Inherited from WebTest.) |
![]() | WebTestPluginReferences | Gets the collection of references to Web performance test plug-ins.(Inherited from WebTest.) |
| Name | Description | |
|---|---|---|
![]() | AddCommentToResult(String^) | Adds a comment to the Web performance test result that follows the most recently completed Web performance test request, transaction, or included Web performance test.(Inherited from WebTest.) |
![]() | AddDataSource(String^, String^, DataBindingAccessMethod, array<String^>^) | Adds a data source to the data collection that is contained by the Web performance test.(Inherited from WebTest.) |
![]() | AddDataSource(String^, String^, String^, DataBindingAccessMethod, DataBindingSelectColumns, array<String^>^) | (Inherited from WebTest.) |
![]() | AddDataSource(String^, String^, String^, DataBindingAccessMethod, array<String^>^) | Adds a data source to the data collection that is contained by the Web performance test.(Inherited from WebTest.) |
![]() | AddDataSourceBinding(String^, String^, String^, String^) | Defines a binding relationship and adds it to the data source binding collection for the Web performance test.(Inherited from WebTest.) |
![]() | BeginCondition(ConditionalRule^) | (Inherited from WebTest.) |
![]() | BeginLoop(ConditionalRule^, Int32, Boolean) | (Inherited from WebTest.) |
![]() | BeginTransaction(String^) | Starts a transaction timer by using the specified name.(Inherited from WebTest.) |
![]() | Clone() | Creates a new DeclarativeWebTest that is a copy of the current instance. |
![]() | EndCondition(ConditionalRule^) | (Inherited from WebTest.) |
![]() | EndLoop(ConditionalRule^) | (Inherited from WebTest.) |
![]() | EndTransaction(String^) | Ends a transaction timer with the specified name.(Inherited from WebTest.) |
![]() | EndTransaction(String^, Boolean) | Ends the specified transaction.(Inherited from WebTest.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecuteConditionalRule(ConditionalRule^) | (Inherited from WebTest.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetDataTableRowCount(String^, String^) | (Inherited from WebTest.) |
![]() | GetEnumerator() | Gets an Enumerator that enumerates the items in the Web performance test.(Inherited from WebTest.) |
![]() | GetExtractionRuleVariables() | Returns all the extraction rule variable names in the web test. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetItem(Int32) | Gets the WebTestItem with the specified zero-based request number. |
![]() | GetRequestEnumerator() | Gets an enumerator for all requests at run time based on the conditional rule.(Overrides WebTest::GetRequestEnumerator().) |
![]() | GetType() | (Inherited from Object.) |
![]() | IncludeWebTest(String^) | Calls a coded Web performance test from within a coded Web performance test.(Inherited from WebTest.) |
![]() | IncludeWebTest(String^, Boolean) | Calls a coded Web performance test from within a coded Web performance test.(Inherited from WebTest.) |
![]() | IncludeWebTest(WebTest^) | Calls a coded Web performance test from within a coded Web performance test.(Inherited from WebTest.) |
![]() | IncludeWebTest(WebTest^, Boolean) | Calls a coded Web performance test from within a coded Web performance test.(Inherited from WebTest.) |
![]() | InitializeDataBinding() | Adds data source and data binding information from attributes to the current instance. Primarily used for coded web tests.(Overrides WebTest::InitializeDataBinding().) |
![]() | InsertItemAt(Int32, WebTestItem^) | Inserts a WebTestItem at the specified item index. |
![]() | InternalSetOutcome(Outcome) | (Inherited from WebTest.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | MoveDataTableCursor(String^, String^) | Advances the cursor in the data table to the next record.(Inherited from WebTest.) |
![]() | MoveDataTableCursor(String^, String^, Int32) | (Inherited from WebTest.) |
![]() | RegisterDataSourceInLoop(ConditionalRule^, String^, String^) | (Inherited from WebTest.) |
![]() | ReloadDataTable(String^, String^) | (Inherited from WebTest.) |
![]() | RemoveItemAt(Int32) | Removes the WebTestItem at the specified item index. |
![]() | Stop() | Stops the current Web performance test.(Inherited from WebTest.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | PostPage | (Inherited from WebTest.) |
![]() | PostRequest | Occurs after each request that this Web performance test runs.(Inherited from WebTest.) |
![]() | PostTransaction | (Inherited from WebTest.) |
![]() | PostWebTest | Occurs after the Web performance test runs.(Inherited from WebTest.) |
![]() | PrePage | (Inherited from WebTest.) |
![]() | PreRequest | Occurs before each request this Web performance test runs.(Inherited from WebTest.) |
![]() | PreRequestDataBinding | (Inherited from WebTest.) |
![]() | PreTransaction | (Inherited from WebTest.) |
![]() | PreWebTest | Occurs before the Web performance test runs.(Inherited from WebTest.) |
![]() | ValidateResponse | Occurs when the response to a Web performance test request has been received and is ready to be validated.(Inherited from WebTest.) |
![]() | ValidateResponseOnPageComplete | (Inherited from WebTest.) |
Do not use the DeclarativeWebTest class as a base class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



