The Cookies collection represents all of the HTTP cookies a
single Web browser would store as it requested pages from Web servers.
Because dynamic tests simulate requests from multiple users, there can be several
Cookies objects in use at once, and each one is associated with a particular
User object.
By allowing the storage and updating cookies, the
dynamic test will work with Web applications that rely on cookies to store
information between ASP sessions.
Methods
| Method | Description |
| Add | Adds a Cookie to the collection. |
| Remove | Removes a Cookie from the collection. |
| RemoveAll | Removes all Cookie objects from the collection. |
Properties
| Property | Description |
| Count | Gets the number of Cookie objects in the collection. |
| Item | Returns a Cookie object from the collection. |
See Also
Test Object Model Overview | Cookie Object