WebTestCondition Class
This class represents the conditional statement constructs. It contains a collection of Web performance test items that are executed when the conditional rule is met.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::WebTestItem
Microsoft.VisualStudio.TestTools.WebTesting::WebTestConditionalConstruct
Microsoft.VisualStudio.TestTools.WebTesting::WebTestCondition
| Name | Description | |
|---|---|---|
![]() | WebTestCondition(ConditionalRule^) | Initializes a new instance of the WebTestCondition class by using the specified ConditionalRule. |
![]() | WebTestCondition(ConditionConditionalRuleReference^) | Initializes a new instance of the WebTestCondition class by using the specified ConditionalRuleReference. |
![]() | WebTestCondition(WebTestCondition^) | Initializes a new instance of the WebTestCondition class by copying the specified WebTestCondition. |
| Name | Description | |
|---|---|---|
![]() | ConditionalRuleReference | Gets or sets the reference to a conditional rule.(Inherited from WebTestConditionalConstruct.) |
![]() | ConditionConditionalRuleReference | Gets the conditional rule reference for this WebTestCondition. |
![]() | ElseItems | |
![]() | ItemId | Zero-based sequence number of the item in the Web performance test.(Inherited from WebTestItem.) |
![]() | Items | Gets the collection of WebTestItem objects.(Inherited from WebTestConditionalConstruct.) |
![]() | UniqueStringId | Gets or sets the unique string ID.(Inherited from WebTestConditionalConstruct.) |
| Name | Description | |
|---|---|---|
![]() | Clone() | Creates a new WebTestCondition object that is a copy of the current instance.(Overrides WebTestItem::Clone().) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | ExecuteCheckConditionalRule(WebTest^) | Executes the conditional rule.(Inherited from WebTestConditionalConstruct.) |
![]() | ExecuteCleanUpConditionalRule(WebTest^) | Performs cleanup after the conditional rule is checked.(Inherited from WebTestConditionalConstruct.) |
![]() | ExecuteInitializeConditionalRule(WebTest^) | Initializes the conditional rule.(Inherited from WebTestConditionalConstruct.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetConditionalRuleText() | Returns the text description of the conditional rule.(Inherited from WebTestConditionalConstruct.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize(ConditionalRuleReference^) | Initializes a new referenced conditional rule.(Inherited from WebTestConditionalConstruct.) |
![]() | Initialize(WebTestConditionalConstruct^, ConditionalRuleReference^) | Initializes a new referenced conditional rule by copying the specified ConditionalRuleReference.(Inherited from WebTestConditionalConstruct.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RuntimeClone() | Creates a new WebTestCondition object that is a copy of the current instance at run time.(Overrides WebTestItem::RuntimeClone().) |
![]() | ToString() | Returns a String that represents the current WebTestCondition.(Overrides Object::ToString().) |
![]() | ToString(String^) | Returns a String that represents the current WebTestCondition based on the specified conditional rule text.(Overrides WebTestConditionalConstruct::ToString(String^).) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


