WebTestLoop Class
Represents a conditional loop that contains a collection of Web performance test items that are executed as long as the conditional rule is met.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
Microsoft.VisualStudio.TestTools.WebTesting.WebTestConditionalConstruct
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 Class WebTestLoop _
Inherits WebTestConditionalConstruct
[SerializableAttribute]
public class WebTestLoop : WebTestConditionalConstruct
[SerializableAttribute]
public ref class WebTestLoop : public WebTestConditionalConstruct
[<SerializableAttribute>]
type WebTestLoop =
class
inherit WebTestConditionalConstruct
end
public class WebTestLoop extends WebTestConditionalConstruct
The WebTestLoop type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WebTestLoop(LoopConditionalRuleReference) | Initializes a new instance of the WebTestLoop class by using the specified LoopConditionalRuleReference. | |
WebTestLoop(WebTestLoop) | Initializes a new instance of the WebTestLoop class by copying the specified WebTestLoop. | |
WebTestLoop(ConditionalRule, Int32, Boolean) | Initializes a new instance of the WebTestLoop class by using the specified parameters. |
Top
Properties
Name | Description | |
---|---|---|
ConditionalRuleReference | Gets or sets the reference to a conditional rule. (Inherited from WebTestConditionalConstruct.) | |
CurrentIterationNumber | Gets the current iteration number. | |
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.) | |
LoopConditionalRuleReference | Gets the LoopConditionalRuleReference. | |
UniqueStringId | Gets or sets the unique string ID. (Inherited from WebTestConditionalConstruct.) |
Top
Methods
Name | Description | |
---|---|---|
Clone | Creates a new WebTestLoop that is a copy of the current instance. (Overrides WebTestItem.Clone().) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExecuteCheckConditionalRule | (Overrides WebTestConditionalConstruct.ExecuteCheckConditionalRule(WebTest).) | |
ExecuteCleanUpConditionalRule | Performs cleanup after the conditional rule is checked. (Inherited from WebTestConditionalConstruct.) | |
ExecuteInitializeConditionalRule | Initializes the conditional rule. (Overrides WebTestConditionalConstruct.ExecuteInitializeConditionalRule(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.) | |
GetConditionalRuleText | Returns the text description of the conditional rule. (Inherited from WebTestConditionalConstruct.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (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 | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterDataSource | Registers the specified data source and data table. | |
RuntimeClone | Creates a new WebTestLoop that is a copy of the current instance at runtime. (Overrides WebTestItem.RuntimeClone().) | |
ToString() | Returns a String that represents the current WebTestLoop. (Overrides Object.ToString.) | |
ToString(String) | Returns a String that represents the current WebTestLoop. (Overrides WebTestConditionalConstruct.ToString(String).) |
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.