Forum Discussion

sumit_engineer's avatar
sumit_engineer
Occasional Contributor
11 years ago

How to ClearCache and Cookies from Internet Explorer 9

How to ClearCache and Cookies for Internet Explorer 9 in test complete using vb script as the language . Please help .
  • hlalumiere's avatar
    11 years ago
    You can use the following call to clear cache, cookies, passwords, and anything else. If you want to be more selective you will have to change the 255 value to something else. You should be able to find the proper values through Google...



        Set objShell = CreateObject("WScript.Shell")

        objShell.Run "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255"