1
Reply

how to delete webpage cookies through QTP script

    hi Ramesh,

    Add the all objects in to the OR and write code

    Browser("Browser").WinToolbar("ToolbarWindow32").Press "&Tools"
    Browser("Browser").WinMenu("ContextMenu").Select "Tools;Internet Options..."
    Browser("Browser").Dialog("Internet Options").WinButton("Delete Cookies").Click
    Browser("Browser").Dialog("Internet Options").Dialog("Delete Cookies").WinButton("OK").Click
    Browser("Browser").Dialog("Internet Options").WinButton("OK").Click

    if you want any other clarification let me know...

    Regards,

    Shiva