Website Cookie Testing, Test cases for testing web application cookies?

We will first focus on what exactly cookies are and how they work. It would be easy for you to understand the test cases for testing cookies when you have clear understanding of how cookies work? How cookies stored on hard drive? And how can we edit cookie settings?

What is Cookie?
Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve information from that machine. Generally cookie contains personalized user data or information that is used to communicate between different web pages.

Why Cookies are used?
Cookies are nothing but the user’s identity and used to track where the user navigated throughout the web site pages. The communication between web browser and web server is stateless.

For example if you are accessing domain then web browser will simply query to web server for the page 1.html. Next time if you type page as then new request is send to web server for sending 2.html page and web server don’t know anything about to whom the previous page 1.html served.

What if you want the previous history of this user communication with the web server? You need to maintain the user state and interaction between web browser and web server somewhere. This is where cookie comes into picture. Cookies serve the purpose of maintaining the user interactions with web server.

How cookies work?
The HTTP protocol used to exchange information files on the web is used to maintain the cookies. There are two types of HTTP protocol. Stateless HTTP and Stateful HTTP protocol. Stateless HTTP protocol does not keep any record of previously accessed web page history. While Stateful HTTP protocol do keep some history of previous web browser and web server interactions and this protocol is used by cookies to maintain the user interactions.

Whenever user visits the site or page that is using cookie, small code inside that HTML page (Generally a call to some language script to write the cookie like cookies in JAVAScript, PHP, Perl) writes a text file on users machine called cookie.
Here is one example of the code that is used to write cookie and can be placed inside any HTML page:

Set-Cookie: NAME=VALUE; expires=DATE; path=PATH; domain=DOMAIN_NAME;

When user visits the same page or domain later time this cookie is read from disk and used to identify the second visit of the same user on that domain. Expiration time is set while writing the cookie. This time is decided by the application that is going to use the cookie.

Generally two types of cookies are written on user machine.

1) Session cookies: This cookie is active till the browser that invoked the cookie is open. When we close the browser this session cookie gets deleted. Some time session of say 20 minutes can be set to expire the cookie.
2) Persistent cookies: The cookies that are written permanently on user machine and lasts for months or years.

Where cookies are stored?
When any web page application writes cookie it get saved in a text file on user hard disk drive. The path where the cookies get stored depends on the browser. Different browsers store cookie in different paths. E.g. Internet explorer store cookies on path “C:\Documents and Settings\Default User\Cookies”
Here the “Default User” can be replaced by the current user you logged in as. Like “Administrator”, or user name like “Vijay” etc.
The cookie path can be easily found by navigating through the browser options. In Mozilla Firefox browser you can even see the cookies in browser options itself. Open the Mozila browser, click on Tools->Options->Privacy and then “Show cookies” button.

How cookies are stored?
Lets take example of cookie written by on Mozilla Firefox browser:
On Mozilla Firefox browser when you open the page or login to your rediffmail account, a cookie will get written on your Hard disk. To view this cookie simply click on “Show cookies” button mentioned on above path. Click on site under this cookie list. You can see different cookies written by rediff domain with different names.

Site: Cookie name: RMID
Name: RMID (Name of the cookie)
Content: 1d11c8ec44bf49e0… (Encrypted content)
Path: / (Any path after the domain name)
Send For: Any type of connection
Expires: Thursday, December 31, 2020 11:59:59 PM

Applications where cookies can be used:

1) To implement shopping cart:
Cookies are used for maintaining online ordering system. Cookies remember what user wants to buy. What if user adds some products in their shopping cart and if due to some reason user don’t want to buy those products this time and closes the browser window? When next time same user visits the purchase page he can see all the products he added in shopping cart in his last visit.

2) Personalized sites:
When user visits certain pages they are asked which pages they don’t want to visit or display. User options are get stored in cookie and till the user is online, those pages are not shown to him.

3) User tracking:
To track number of unique visitors online at particular time.

4) Marketing:
Some companies use cookies to display advertisements on user machines. Cookies control these advertisements. When and which advertisement should be shown? What is the interest of the user? Which keywords he searches on the site? All these things can be maintained using cookies.

5) User sessions:
Cookies can track user sessions to particular domain using user ID and password.

Drawbacks of cookies:

1) Even writing Cookie is a great way to maintain user interaction, if user has set browser options to warn before writing any cookie or disabled the cookies completely then site containing cookie will be completely disabled and can not perform any operation resulting in loss of site traffic.

2) Too many Cookies:
If you are writing too many cookies on every page navigation and if user has turned on option to warn before writing cookie, this could turn away user from your site.

3) Security issues:
Some times users personal information is stored in cookies and if someone hack the cookie then hacker can get access to your personal information. Even corrupted cookies can be read by different domains and lead to security issues.


4) Sensitive information:
Some sites may write and store your sensitive information in cookies, which should not be allowed due to privacy concerns.

This should be enough to know what cookies are. If you want more cookie info see Cookie Central page.

Some Major Test cases for web application cookie testing:

The first obvious test case is to test if your application is writing cookies properly on disk. You can use the Cookie Tester application also if you don’t have any web application to test but you want to understand the cookie concept for testing.

Test cases: 

1) As a Cookie privacy policy make sure from your design documents that no personal or sensitive data is stored in the cookie.

2) If you have no option than saving sensitive data in cookie make sure data stored in cookie is stored in encrypted format.

3) Make sure that there is no overuse of cookies on your site under test. Overuse of cookies will annoy users if browser is prompting for cookies more often and this could result in loss of site traffic and eventually loss of business.

4) Disable the cookies from your browser settings: If you are using cookies on your site, your sites major functionality will not work by disabling the cookies. Then try to access the web site under test. Navigate through the site. See if appropriate messages are displayed to user like “For smooth functioning of this site make sure that cookies are enabled on your browser”. There should not be any page crash due to disabling the cookies. (Please make sure that you close all browsers, delete all previously written cookies before performing this test)

5) Accepts/Reject some cookies: The best way to check web site functionality is, not to accept all cookies. If you are writing 10 cookies in your web application then randomly accept some cookies say accept 5 and reject 5 cookies. For executing this test case you can set browser options to prompt whenever cookie is being written to disk. On this prompt window you can either accept or reject cookie. Try to access major functionality of web site. See if pages are getting crashed or data is getting corrupted.

6) Delete cookie: Allow site to write the cookies and then close all browsers and manually delete all cookies for web site under test. Access the web pages and check the behavior of the pages.

7) Corrupt the cookies: Corrupting cookie is easy. You know where cookies are stored. Manually edit the cookie in notepad and change the parameters to some vague values. Like alter the cookie content, Name of the cookie or expiry date of the cookie and see the site functionality. In some cases corrupted cookies allow to read the data inside it for any other domain. This should not happen in case of your web site cookies. Note that the cookies written by one domain say can’t be accessed by other domain say unless and until the cookies are corrupted and someone trying to hack the cookie data.

8 ) Checking the deletion of cookies from your web application page: Some times cookie written by domain say may be deleted by same domain but by different page under that domain. This is the general case if you are testing some ‘action tracking’ web portal. Action tracking or purchase tracking pixel is placed on the action web page and when any action or purchase occurs by user the cookie written on disk get deleted to avoid multiple action logging from same cookie. Check if reaching to your action or purchase page deletes the cookie properly and no more invalid actions or purchase get logged from same user.

9) Cookie Testing on Multiple browsers: This is the important case to check if your web application page is writing the cookies properly on different browsers as intended and site works properly using these cookies. You can test your web application on Major used browsers like Internet explorer (Various versions), Mozilla Firefox, Netscape, Opera etc.

10) If your web application is using cookies to maintain the logging state of any user then log in to your web application using some username and password. In many cases you can see the logged in user ID parameter directly in browser address bar. Change this parameter to different value say if previous user ID is 100 then make it 101 and press enter. The proper access message should be displayed to user and user should not be able to see other users account.

These are some Major test cases to be considered while testing website cookies. You can write multiple test cases from these test cases by performing various combinations. If you have some different application scenario, you can mention your test cases in comments below.

The Best Software Testing Training You'll Ever Get!

software testing course QA training


#1 Sheetal

Thanks Vijay for this article. Now got clear idea of cookies. Earlier I was having lot confusion about cookies. Cookie info and test cases are very good..

#2 ruchi

Tahnks for this info ,really helpful in clearly understood of cookies concept.

#3 Sumanth

Hi Vijay,
We gained more knowledge from this article. Its very useful.

#4 Shahul

Really a very useful Article…

#5 vikas

G8t help…..keep up the good work!!!!!

#6 saikrishna reddy .k

really its very useful now i got the idea abt cookies

#7 remu

Thanks a lot for sharing a great information like this with us.Now I am able to clear many doubts about cookies from this article.
it’s really a great work.

#8 Ravi kumar

@ vijay

How many types of regression testing?
What are the documents that we have in SRS (SDLC)

#9 surendra

vijay how to corrupt cookies in mozilla…i am not able to edit the content..please explain the process of editing in mozilla

#10 Raj

good article

#11 vasundhara

Great help.Really i got an idea about cookies

#12 Sachin

Hi GR8 Information, So if possible can u provide some test cases on Browser JavaScript Support.

#13 pavani


Is there any format to prepare TRM?if so, kindly post the details

#14 pavani


Currently I am working on Web Based application ,where we have written test cases,now we r in the process of automating the test cases.could u kindly sugest with an example how to create a test bed?

#15 Srini

Good one it’s really use full article…..

#16 Mruga

Hey really its very good and helpful.Since long time i am searching on this as want to know about this.By reading your article it clears all my queries.

Thanks a Lot!!

#17 Mruga

Have any information realted to “Browser JavaScript Support” testing?

#18 sushil

nice info….really helps

#19 Sayak

can somebody provide me with test cases dealing with security testing of web applications?

#20 Lakshmi

Really a nice one .keep going.

#21 Priya

excellent site.provides detailed information.Thank you very much.

#22 Sayak Saha

Thanks.The material is really good and is of immense help.
Great work buddy.

#23 meenakshi

Very Good information on Cookies…..thnaku verymuch

#24 Sayak

How to send modified requests from my browser?How can i modify the requests?

#25 Prashant Netke

This is a very good article, cookies play very important role in maintaining user data especially in web applications. As the security concerns are becoming more critical for banking & financial web application, cookies help in tracking the frauds. My kind suggestion to all my Tester friends working on Banking & Security domain that they must perform the cookie testing & application performance under different cookie scenario, to make their application robust & perfect.
Special thanks to the writer.

#26 Dhananjay

Good one …

#27 Susanta Kumar Das

Really the article is helpful. Could u guide me how to prepare for CSTP. Pls. suggest me where to get dumps and course ware.

#28 Avi

Gr8 article , gets vital information regarding the cookies and the cookie testing and test cases for the same ! thanks man !

#29 Ashok

Thanks a lot Vijay
Gr8 Article about cookies. Very helpful document
Really i got an idea about cookies

#30 Allwin

Anybody knows, what is cookie testing, how is it perform ?


#31 Rao Davuluri

It’s very good site that would be helpful for the testers. i appriacte the topics coverd and giving in details information.

#32 sharad

i want more test case on cokies testing

#33 Goverdhan Goud

This is Goverdhan
Pls could u give me
1)Software testing questions and answers.
2)CSTE&CSQA exam related model questions and answers.

#34 shashi vardhan

pls could u give me
1)Software testing questions and answers
2)CSTE &CSQA exam related questions and answers

#35 srinivas

it is really good …nice article

#36 renish

really above information is really help full, i m manual tester but i havent any idea about the cookie , now i m able to test cookie, and face the interview

#37 sridhar

Thank u.This is very helping for every one.

#38 Guna

gr8 article..

#39 Nishant

Its really good…..this is very helpful article….

#40 vidhya

Really it’s a exellent information. Now I clearly comes to Know What is Cookies. My Long time search has concluded. Thank You Very Much :)

#41 Srinivas

Very good approach. useful for the beginners

#42 vishal

Thank you..
that will definately help to improve our performance.

#43 saboor

Hi,I want to know that which automation tool is best in software testing (Mercury or rational).And how much is required to be done perfectly.

#44 saboor

Hi,I want to know that which automation tool is best in software testing (Mercury or rational).And how much is time is required to be done perfectly.

#45 kishore

Hi Vijay,

Thanks lot for the information.
Now i got a clear picture abt cookies and how to validate them.

#46 Mahesh

Really a good info…

#47 Mahesh

hi i am mahesh deshmukh

#48 prashant


It’s a very useful article, getting an clear idea about cockies.

#49 Karthik

Its very good

#50 Padmaja

Thanks a lot. this is really a good stuff. Keep up your good job.

#51 Stella

Geee… this is great…. it’ll help me alot in testing websites…. Thanks!!! c’,)

#52 Basu

excellent site.
Could you give me any one mobile games & applications development compnies list & related links.

#53 RamaSubramanian

Can anyone in this forum give me the site where I can download useful question and articles Testing related on Client Server and N-tier applications.

#54 Anjireddy


we have gained more knowledge from this site

#55 Suresh

Its a nice article, if any having material about SAP testing please mail me.

#56 Suresh

#57 vijay

hey this article fetched me lot of this thanks… could u please tell me how to know whether application is writing cookies r not?

#58 Ali

thanks, you have given good idea about cookies

#59 Sqatester_Elite

That’s for the information!

#60 sugumar

Thanx a lot,
This article is really informative.

#61 munna

Hi Vijay
Thanks for sharing valuable information regarding cookies
These wll be very useful for me in web site testing
Thanks once again and update new issues

#62 munna

Thanks Vijay
now i got a clear idea about cookies and how to test them

#63 sundar paul

Excellent info……..and good Test Cases for Testing Cookies.

#64 Pramod Bellad

Very Use ful, Got some useful idea

#65 Pramod Bellad


#66 Rajesh

Very Good Site on Testing

#67 Sham Patil

Nice Explination about Cookies ,Thanks to u.

#68 s saritha

very useful info…
once again thanks a lot…

#69 Jyoti

Thanks to provide such useful information,its easy to understand and important interview question.

#70 jeevan

Thank you for the information

#71 Basu

Very Good Site on Testing
Please send me mobile applications test cases & related materials.

#72 Rachana

It’s really very good article

#73 Rachana

please tell me what is Root cause code. i really confuse with this word.

Thank you in advance

#74 Prasad Gandra

Hi vijay..

Good work…
Thanks a lot .

#75 Purushotham Reddy

I am working on QTP. i wan to automate Outlook functionality(e.g.Sending Mails, Read the Mails, count Unread mials in Inbox.etc……)
I just want to know the function for Counting Unread mails from Inbox. Reply back to me if anyone knows the same.

Purushotham Reddy.

#76 Raj

Really it’s a exellent information. Now I clearly comes to Know What is Cookies. Thanks………. thanks……..

#77 Raj

plz mr. vijay can u provide me bug reporting format.

#78 stanley


#79 Kranthi

Iam a fresher in testing field. nw I’m testing a web based application. i want to know what all procedures( in WBT & BBT) I hav to do for a successful test.

Mail ID:

#80 satish

Very Good information on Cookies…..thnaku verymuch

#81 Shaily

Thanks a lot for such a nice content :-)

#82 Girija Prasad Mohanty

Extra ordinary info…Great work..

#83 anil

Iam a fresher in testing field. nw I’m testing a web based application. i want to know what all procedures( in WBT & BBT) I hav to do for a successful test.

mail id-:

#84 Vyas

niche and informative article..

#85 Manisha

Really, very useful for cookies testing…and fresher test engineers…tnx a lot………

#86 sree

this is really very good infn.thank u very much

#87 Raja M

Really Superb. It is very Nice to understand about cookies…………

#88 Shailendra

Very nice Artical.

#89 An approach for Security Testing of Web Applications

[…] For more details see article on “Website cookie testing”. […]

#90 want to know what all procedures( in WBT & BBT)

i want to knew the procedure fallowed for the web based testing and client server testing.

#91 Reddy Pranav

i want to knew the procedure fallowed for the web based testing and client server testing.
if it so pls do the mail for

#92 Raghu

Tnx its very useful.

#93 Sadia

It really is a very helpful content. Thanks.

#94 Hanika

Content is really good.Expalined in descriptive method,quite easy to understand

#95 Nitin Mehra

Thanx it is very helpful and it is very useful for the fresher test engineer, it also clears basic concept of cookies.

#96 ram

thank u vary much 4f ur valueble information cookies and how to test them

#97 RoadRash

Hi vijay,

Can you please tell me if the my application is using the cookie while login or not based on the senario explained below:

If the cookies is enabled and logged in no cookies were created in the cookie folder. But when the cookies were blocked and then tried to access it threw an exception. “Object reference not set to instance of the object”

thanks in advance

#98 nirmala

i’m nirmala doing final year IT.. i want to knw abt web based application n types of web testing with some examples..plz can u able to send to my mail..

#99 G.Balaji

I am G.Balaji working as a test engineer in agriya infoway
i am testing web application developed by php and mysql
i want to know about the domain knowledge is very important for tester or not
and also i want the details of ISQTB certification(foundation level ) and books regarding that exam

#100 Mukesh

Good Article..

#101 Rama

Good one !!! : )

#102 Excellent One...KeeP it UP..

You have posted an excellent information on cookie.Thanks a lot …….

#103 sachin

Kya article likhta hai baba…bahut sahi ja rahe ho bidu…

#104 Ajay

very good article

Can you please help in Data base testing I am facing problems
every time I need to test from the beginig
as the files inthe database are replacing
I can’t able to figure it out where the exact problem occuring


#105 Ajay Garg

Very Good Article.
ITs very helpful.

Ajay Garg

#106 satya prakasha satya

Nice article

#107 satya prakasha satya


#108 Mayuri

plz send me test cases for project- improving mobile banking security using steganography

#109 Mannu Bhanot


Awesome article. Nice work done buddy.

Mannu Bhanot.

#110 Pritish

Is there is problem with Google Chrome..I am testing one site and whenever i tries to open that site in all other browsers it works fine but in Chrome i am unable to open that link.

#111 Rathna

hi..can anyone explain me the following
1.example for writing test cases for web application
2.i think the the test case table include test id,test scenario like that…tell me some example tables
3.what are all the basic validations like login validation etc .help me out

#112 Rathna

hi..can anyone explain me the following
1.example for writing test cases for web application
2.i think the the test case table include test id,test scenario like that…tell me some example tables
3.what are all the basic validations like login validation etc .help me out…..
send me via e-mail

#113 Arjun

Hello Rathna,
whr is ur mail id to send test case template.

#114 Hina Kanwal

Hi …Its really a good information sharing .keep it up..can u also tell me why we need to do Cookie testing ?

#115 Ritesh Kumar

Very Good Article.
ITs very helpful.

Can you give me a test cases of AJAX testing I am facing problems.
Need to help

#116 ismail

I will be happy to know how one can identify phishing mail particularly bank phishing mails with the help of cookies and privacy policy of the website.

#117 Nilima

This was a very good article…but I want to know how do we test corrupting the cookie…
Can you please explain how do we corrupt the cookie and do the testing…

#118 rajesh dutta

great article about cookies – vijay,but i want to know ever u came across cookies which are executable.

#119 Seethaamarao

Nice info on cookies. Thanx much

#120 Anu

Really very good article.

#121 Shama

Its a good article and easy to understand the concept.

#122 pavitra

Hi friends please help me

Can any of you give me good topic for presentation in Software testing.
Suggest me some good interesting topic

Cheers Pavitra

#123 Aswathy

Really very good article.

#124 thakur

great job dude , keep it up and thanks

#125 ZK@Web Marketing Blog

With the release of DNN 4.5.2 and the associated fixes to the AJAX implementation I thought i would revisit my “Core Modules” and AJAX testing that I had completed after the release of 4.5.0. The good news is that more modules can support AJAX since the issues with the URL Control have been resolved. This article will discusss individual modules and the functionality that is now available with the release of 4.5.2.

#126 Nagendra

Thanks for the valuable information.

#127 Viplendra

Great help.Really i got an idea about cookies.

#128 Priyam

Anybody would like to know about frameworks or having any issues on the tools(QTP,Selenium,Test Partner, Load runner……) or if somebody looking for jobs please mail me

#129 Rahul

Very good article, i used this information in our project for Cookies testing.
Thank you

#130 Naveen

Nice content on cookies. Thanks for the detailed explaination.

#131 shruti

This is very useful article.
Thanks for such good information.

#132 meeru

#133 heyy idiot shruti..chupp !!!

#133 Munu

Thanks a ton
Its being a useful piece of information

#134 Rajni

Thanks a lot for all the useful information shared on Cookies. It has cleared the Concept of Cookies.

#135 dhara

Thanks you so much for sharing very good information on cookies.

#136 jk

Thanks Vijay great effort. Appreciate your task great job.

#137 Navneet

can any one tell me how to test cookies in web site testing
with eg
my mail id

#138 jeevan

Hi Navneet gupta,

If you get the test cookies sample with eg. then send me also

#139 Gaurav

Really a good article…

#140 Arun Alex

Hi, Thanks a lot for sharing these information about the cookies. Very interesting. Thanks again !

#141 Cherry

Great concept explained sweetly. Keep the good work!

#142 Raja

Nice atrical to Test Cookies.
Well I have started working on security Testing if anybody want to learn or something else then I am open for you guys….

#143 Cherry

Thanks Raja, I’m intrested in learning the security testing concepts. Could you let me know the best book/ site around for learning security testing concepts

#144 kavitha


#145 Cherry

Kavitha, anybody else..

Guys, can you let me know the exact way for preparing ISTQB exam

#146 Navneet

Hi Raja,

I’m interested to know how to test security of web site………plz let me clear…………….

#147 Swapnil G

Neat and clear article to get idea abt Cookie Testing…
Thx a lot…!

#148 Monica

Navneet, Website security is a very wide topic. A persistent cookie could also pose threat to the security of the website. Another example is cross site scripting, where the hackers can inject some code/ images on the client browser through Java script. An interesting part is Data security. For e.g the user data like credit card details etc shouldn’t be passed in GET request but POST and the page should be HTTPS…The testers cannot do a fool-proof security testing but just so much to ensure the website is secure. WEBINSPECT is a tool by HP which is used to carry out security audit of websites. IT generates a very extensive report and helps understand the security vulnerabilitites of the website under test..Hope this helps..

#149 Vikram

Nice article, explained in very practical way.

#150 Achyut

Useful info. It looks good.

#151 Shrinivas rao n

Hi Vijay,

Great article, thanks for the info…


#152 Shrinivas

while doing security testing make sure you test for ,
authorization, data access, authentication, cross site scripting-XSS and SQL injection, i am sure as a security tester, there are lot of bugs u can find in ur project only using many xss scripts and doing sql injections. try giving alert(“hi, this will work for you”)

#153 Rama

Thank you Vijay for the information. its great hard work with lot of dedication.

#154 sudhakar

Its realy good orticle

#155 sudhakar

Its realy good Article

#156 Mayasen

Hi Monica, #150

Nice and clean explanation. Thanks. If u hav more like this, kindly share it here.

#157 dutta

hi, appreciate if anyone can send me some sample test cases for web testing along with their build life cycle .

Also the same for some client server application.

I am new in testing .

#158 Mary

I need sample test cases for testing web aplication(developed using RUBY ON RAILS).Backend is Sybase.Before OS is Linux 4.7 and we are going to upgrade the OS(Red hat Linux).What are all the things i need to test this web application after OS upgrade.Also i need test cases for testing web application .kindly help me

#159 venu

hi everyone,
i am a fresher to testing domain(manual) & got job recently in some MNC comp, & ryt now i am on bench,,kindly help me some1 wt soft skills i should improve in order to have a rapid growth in this domain,,,,pls do reply,,,,,

#160 Madhuri

Very useful article , Thank you

#161 Ankush

good article , thanks

#162 Sathish

thanks for giving this information……

#163 ehsan

thanks guru
its raelly niceand very useful.


#164 Nagaraju Vaidya

Good amount of info. Thanks a lot..!

#165 Rashed

Very good article , thanks

#166 Prajakta Sawant.

Really this article is very much helpful. I was not at all aware of Cookie Testing

#167 nilesh

Nice article Vijay…!

Would like to know info on Security Testing.

#168 meer

very useful info..thank you

#169 Milind

very good article

#170 Amaresh

Nice article, Thanks

#171 Rahul

Thanks for this helpful article, lot of doubts are cleared now.

#172 Nagendra

Very usefull information on cookies. I think it will be helpful in interviews who asks some basic questions on cookies.

As I am very new to this cookies, I felt i learnt alot.

I has one basic question, how user will come to know the website which he is working uses cookies to identify the user?

Thanks in advance for the replies

#173 charulatha

It was amazing.I cant express my gratitude.thanks alotttttttttt

#174 Hetal

Hey it was very help full to understand that “what is cookies??” Can u give me some code to develop a testing application????
Thanks a lot….

#175 bhavani

ths is a nice article. it is in very understandable format. good one..

#176 joshna

ya it is really good topice

#177 sumanth

Great work dude, this whole stuff is really helpful for beginners as well as the advanced professionals.
Keep it up man

#178 Ranjith

Nice article, Thanks

#179 Manish

Great work and information sharing, this whole stuff is really helpful for beginners as well as the advanced professionals ans also for maintaining quality of service.

#180 priyanka

lucid and brief.
may god bless u

#181 Himanth

Very good explanation, Thanx alot

#182 pi

good work buddy

#183 ramesh1969

this good article for us…………….

#184 archana kochhar

Really useful article. Simple to understand yet contains all required information…Hats off

#185 Vaseela

Very nice article. Nice content and nicely written. Keep up the good work !

#186 Manju

Hi Vijay

It’s a very good article. Really it is useful article and superb.


#187 Gaurav Bhardwaj

It’s a good content….Thanx

#188 filiz

thanks.useful article

#189 harry

Super like..!!!

#190 Abhijit

Really nice article with useful information.

#191 An approach for Security Testing of Web Applications « amitqa

[…] For more details see article on “Website cookie testing”. […]

#192 Raghavendra J

Nice Article, Keep Up the good Work J….

#193 arnold

Very useful article on Cookie Testing…. Thanks a lot

#194 JohnSrinivas

Thank you for given article on cookie, it is easy to understanding.

#195 Don


#196 bipin

Thank you for giving good information about cookies. its help ful and easy to understand.

#197 Alok

Thanks Vijay for sharing such a nice information !

#198 cassiel

good acticle ,thanks!

#199 Aditya Pant

hi, I have confusion regarding “Validation and functional”…. Like for any home page if i would like to write functional cases then do i have to write that when i click on the next button then it must mavigate to next button or is this for validation…….. please help me out ?

#200 Shraddha

Great article….

#201 kalpana

Thank u for this lot of inf about cookie

#202 Anis Halder

nice one

#203 Sudha

Thank you so much. This article has really been helpful for me in getting an insight into the concept of cookies and its relevance to e-commerce sites.
Thanks again.

#204 Angel

This is a good article,the cookie is importent to us.

#205 preetham

thanks a lot

#206 sai

Thanks for educating about cookies (web application testing)
This is very userful for me for security testing

Thank u verymuch

#207 maddy gupta

i m an engineer . i know how i became an engineer

#208 shaswat gupta

any help required in testing call me at 9999442878

#209 shaswat gupta

i m working as a sw tester in hcl tech any help required just call me any time……….

#210 pinky

thanks shaswat for guiding me ..may god bless u

#211 anna

But how we can write test cases for cookies?

#212 anna


#213 Rahul

good work helped me a lot to get the concept

#214 test

gud work…. Keep It up..!!!

#215 ayesha

i need to know what is test cases in detail
for online shopping

#216 Godwin

Very useful information. Thank you!

#217 Deepthi

Thank you…Really good article about cookies testing..

#218 Sridhar

as like other articles this article is also very good. thanks.

#219 milky

Hi ,
i need test case for L7 protocols … can any 1 guide pls..


please do the detailing specific to IE browser

#221 raju

Thanks for providing such a wonderful article…

#222 sachu

great information about cookies…thanks a lot…thanks buddy

#223 mukundha

thx for giving these information.

#224 arnold

I found it quite useful…

#225 chandu

send me a test cases example……. like test a program to login a specific web page

#226 chandu

send me a test cases example……. like test a program to login a specific web page

send to

#227 chandu

send me a test cases example……. like test a program to login a specific web page

send to

#228 C.MANI

very well article and thanks

#229 vishwajeet

Thanks alot..
Your articles are always helpful..carry on.:)

#230 srilatha

hi, this information is very useful.


Thanks for a nice article. Gained lot of info on Cookies.

#232 Joee

It really is a very helpful content. Thanks.

#233 qamonster

very informative. Thanks

#234 Rajasekhar

Really informative. Thanks for the info.

#235 Bhagya

can you give me information about how to write test cases for shoping cart application..

#236 Ammad

Hi this very well compiled article about website cookies testing.
Thanks for share with us and thanks for all who commented here and found some useful links and test cases from there as well.

#237 Penetration Testing – Complete Guide with Penetration Testing Sample Test Cases — Software Testing Help

[…] are encrypted and transferred over secured connection like https. 7) Verify information stored in website cookies. It should not be in readable format. 8 ) Verify previously found vulnerabilities to check if the […]

#238 Ramaguru

Hi I want to test regarding cookies..
Session should be good for 4 hours and once expired user is returned to login page..

How can i test the session is good for 4 hrs??
Whether i need wait for 4 hours?

#239 Tanz


Can any one please post some test cases steps so as to get idea how are test cases written.

#240 Nilam

very nice and useful article :)

#241 sanath

very useful information

#242 Mukesh Nagpal

Thanks vijay for sharing such information with me.
Thank u so much it will help me alot…

#243 Sakthi S

Its very helpful information,i got an idea about that

#244 Sakthi S

Hi ,

#245 Nitin

A very good article, giving a clear picture of cookies and its related information. Do post information on some other useful topics as well.

#246 Manjunath

Its a nice article regarding cookies. i got clear idea about cookies from this.

#247 Rini

nice article

#248 arjun aswal

Is is necessary to check or cookies? If i don’t have a login panel in my website then in that case what i have to do dear? Should i ignore this testing?

#249 Avinash verma

Its a nice article regarding cookies..

#250 ash

gajab yaar maja aa gya such

#251 Shashi

Thanks a lot,having good info why we use cookies and what we have to remember while testing

#252 Kiran

Thanks Vijay. This is really a good article about cookies.

#253 nmtle

helpful about what/why cookies testing but not how..



#255 Mel Jackson

How can i tell if my web site is sending out cookies?

#256 Divya

Thanks Vijay, good article in simple words..

#257 LP

Great article. very nicely explained.

#258 puja

Thanks Vijay.. Simply words yet fruitful information..

#259 siri

great!!!!!! excellent stuff thanks for the article

#260 Sweta

hey Vijay…really gr8 answer…
Is there any tool for cookies testing??

#261 Ritu

very informative…thanks

#262 Udara

Could u pls any one mail me test case templates.

#263 Udara

Could u pls any one mail me test case templates. My mail Id is

#264 Rajeev

Great article.. really useful for tester.

#265 Manjunath

Thank you for providing the such a great information. I have one question. In chrome where cookies will be stored (Please specify the path)

#266 Ishwarya T

Please update me all the web related testing tips

#267 Salman Naqvi

Thumps up to the author, Really precious piece of information and efficiently narrated…Thanks a Lot

#268 lakshmi

As part of security testing, got to know tester has to check httponly and secure tags in cookies. Please let us know how can be this tested manually?

#269 Nitin

which automation tool is good for web application testing (load testing and stress testing) ??

#270 Anagha

Thanks for the great article. I am doing some self-study on testing, and tried to carry out cookie testing after reading this article. But I am not able to locate and edit cookies. I have Mac OS X Yosemite. Please help me with this. Or it is only possible to edit cookies on server operating systems?

#271 i like them

I like turtles

#272 bhavana dwivedi

I want to know answer of this question “how to check security of any browser ? give me some example”.

Please reply me.

#273 Hemanth

Excellent one.

#274 Srinidhi

Realy goodone

#275 Wajahat khan

very helpfull :)

Leave a Comment