Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

NameDescription
System_CAPS_pubmethodWebTestCondition(ConditionalRule)

Initializes a new instance of the WebTestCondition class by using the specified ConditionalRule.

System_CAPS_pubmethodWebTestCondition(ConditionConditionalRuleReference)

Initializes a new instance of the WebTestCondition class by using the specified ConditionalRuleReference.

System_CAPS_protmethodWebTestCondition(WebTestCondition)

Initializes a new instance of the WebTestCondition class by copying the specified WebTestCondition.

NameDescription
System_CAPS_pubpropertyConditionalRuleReference

Gets or sets the reference to a conditional rule.(Inherited from WebTestConditionalConstruct.)

System_CAPS_pubpropertyConditionConditionalRuleReference

Gets the conditional rule reference for this WebTestCondition.

System_CAPS_pubpropertyElseItems

System_CAPS_pubpropertyItemId

Zero-based sequence number of the item in the Web performance test.(Inherited from WebTestItem.)

System_CAPS_pubpropertyItems

Gets the collection of WebTestItem objects.(Inherited from WebTestConditionalConstruct.)

System_CAPS_pubpropertyUniqueStringId

Gets or sets the unique string ID.(Inherited from WebTestConditionalConstruct.)

NameDescription
System_CAPS_pubmethodClone()

Creates a new WebTestCondition object that is a copy of the current instance.(Overrides WebTestItem.Clone().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecuteCheckConditionalRule(WebTest)

Executes the conditional rule.(Inherited from WebTestConditionalConstruct.)

System_CAPS_pubmethodExecuteCleanUpConditionalRule(WebTest)

Performs cleanup after the conditional rule is checked.(Inherited from WebTestConditionalConstruct.)

System_CAPS_pubmethodExecuteInitializeConditionalRule(WebTest)

Initializes the conditional rule.(Inherited from WebTestConditionalConstruct.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetConditionalRuleText()

Returns the text description of the conditional rule.(Inherited from WebTestConditionalConstruct.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitialize(ConditionalRuleReference)

Initializes a new referenced conditional rule.(Inherited from WebTestConditionalConstruct.)

System_CAPS_protmethodInitialize(WebTestConditionalConstruct, ConditionalRuleReference)

Initializes a new referenced conditional rule by copying the specified ConditionalRuleReference.(Inherited from WebTestConditionalConstruct.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRuntimeClone()

Creates a new WebTestCondition object that is a copy of the current instance at run time.(Overrides WebTestItem.RuntimeClone().)

System_CAPS_pubmethodToString()

Returns a String that represents the current WebTestCondition.(Overrides Object.ToString().)

System_CAPS_pubmethodToString(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.

Return to top
Show: