there are 6 ways to test the cookies.
- Typically, website should be work as expected even cookie is disable. to test this case, disable to cookies from internet browser settings. and try to access the website or web application. in this case application should work as expected.
- Configure the internet browser to prompt the cookie for acceptance or rejection. try several times by accepting and rejecting the cookies and observe the behavior.
- Edit Cookie file in any text editor and modify the some parameters, due to modification of cookie, it gets corrupted now access the website and see its behavior
- Remove the all cookies and from defined location ( usually its Temp folder) and check the behavior of pages.
- Check the cookies behavior on different browsers.
- Open the cookies in Text editor and make sure that all sensitive information like user password, session ids are encrypted properly.
cookies plays very important role in website world, so do not forget to test it!