Export (0) Print
Expand All

CookieComparisonRule Class

Class to contain a conditional rule that checks the value of a cookie.

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.ConditionalRule
    Microsoft.VisualStudio.TestTools.WebTesting.Rules.CookieComparisonRule

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

public class CookieComparisonRule : ConditionalRule

The CookieComparisonRule type exposes the following members.

  NameDescription
Public methodCookieComparisonRuleInitializes a new instance of the CookieComparisonRule class.
Top

  NameDescription
Public propertyComparisonOperatorGets or sets the comparison operator.
Public propertyCookieDomainNameGets or sets the cookie domain name.
Public propertyCookieNameGets or sets the cookie name.
Public propertyCookiePathGets or sets the cookie path.
Public propertyCookieValueGets or sets the cookie value.
Public propertyIgnoreCaseGets or sets the Boolean indicator of whether to ignore case.
Public propertyUseRegularExpressionGets or sets the Boolean value of whether to use regular expressions.
Public propertyWebpageGets or sets the Web page.
Top

  NameDescription
Public methodCheckConditionDetermines whether the condition was met. (Overrides ConditionalRule.CheckCondition(Object, ConditionalEventArgs).)
Public methodCleanUpCalled after the loop or condition has finished executing. This includes any requests in the body. Any cleanup code that is relevant to the conditional rule must be added to this method. (Inherited from ConditionalRule.)
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 the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeCalled before the first CheckCondition call is made. Any initialization code that is relevant to the conditional rule should be added to this method. (Inherited from ConditionalRule.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStringRepresentationConverts the rule to a string to be displayed in the tree. (Overrides ConditionalRule.StringRepresentation().)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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