Your SlideShare is downloading. ×
0
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Cookies testing
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Cookies testing

1,950

Published on

cookie testing

cookie testing

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,950
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
57
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. COOKIE TESTINGPrepared By – Abhinav Pal
  • 2. What is Cookie•A cookie is some small information stored in a textfile on the user’s hard drive by a web server•Later used by the web browser to retrieveinformation from that machine•Instructions for reading and writing cookies arecoded by website authors and executed by userbrowsers
  • 3. Why are Cookies used•Cookies are nothing but the user’s identity andused to track where the user has navigatedthroughout the web site pages•The communication between the web browserand the web server is stateless
  • 4. Applications where cookies can be used•To implement a shopping cart•Personalized sites•User tracking•Marketing•User sessions
  • 5. How to test cookies•Disabling Cookies1. This is probably the easiest area of cookie testing2. Disable all cookies and attempt to use the site’s major features and functions3. With cookies disabled, our testing job is somewhat reduced
  • 6. Continued…•Selectively Rejecting Cookies1. Start by deleting all cookies from our PC2. Analyze site cookie usage in advance and draw up a test plan3. Detailing what cookies to reject/accept for each function
  • 7. Continued…•Corrupting Cookies1. Altering the data in the persistent cookies2. Allow the cookie to be modified3. Selectively deleting cookies
  • 8. Continued…•Cookies Encryption1. By using encryption of the cookie data2. Sensitive information like usernames and passwords should be encrypted before it is sent to our computer3. A case can certainly be made that certain types of sensitive data – credit card numbers
  • 9. Test Cases For Cookie Testing•Check if the application is writing cookies properlyor not•Test to make sure that no personal or sensitive data isstored in the cookie. If it is there in cookies, it shouldbe in encrypted format•If the application under test is a public website, thereshould not be overuse of cookies
  • 10. Continued…•Close all browsers, delete all previously writtencookies and disable the cookies from our browsersettings•Set browser options to prompt whenever cookie isbeing stored / saved in your system•Close all browsers windows and manually delete allcookies
  • 11. Continued…•Edit few cookies manually in notepad or some othereditor•Cookies written by one web site should not beaccessible by other website•If we are testing an online shopping portal, Check ifreaching to our final order summary page deletes thecookie of previous page of shopping cart properly
  • 12. Conclusion•Cookies shouldnt be put in the same category as theviruses, spam, or spyware•They are the tools to help us and manage our timemore efficiently on the web•Testing should be done properly to check thatwebsite is working with different cookie setting
  • 13. Thank You

×