Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Delete Cookies...
#3
Solved: 12 Years, 10 Months, 3 Weeks ago
Hi,

You can use the below codes which will delete all cookies, caches and temporary internet files in IE browser:

Code:
Function ClearCookies()
SystemUtil.Run "Control.exe","inetcpl.cpl"
Set objShell = CreateObject("Wscript.Shell")
Do Until Success = True
Success = objShell.AppActivate("Internet Properties")
Wait(1)
Loop
objShell.Sendkeys "%i"
Wait(1)
objShell.Sendkeys "{ENTER}"
Wait(1)
objShell.Sendkeys "%f"
Wait(1)
objShell.Sendkeys "%d"
Wait(1)
objShell.Sendkeys "{ENTER}"
Wait(4)
objShell.Sendkeys "{ENTER}"
End Function
Call ClearCookies()
Reply


Messages In This Thread
RE: How to Delete Cookies... - by rajpes - 10-19-2011, 04:58 PM
RE: How to Delete Cookies... - by jyotikrushna - 10-21-2011, 07:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Delete Firefox history and Cookies Anupama 0 1,799 06-18-2018, 11:57 AM
Last Post: Anupama
  How to check expected cookies are present or not priyanka.agarwal 0 2,270 07-02-2015, 12:43 PM
Last Post: priyanka.agarwal
  How to delete particular mails in Gmail using QTP rajkumarsm 1 4,626 10-06-2014, 07:03 PM
Last Post: rajkumarsm
  How to delete the cookies (1000 records) akhandesh 1 3,112 09-03-2014, 09:57 AM
Last Post: vinod123
  Delete Gmail email newqtp 4 5,246 07-05-2013, 02:12 PM
Last Post: Staff

Forum Jump:


Users browsing this thread: 1 Guest(s)