WebTestResultCondition Class
Represents a Web performance test result condition.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultUnit
Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultGroup
Microsoft.VisualStudio.TestTools.WebTesting.WebTestResultCondition
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class WebTestResultCondition _
Inherits WebTestResultGroup _
Implements ICloneable
[SerializableAttribute]
public class WebTestResultCondition : WebTestResultGroup,
ICloneable
[SerializableAttribute]
public ref class WebTestResultCondition : public WebTestResultGroup,
ICloneable
[<SerializableAttribute>]
type WebTestResultCondition =
class
inherit WebTestResultGroup
interface ICloneable
end
public class WebTestResultCondition extends WebTestResultGroup implements ICloneable
The WebTestResultCondition type exposes the following members.
Properties
Name | Description | |
---|---|---|
Children | Gets the children of a group. This can typically be a page or other groups also. Set accessor is set to internal. (Inherited from WebTestResultGroup.) | |
ConditionStringRepresentation | Gets or sets the text representation of the condition. | |
DeclarativeWebTestItemId | Gets or sets the ID of this request in a declarative test. (Inherited from WebTestResultUnit.) | |
ErrorOccurred | Gets or sets the Boolean value that indicates whether an error occurred. | |
IsCompleted | Gets a Boolean value that indicates whether the result status is Completed. (Inherited from WebTestResultUnit.) | |
IsSkipped | Gets a Boolean value that indicates whether this request was skipped. (Inherited from WebTestResultUnit.) | |
Passed | Gets the Boolean value that indicates of whether the Web performance test passed. (Overrides WebTestResultGroup.Passed.) | |
RequestResult | Gets the request result of the Web performance test. | |
ResultStatus | Gets or sets the WebTestResultStatus of this page or request. (Inherited from WebTestResultUnit.) | |
SourceWebTestId | Gets or sets the ID of the Web performance test. (Inherited from WebTestResultUnit.) | |
StopCondition | Gets or sets a condition that could stop the Web performance test execution when encountered during the test. | |
UniqueStringId | Gets or sets the unique string ID for this WebTestResultCondition. |
Top
Methods
Name | Description | |
---|---|---|
AddNonExecutedChildren | Adds the Web performance test items in the result group and marks them as templates. (Inherited from WebTestResultGroup.) | |
Clone | Creates a new WebTestResultCondition that is a copy of the current instance. (Overrides WebTestResultUnit.Clone().) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItem | Retrieves the WebTestResultUnit at the specified index from the collection. (Inherited from WebTestResultGroup.) | |
GetRequestSize | Returns the size of the request. (Inherited from WebTestResultGroup.) | |
GetResponseSize | Returns the size of the response. (Inherited from WebTestResultGroup.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsConditionalRuleMet | Returns a Boolean value that indicates whether the conditional rule was met. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.