WebTestConditionalConstruct Class

Base class for the conditional loop and the conditional statement constructs.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
    Microsoft.VisualStudio.TestTools.WebTesting.WebTestConditionalConstruct
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestCondition
      Microsoft.VisualStudio.TestTools.WebTesting.WebTestLoop

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class WebTestConditionalConstruct _
    Inherits WebTestItem
[SerializableAttribute]
public abstract class WebTestConditionalConstruct : WebTestItem
[SerializableAttribute]
public ref class WebTestConditionalConstruct abstract : public WebTestItem
[<AbstractClass>]
[<SerializableAttribute>]
type WebTestConditionalConstruct =  
    class 
        inherit WebTestItem 
    end
public abstract class WebTestConditionalConstruct extends WebTestItem

The WebTestConditionalConstruct type exposes the following members.

Constructors

  Name Description
Protected method WebTestConditionalConstruct() Initializes a new instance of the WebTestConditionalConstruct class.
Protected method WebTestConditionalConstruct(WebTestConditionalConstruct) Initializes a new instance of the WebTestConditionalConstruct class by copying the specified WebTestConditionalConstruct.

Top

Properties

  Name Description
Public property ConditionalRuleReference Gets or sets the reference to a conditional rule.
Public property ItemId Zero-based sequence number of the item in the Web performance test. (Inherited from WebTestItem.)
Public property Items Gets the collection of WebTestItem objects.
Public property UniqueStringId Gets or sets the unique string ID.

Top

Methods

  Name Description
Public method Clone When it is overridden in a derived class, creates a copy of this object. (Inherited from WebTestItem.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method ExecuteCheckConditionalRule Executes the conditional rule.
Public method ExecuteCleanUpConditionalRule Performs cleanup after the conditional rule is checked.
Public method ExecuteInitializeConditionalRule Initializes the conditional rule.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetConditionalRuleText Returns the text description of the conditional rule.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize(ConditionalRuleReference) Initializes a new referenced conditional rule.
Protected method Initialize(WebTestConditionalConstruct, ConditionalRuleReference) Initializes a new referenced conditional rule by copying the specified ConditionalRuleReference.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RuntimeClone Returns a clone of this object at run time. (Inherited from WebTestItem.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ToString(String) Returns a String that represents the current WebTestConditionalConstruct.

Top

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.

See Also

Reference

Microsoft.VisualStudio.TestTools.WebTesting Namespace