Share via


WebTestResponse.Cookies Property

Gets the cookies associated with the response.

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

Syntax

'Declaration
Public ReadOnly Property Cookies As CookieCollection
'Usage
Dim instance As WebTestResponse 
Dim value As CookieCollection 

value = instance.Cookies
public CookieCollection Cookies { get; }
public:
property CookieCollection^ Cookies {
    CookieCollection^ get ();
}
public function get Cookies () : CookieCollection

Property Value

Type: System.Net.CookieCollection
A CookieCollection collection.

Remarks

Cookies set by the Web server are maintained by the test engine to be used throughout the entire Web test.

.NET Framework Security

See Also

Reference

WebTestResponse Class

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

HTTP