Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CookieComparisonRule Class

 

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

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

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

public class CookieComparisonRule : ConditionalRule

NameDescription
System_CAPS_pubmethodCookieComparisonRule()

Initializes a new instance of the CookieComparisonRule class.

NameDescription
System_CAPS_pubpropertyComparisonOperator

Gets or sets the comparison operator.

System_CAPS_pubpropertyCookieDomainName

Gets or sets the cookie domain name.

System_CAPS_pubpropertyCookieName

Gets or sets the cookie name.

System_CAPS_pubpropertyCookiePath

Gets or sets the cookie path.

System_CAPS_pubpropertyCookieValue

Gets or sets the cookie value.

System_CAPS_pubpropertyIgnoreCase

Gets or sets the Boolean indicator of whether to ignore case.

System_CAPS_pubpropertyUseRegularExpression

Gets or sets the Boolean value of whether to use regular expressions.

System_CAPS_pubpropertyWebpage

Gets or sets the Web page.

NameDescription
System_CAPS_pubmethodCheckCondition(Object, ConditionalEventArgs)

Determines whether the condition was met.(Overrides ConditionalRule.CheckCondition(Object, ConditionalEventArgs).)

System_CAPS_pubmethodCleanUp(Object, ConditionalEventArgs)

Called 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.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitialize(Object, ConditionalEventArgs)

Called 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.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodStringRepresentation()

Converts the rule to a string to be displayed in the tree.(Overrides ConditionalRule.StringRepresentation().)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: