Quality Testing

Quality is delighting customers

Hi All,

 

How to deleted cookie files using  VB script / DP ?

 

Regards,

Namrata

Views: 117

Reply to This

Replies to This Discussion

Hi Namrata,

 

For IE7 browser you can use below function.

Sub ClearCookies()

Set wshshell = CreateObject(“WScript.Shell”)
WshShell.Run “Rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 255″, 1, true
End Sub

Thanks Aruna.

just use a single statement

webutil.deletecookies

deletecookies() is a method of webutil object to remove all existing cookies in ur computer

 

Thanks Pradeep

welcome

 

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service