Export (0) Print
Expand All

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.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

[SerializableAttribute]
public class WebTestCondition : WebTestConditionalConstruct

The WebTestCondition type exposes the following members.

  NameDescription
Public methodWebTestCondition(ConditionalRule)Initializes a new instance of the WebTestCondition class by using the specified ConditionalRule.
Public methodWebTestCondition(ConditionConditionalRuleReference)Initializes a new instance of the WebTestCondition class by using the specified ConditionalRuleReference.
Protected methodWebTestCondition(WebTestCondition)Initializes a new instance of the WebTestCondition class by copying the specified WebTestCondition.
Top

  NameDescription
Public propertyConditionalRuleReferenceGets or sets the reference to a conditional rule. (Inherited from WebTestConditionalConstruct.)
Public propertyConditionConditionalRuleReferenceGets the conditional rule reference for this WebTestCondition.
Public propertyElseItems
Public propertyItemIdZero-based sequence number of the item in the Web performance test. (Inherited from WebTestItem.)
Public propertyItemsGets the collection of WebTestItem objects. (Inherited from WebTestConditionalConstruct.)
Public propertyUniqueStringIdGets or sets the unique string ID. (Inherited from WebTestConditionalConstruct.)
Top

  NameDescription
Public methodCloneCreates a new WebTestCondition object that is a copy of the current instance. (Overrides WebTestItem.Clone().)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecuteCheckConditionalRuleExecutes the conditional rule. (Inherited from WebTestConditionalConstruct.)
Public methodExecuteCleanUpConditionalRulePerforms cleanup after the conditional rule is checked. (Inherited from WebTestConditionalConstruct.)
Public methodExecuteInitializeConditionalRuleInitializes the conditional rule. (Inherited from WebTestConditionalConstruct.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetConditionalRuleTextReturns the text description of the conditional rule. (Inherited from WebTestConditionalConstruct.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitialize(ConditionalRuleReference)Initializes a new referenced conditional rule. (Inherited from WebTestConditionalConstruct.)
Protected methodInitialize(WebTestConditionalConstruct, ConditionalRuleReference)Initializes a new referenced conditional rule by copying the specified ConditionalRuleReference. (Inherited from WebTestConditionalConstruct.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRuntimeCloneCreates a new WebTestCondition object that is a copy of the current instance at run time. (Overrides WebTestItem.RuntimeClone().)
Public methodToString()Returns a String that represents the current WebTestCondition. (Overrides Object.ToString().)
Public methodToString(String)Returns a String that represents the current WebTestCondition based on the specified conditional rule text. (Overrides WebTestConditionalConstruct.ToString(String).)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft