We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WebTestResultCondition Class

Represents a Web performance test result condition.

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

public class WebTestResultCondition : WebTestResultGroup, 

The WebTestResultCondition type exposes the following members.

Public propertyChildrenGets the children of a group. This can typically be a page or other groups also. Set accessor is set to internal. (Inherited from WebTestResultGroup.)
Public propertyConditionStringRepresentationGets or sets the text representation of the condition.
Public propertyDeclarativeWebTestItemIdGets or sets the ID of this request in a declarative test. (Inherited from WebTestResultUnit.)
Public propertyErrorOccurredGets or sets the Boolean value that indicates whether an error occurred.
Public propertyIsCompletedGets a Boolean value that indicates whether the result status is Completed. (Inherited from WebTestResultUnit.)
Public propertyIsSkippedGets a Boolean value that indicates whether this request was skipped. (Inherited from WebTestResultUnit.)
Public propertyPassedGets the Boolean value that indicates of whether the Web performance test passed. (Overrides WebTestResultGroup.Passed.)
Public propertyRequestResultGets the request result of the Web performance test.
Public propertyResultStatusGets or sets the WebTestResultStatus of this page or request. (Inherited from WebTestResultUnit.)
Public propertySourceWebTestIdGets or sets the ID of the Web performance test. (Inherited from WebTestResultUnit.)
Public propertyStopConditionGets or sets a condition that could stop the Web performance test execution when encountered during the test.
Public propertyUniqueStringIdGets or sets the unique string ID for this WebTestResultCondition.

Protected methodAddNonExecutedChildrenAdds the Web performance test items in the result group and marks them as templates. (Inherited from WebTestResultGroup.)
Public methodCloneCreates a new WebTestResultCondition that is a copy of the current instance. (Overrides WebTestResultUnit.Clone().)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetItemRetrieves the WebTestResultUnit at the specified index from the collection. (Inherited from WebTestResultGroup.)
Public methodGetRequestSizeReturns the size of the request. (Inherited from WebTestResultGroup.)
Public methodGetResponseSizeReturns the size of the response. (Inherited from WebTestResultGroup.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsConditionalRuleMetReturns a Boolean value that indicates whether the conditional rule was met.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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