Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a declarative, XML-based Web performance test.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTest
Microsoft.VisualStudio.TestTools.WebTesting.DeclarativeWebTest
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class DeclarativeWebTest _
Inherits WebTest _
Implements ICloneable
[SerializableAttribute]
public class DeclarativeWebTest : WebTest,
ICloneable
[SerializableAttribute]
public ref class DeclarativeWebTest : public WebTest,
ICloneable
[<SerializableAttribute>]
type DeclarativeWebTest =
class
inherit WebTest
interface ICloneable
end
public class DeclarativeWebTest extends WebTest implements ICloneable
The DeclarativeWebTest type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
DeclarativeWebTest | Initializes a new instance of the DeclarativeWebTest class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
ConditionalRuleReferences | Gets a collection of conditional rule references. |
![]() |
Context | (Inherited from WebTest.) |
![]() |
ContextParameters | Gets the set of context parameters associated with this Web performance test. |
![]() |
DataSources | (Inherited from WebTest.) |
![]() |
Description | Gets or sets a textual description of this Web performance test. |
![]() |
Guid | (Inherited from WebTest.) |
![]() |
InheritFromWebTest | (Inherited from WebTest.) |
![]() |
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 | (Inherited from WebTest.) |
![]() |
Name | (Inherited from WebTest.) |
![]() |
Outcome | (Inherited from WebTest.) |
![]() |
Password | (Inherited from WebTest.) |
![]() |
PreAuthenticate | (Inherited from WebTest.) |
![]() |
Proxy | (Inherited from WebTest.) |
![]() |
RequestBodyCaptureLimit | (Inherited from WebTest.) |
![]() |
RequestItems | Gets a collection of all request items in this test case. |
![]() |
ResponseBodyCaptureLimit | (Inherited from WebTest.) |
![]() |
ResultsLocale | (Inherited from WebTest.) |
![]() |
StopOnError | (Inherited from WebTest.) |
![]() |
UserName | (Inherited from WebTest.) |
![]() |
ValidationRuleReferences | (Inherited from WebTest.) |
![]() |
WebProxy | (Inherited from WebTest.) |
![]() |
WebTestPluginReferences | (Inherited from WebTest.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
AddCommentToResult | (Inherited from WebTest.) |
![]() |
AddDataSource(String, String, DataBindingAccessMethod, array<String[]) | (Inherited from WebTest.) |
![]() |
AddDataSource(String, String, String, DataBindingAccessMethod, array<String[]) | (Inherited from WebTest.) |
![]() |
AddDataSource(String, String, String, DataBindingAccessMethod, DataBindingSelectColumns, array<String[]) | (Inherited from WebTest.) |
![]() |
AddDataSourceBinding | (Inherited from WebTest.) |
![]() |
BeginCondition | (Inherited from WebTest.) |
![]() |
BeginLoop | (Inherited from WebTest.) |
![]() |
BeginTransaction | (Inherited from WebTest.) |
![]() |
Clone | Creates a new DeclarativeWebTest that is a copy of the current instance. |
![]() |
EndCondition | (Inherited from WebTest.) |
![]() |
EndLoop | (Inherited from WebTest.) |
![]() |
EndTransaction(String) | (Inherited from WebTest.) |
![]() |
EndTransaction(String, Boolean) | (Inherited from WebTest.) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
ExecuteConditionalRule | (Inherited from WebTest.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetDataTableRowCount | (Inherited from WebTest.) |
![]() |
GetEnumerator | (Inherited from WebTest.) |
![]() |
GetExtractionRuleVariables | Returns all the extraction rule variable names in the web test. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetItem | 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 | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IncludeWebTest(String) | (Inherited from WebTest.) |
![]() |
IncludeWebTest(WebTest) | (Inherited from WebTest.) |
![]() |
IncludeWebTest(String, Boolean) | (Inherited from WebTest.) |
![]() |
IncludeWebTest(WebTest, Boolean) | (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 | Inserts a WebTestItem at the specified item index. |
![]() |
InternalSetOutcome | (Inherited from WebTest.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
MoveDataTableCursor(String, String) | (Inherited from WebTest.) |
![]() |
MoveDataTableCursor(String, String, Int32) | (Inherited from WebTest.) |
![]() |
RegisterDataSourceInLoop | (Inherited from WebTest.) |
![]() |
ReloadDataTable | (Inherited from WebTest.) |
![]() |
RemoveItemAt | Removes the WebTestItem at the specified item index. |
![]() |
Stop | (Inherited from WebTest.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
PostPage | (Inherited from WebTest.) |
![]() |
PostRequest | (Inherited from WebTest.) |
![]() |
PostTransaction | (Inherited from WebTest.) |
![]() |
PostWebTest | (Inherited from WebTest.) |
![]() |
PrePage | (Inherited from WebTest.) |
![]() |
PreRequest | (Inherited from WebTest.) |
![]() |
PreRequestDataBinding | (Inherited from WebTest.) |
![]() |
PreTransaction | (Inherited from WebTest.) |
![]() |
PreWebTest | (Inherited from WebTest.) |
![]() |
ValidateResponse | (Inherited from WebTest.) |
![]() |
ValidateResponseOnPageComplete | (Inherited from WebTest.) |
Top
Remarks
Do not use the DeclarativeWebTest class as a base class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)