Effectively Delete Cookies

Article Tools

Andrew Marin has shared the following QTip, which allows us to quickly and effectively delete all cookies in Internet Explorer.

This can be of great help to anyone who handles multiple user sessions during his tests, or just wants to reset the test environment before starting a test run.

Public Function ieDeleteCookies ()
  SystemUtil.Run "iexplore",,,,0
  WebUtil.DeleteCookies
  SystemUtil.CloseDescendentProcesses
End Function

Thanks Andrew, for you great contribution!

Previous postUniversal class for data manipulations (Russian) Next postUsing Web Anchors to Automate Non-Unique Controls

Related Posts

Post Your Comment

You must be logged in to post a comment.