- Cookies are small chunk of information of code placed by the website on the user local/browser cache. QTP provides a way to view/delete cookies. The below mentioned methods can be used for various operation.
- WebUtil.
- DeleteCookie Delete specified cookie for the specified domain
- DeleteCookies Delete all cookies present on the local cache
- GetCookies for a specified domain
- AddCookie Add specified cookie for a specified domain
- There are many other functions available also. But I would not be going into the details of any of these. You can find all the function when you type “webutil.” In the QTP script editor.
Friday, July 18, 2008
Delete cookies with a single line of code
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment