Hi,
We're currently trying to speed up our tests by not launching a new browser with each test we run. Instead, we're keeping the active browser open and deleting the cache and cookies to restore the browser to its initial state (e.g. making sure the user is no longer logged in).
So far we've tried calling Cookies.DeleteCookies() as well as ClearCache(BrowserCacheType.Cookies), but neither seem to be deleting the session cookies in IE8. The current behavior I'm seeing is that after calling these methods and re-navigating to our site, the user still remains logged in.
Does anyone know the solution to this? Thanks.
We're currently trying to speed up our tests by not launching a new browser with each test we run. Instead, we're keeping the active browser open and deleting the cache and cookies to restore the browser to its initial state (e.g. making sure the user is no longer logged in).
So far we've tried calling Cookies.DeleteCookies() as well as ClearCache(BrowserCacheType.Cookies), but neither seem to be deleting the session cookies in IE8. The current behavior I'm seeing is that after calling these methods and re-navigating to our site, the user still remains logged in.
Does anyone know the solution to this? Thanks.