QTP Forum
Shopmotion


How to delete cookies using QTP? Empty
Search
 
 

Display results as :
 


Rechercher Advanced Search

Poll
Keywords

Latest topics
September 2019
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Calendar Calendar

Affiliates
free forum


How to delete cookies using QTP?

Go down

How to delete cookies using QTP? Empty Re: How to delete cookies using QTP?

Post by thomasdfg on Wed Jun 18, 2014 4:30 pm

Use WebUtil.DeleteCookies whenever you want to delete cookies from IE.
we now have some other methods as well to delete cookies/browser cache.
To clear Cache from the browser
Browser("Page Title").ClearCache
To delete Cookies from the browser
Browser("Google.com:").DeleteCookies "Google"
The above code will delete cookies for ALL Google domains like google.net, google.com, google.in.  If you wish to remove cookies for a specific domain use the corresponding Top Level Domain
Browser("Google.com:").DeleteCookies "Google.in"
thomasdfg
thomasdfg

Posts : 11
Join date : 2014-06-18
Age : 34
Location : Hyderabad

View user profile

Back to top Go down

How to delete cookies using QTP? Empty Re: How to delete cookies using QTP?

Post by Gajre on Sun Jul 15, 2012 12:45 am

Using a WebUtil method.

Use the below statement to delete all cookies:
WebUtil.DeleteCookies

You may also try to explore other methods associated to the WebUtil method.
Gajre
Gajre
Admin

Posts : 37
Join date : 2012-06-17
Age : 36
Location : Hyderabad

View user profile https://qtpelearning.forumotion.com

Back to top Go down

How to delete cookies using QTP? Empty How to delete cookies using QTP?

Post by rajesh158 on Sat Jul 14, 2012 8:29 pm

can u explain how to delete cookies using qtp?

rajesh158

Posts : 1
Join date : 2012-07-14

View user profile

Back to top Go down

How to delete cookies using QTP? Empty Re: How to delete cookies using QTP?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum