Web Cookie Testing

 A web cookie is a piece of information stored in a text file on a user’s hard drive by a web server. Cookie testing of a web application involves checking the cookies created in the web browser to ensure they function as intended. This information is sent back to the server each time the browser requests a page from the server, enabling personalized user communication across different web pages. Web cookie testing ensures that cookies stored by one website are not accessible by other websites. It also verifies that your website is correctly storing cookies across different browsers as specified in your requirements and that these cookies are used appropriately.

Validate no sensitive or personal data is stored in the cookie, like credit card details, or other customer banking details and if there’s no option then make sure the stored data is encrypted. Delete the cookie files and test the behaviour of the web application.

All browsers should be closed and the existing cookies should be properly deleted. There should not be any page crashes or issues in smoothly accessing the web application. Check the behaviour of web applications by manually corrupting the cookies.

Each browser stores cookies at a particular location. Close all browsers edit the cookie file in Notepad and manually change the parameters to some other values like cookie expiry date, cookie content, cookie name etc. Check if the application prompts an alert message to the user and the user should not be able to access other users accounts.

Leave a comment

Your email address will not be published. Required fields are marked *