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 QA training


#1 Sheetal on 09.28.07 at 4:58 am

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 on 09.28.07 at 7:27 am

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

#3 Sumanth on 09.28.07 at 9:17 am

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

#4 Shahul on 10.03.07 at 11:37 am

Really a very useful Article…

#5 vikas on 10.08.07 at 6:54 am

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

#6 saikrishna reddy .k on 10.09.07 at 4:32 am

really its very useful now i got the idea abt cookies

#7 remu on 10.17.07 at 5:25 am

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 on 10.18.07 at 4:14 am

@ vijay

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

#9 surendra on 10.19.07 at 7:04 am

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 on 10.25.07 at 9:27 am

good article

#11 vasundhara on 11.23.07 at 4:26 am

Great help.Really i got an idea about cookies

#12 Sachin on 11.28.07 at 6:20 am

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

#13 pavani on 12.12.07 at 12:14 pm


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

#14 pavani on 12.12.07 at 12:16 pm


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 on 12.18.07 at 6:22 am

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

#16 Mruga on 12.21.07 at 11:42 am

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 on 12.21.07 at 11:43 am

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

#18 sushil on 12.28.07 at 7:38 am

nice info….really helps

#19 Sayak on 01.03.08 at 9:55 am

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

#20 Lakshmi on 01.12.08 at 5:33 am

Really a nice one .keep going.

#21 Priya on 01.12.08 at 8:57 pm

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

#22 Sayak Saha on 01.14.08 at 6:42 am

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

#23 meenakshi on 01.21.08 at 5:41 am

Very Good information on Cookies…..thnaku verymuch

#24 Sayak on 01.21.08 at 5:51 am

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

#25 Prashant Netke on 01.23.08 at 7:36 am

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 on 01.28.08 at 6:11 pm

Good one …

#27 Susanta Kumar Das on 02.02.08 at 11:40 am

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 on 02.03.08 at 8:34 am

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

#29 Ashok on 02.19.08 at 8:55 pm

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

#30 Allwin on 03.03.08 at 10:46 am

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


#31 Rao Davuluri on 03.12.08 at 5:53 pm

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

#32 sharad on 03.15.08 at 8:36 am

i want more test case on cokies testing

#33 Goverdhan Goud on 03.18.08 at 7:01 am

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 on 03.18.08 at 7:05 am

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

#35 srinivas on 03.21.08 at 9:10 am

it is really good …nice article

#36 renish on 03.21.08 at 12:10 pm

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 on 03.25.08 at 2:46 pm

Thank u.This is very helping for every one.

#38 Guna on 03.26.08 at 10:14 pm

gr8 article..

#39 Nishant on 03.28.08 at 6:28 am

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

#40 vidhya on 04.05.08 at 6:48 am

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 on 04.05.08 at 9:49 am

Very good approach. useful for the beginners

#42 vishal on 04.06.08 at 3:57 pm

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

#43 saboor on 04.07.08 at 4:25 am

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 on 04.07.08 at 4:28 am

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 on 04.09.08 at 3:48 am

Hi Vijay,

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

#46 Mahesh on 04.25.08 at 12:51 pm

Really a good info…

#47 Mahesh on 04.25.08 at 12:55 pm

hi i am mahesh deshmukh

#48 prashant on 04.28.08 at 1:17 pm


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

#49 Karthik on 05.03.08 at 10:13 am

Its very good

#50 Padmaja on 05.08.08 at 5:36 am

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

#51 Stella on 05.09.08 at 2:18 am

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

#52 Basu on 05.09.08 at 4:52 am

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

#53 RamaSubramanian on 05.24.08 at 12:34 pm

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 on 05.26.08 at 6:50 am


we have gained more knowledge from this site

#55 Suresh on 05.26.08 at 9:07 am

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

#56 Suresh on 05.26.08 at 9:08 am

#57 vijay on 05.28.08 at 8:41 am

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 on 05.30.08 at 10:15 am

thanks, you have given good idea about cookies

#59 Sqatester_Elite on 06.05.08 at 10:28 pm

That’s for the information!

#60 sugumar on 06.06.08 at 12:14 pm

Thanx a lot,
This article is really informative.

#61 munna on 06.08.08 at 11:34 am

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 on 06.08.08 at 11:37 am

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

#63 sundar paul on 06.13.08 at 6:54 am

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

#64 Pramod Bellad on 06.18.08 at 7:20 am

Very Use ful, Got some useful idea

#65 Pramod Bellad on 06.18.08 at 7:21 am


#66 Rajesh on 06.20.08 at 9:30 am

Very Good Site on Testing

#67 Sham Patil on 07.11.08 at 6:38 am

Nice Explination about Cookies ,Thanks to u.

#68 s saritha on 07.29.08 at 8:12 am

very useful info…
once again thanks a lot…

#69 Jyoti on 08.01.08 at 8:31 am

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

#70 jeevan on 08.07.08 at 7:57 am

Thank you for the information

#71 Basu on 08.07.08 at 8:16 am

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

#72 Rachana on 08.11.08 at 10:15 am

It’s really very good article

#73 Rachana on 08.11.08 at 10:16 am

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

Thank you in advance

#74 Prasad Gandra on 08.14.08 at 7:43 pm

Hi vijay..

Good work…
Thanks a lot .

#75 Purushotham Reddy on 08.18.08 at 9:42 am

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 on 08.20.08 at 4:33 am

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

#77 Raj on 08.20.08 at 4:36 am

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

#78 stanley on 08.20.08 at 7:10 am


#79 Kranthi on 08.23.08 at 4:52 pm

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 on 08.25.08 at 11:28 am

Very Good information on Cookies…..thnaku verymuch

#81 Shaily on 09.05.08 at 2:24 am

Thanks a lot for such a nice content :-)

#82 Girija Prasad Mohanty on 10.01.08 at 8:03 am

Extra ordinary info…Great work..

#83 anil on 10.03.08 at 8:36 am

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 on 10.03.08 at 11:22 am

niche and informative article..

#85 Manisha on 10.08.08 at 9:52 am

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

#86 sree on 10.14.08 at 5:42 am

this is really very good infn.thank u very much

#87 Raja M on 10.17.08 at 11:53 am

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

#88 Shailendra on 11.11.08 at 7:18 am

Very nice Artical.

#89 An approach for Security Testing of Web Applications on 11.17.08 at 6:44 pm

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

#90 want to know what all procedures( in WBT & BBT) on 11.18.08 at 6:38 am

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

#91 Reddy Pranav on 11.18.08 at 6:41 am

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 on 11.21.08 at 11:16 am

Tnx its very useful.

#93 Sadia on 11.25.08 at 12:37 pm

It really is a very helpful content. Thanks.

#94 Hanika on 12.04.08 at 6:24 am

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

#95 Nitin Mehra on 12.19.08 at 12:30 pm

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

#96 ram on 12.28.08 at 6:06 am

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

#97 RoadRash on 12.30.08 at 9:34 am

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 on 01.04.09 at 2:34 am

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 on 01.04.09 at 7:30 am

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 on 01.12.09 at 2:55 pm

Good Article..

#101 Rama on 01.14.09 at 4:59 am

Good one !!! : )

#102 Excellent One...KeeP it UP.. on 01.19.09 at 11:02 am

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

#103 sachin on 02.02.09 at 2:43 pm

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

#104 Ajay on 02.12.09 at 12:59 pm

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 on 02.12.09 at 1:53 pm

Very Good Article.
ITs very helpful.

Ajay Garg

#106 satya prakasha satya on 03.03.09 at 11:02 am

Nice article

#107 satya prakasha satya on 03.03.09 at 11:05 am


#108 Mayuri on 03.22.09 at 4:40 am

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

#109 Mannu Bhanot on 03.26.09 at 9:51 am


Awesome article. Nice work done buddy.

Mannu Bhanot.

#110 Pritish on 03.26.09 at 11:11 am

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 on 04.01.09 at 7:05 am

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 on 04.01.09 at 7:09 am

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 on 04.01.09 at 8:19 am

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

#114 Hina Kanwal on 04.03.09 at 11:35 am

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 on 04.17.09 at 6:28 am

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 on 04.23.09 at 11:49 am

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 on 04.25.09 at 11:14 pm

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 on 04.28.09 at 4:48 am

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

#119 Seethaamarao on 04.28.09 at 11:48 am

Nice info on cookies. Thanx much

#120 Anu on 05.03.09 at 7:08 am

Really very good article.

#121 Shama on 05.15.09 at 5:52 am

Its a good article and easy to understand the concept.

#122 pavitra on 05.30.09 at 5:03 am

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 on 06.05.09 at 9:57 am

Really very good article.

#124 thakur on 06.12.09 at 7:01 am

great job dude , keep it up and thanks

#125 ZK@Web Marketing Blog on 06.13.09 at 11:05 am

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 on 06.25.09 at 10:10 am

Thanks for the valuable information.

#127 Viplendra on 07.06.09 at 11:55 am

Great help.Really i got an idea about cookies.

#128 Priyam on 07.08.09 at 1:26 pm

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 on 08.05.09 at 10:07 am

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

#130 Naveen on 08.19.09 at 7:15 am

Nice content on cookies. Thanks for the detailed explaination.

#131 shruti on 09.14.09 at 5:57 am

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

#132 meeru on 11.30.09 at 6:35 pm

#133 heyy idiot shruti..chupp !!!

#133 Munu on 12.04.09 at 6:47 am

Thanks a ton
Its being a useful piece of information

#134 Rajni on 01.27.10 at 12:09 pm

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

#135 dhara on 02.01.10 at 3:28 am

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

#136 jk on 02.09.10 at 12:13 pm

Thanks Vijay great effort. Appreciate your task great job.

#137 Navneet on 02.11.10 at 12:09 pm

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

#138 jeevan on 02.11.10 at 1:21 pm

Hi Navneet gupta,

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

#139 Gaurav on 02.18.10 at 7:53 am

Really a good article…

#140 Arun Alex on 02.19.10 at 4:36 am

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

#141 Cherry on 02.25.10 at 11:46 am

Great concept explained sweetly. Keep the good work!

#142 Raja on 03.02.10 at 8:19 am

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 on 03.02.10 at 8:29 am

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 on 03.02.10 at 9:24 am


#145 Cherry on 03.02.10 at 9:42 am

Kavitha, anybody else..

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

#146 Navneet on 03.03.10 at 8:38 am

Hi Raja,

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

#147 Swapnil G on 03.03.10 at 2:19 pm

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

#148 Monica on 03.08.10 at 10:55 pm

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 on 03.17.10 at 5:45 am

Nice article, explained in very practical way.

#150 Achyut on 04.20.10 at 11:21 am

Useful info. It looks good.

#151 Shrinivas rao n on 05.13.10 at 7:33 pm

Hi Vijay,

Great article, thanks for the info…


#152 Shrinivas on 05.13.10 at 7:40 pm

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 on 05.18.10 at 1:34 am

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

#154 sudhakar on 05.26.10 at 12:07 pm

Its realy good orticle

#155 sudhakar on 05.26.10 at 12:07 pm

Its realy good Article

#156 Mayasen on 05.28.10 at 12:55 pm

Hi Monica, #150

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

#157 dutta on 05.29.10 at 12:53 pm

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 on 05.31.10 at 5:14 pm

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 on 06.09.10 at 11:40 am

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 on 06.15.10 at 7:53 am

Very useful article , Thank you

#161 Ankush on 06.16.10 at 5:06 am

good article , thanks

#162 Sathish on 06.28.10 at 4:10 pm

thanks for giving this information……

#163 ehsan on 07.04.10 at 6:38 pm

thanks guru
its raelly niceand very useful.


#164 Nagaraju Vaidya on 07.26.10 at 8:03 am

Good amount of info. Thanks a lot..!

#165 Rashed on 07.29.10 at 5:38 pm

Very good article , thanks

#166 Prajakta Sawant. on 08.12.10 at 5:09 am

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

#167 nilesh on 08.24.10 at 11:43 am

Nice article Vijay…!

Would like to know info on Security Testing.

#168 meer on 08.27.10 at 10:23 pm

very useful info..thank you

#169 Milind on 09.15.10 at 3:59 am

very good article

#170 Amaresh on 09.25.10 at 7:29 pm

Nice article, Thanks

#171 Rahul on 09.27.10 at 5:54 am

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

#172 Nagendra on 09.27.10 at 12:01 pm

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 on 10.05.10 at 5:50 am

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

#174 Hetal on 10.08.10 at 10:16 am

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 on 10.25.10 at 11:02 am

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

#176 joshna on 11.16.10 at 8:43 am

ya it is really good topice

#177 sumanth on 11.17.10 at 10:18 pm

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

#178 Ranjith on 11.25.10 at 9:46 am

Nice article, Thanks

#179 Manish on 01.08.11 at 7:54 pm

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 on 01.31.11 at 12:44 am

lucid and brief.
may god bless u

#181 Himanth on 02.04.11 at 4:08 am

Very good explanation, Thanx alot

#182 pi on 02.15.11 at 9:14 pm

good work buddy

#183 ramesh1969 on 02.22.11 at 5:06 pm

this good article for us…………….

#184 archana kochhar on 02.23.11 at 5:26 am

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

#185 Vaseela on 03.16.11 at 5:42 am

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

#186 Manju on 03.28.11 at 6:12 am

Hi Vijay

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


#187 Gaurav Bhardwaj on 04.06.11 at 5:27 am

It’s a good content….Thanx

#188 filiz on 04.09.11 at 11:03 am

thanks.useful article

#189 harry on 04.29.11 at 10:05 am

Super like..!!!

#190 Abhijit on 06.14.11 at 7:07 am

Really nice article with useful information.

#191 An approach for Security Testing of Web Applications « amitqa on 06.16.11 at 11:14 am

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

#192 Raghavendra J on 06.16.11 at 3:25 pm

Nice Article, Keep Up the good Work J….

#193 arnold on 06.28.11 at 9:50 am

Very useful article on Cookie Testing…. Thanks a lot

#194 JohnSrinivas on 07.13.11 at 7:57 am

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

#195 Don on 07.21.11 at 7:37 am


#196 bipin on 07.24.11 at 3:38 am

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

#197 Alok on 07.24.11 at 5:54 pm

Thanks Vijay for sharing such a nice information !

#198 cassiel on 08.08.11 at 7:29 am

good acticle ,thanks!

#199 Aditya Pant on 08.11.11 at 6:38 am

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 on 08.31.11 at 12:23 pm

Great article….

#201 kalpana on 09.22.11 at 6:59 am

Thank u for this lot of inf about cookie

#202 Anis Halder on 09.24.11 at 9:21 am

nice one

#203 Sudha on 09.24.11 at 10:10 am

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 on 10.25.11 at 9:25 am

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

#205 preetham on 11.22.11 at 12:05 pm

thanks a lot

#206 sai on 11.23.11 at 6:48 am

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

Thank u verymuch

#207 maddy gupta on 12.12.11 at 5:29 am

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

#208 shaswat gupta on 12.12.11 at 9:33 am

any help required in testing call me at 9999442878

#209 shaswat gupta on 12.12.11 at 9:38 am

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

#210 pinky on 12.12.11 at 9:40 am

thanks shaswat for guiding me ..may god bless u

#211 anna on 12.23.11 at 12:12 pm

But how we can write test cases for cookies?

#212 anna on 12.23.11 at 12:13 pm


#213 Rahul on 01.08.12 at 6:26 pm

good work helped me a lot to get the concept

#214 test on 01.09.12 at 5:29 am

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

#215 ayesha on 01.12.12 at 11:39 am

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

#216 Godwin on 01.13.12 at 11:53 am

Very useful information. Thank you!

#217 Deepthi on 01.21.12 at 12:12 pm

Thank you…Really good article about cookies testing..

#218 Sridhar on 01.24.12 at 5:38 am

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

#219 milky on 02.16.12 at 11:52 am

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

#220 SHISHIR SRIVSTAVA on 02.17.12 at 1:12 pm

please do the detailing specific to IE browser

#221 raju on 02.20.12 at 2:38 pm

Thanks for providing such a wonderful article…

#222 sachu on 02.25.12 at 2:34 pm

great information about cookies…thanks a lot…thanks buddy

#223 mukundha on 03.04.12 at 2:07 pm

thx for giving these information.

#224 arnold on 03.07.12 at 1:42 pm

I found it quite useful…

#225 chandu on 03.08.12 at 10:31 am

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

#226 chandu on 03.08.12 at 10:34 am

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

send to

#227 chandu on 03.08.12 at 10:35 am

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

send to

#228 C.MANI on 03.21.12 at 6:58 am

very well article and thanks

#229 vishwajeet on 05.02.12 at 10:54 am

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

#230 srilatha on 05.08.12 at 11:43 am

hi, this information is very useful.

#231 PHANI ITHARAJ on 05.10.12 at 11:30 am

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

#232 Joee on 05.21.12 at 5:39 am

It really is a very helpful content. Thanks.

#233 qamonster on 05.25.12 at 4:01 pm

very informative. Thanks

#234 Rajasekhar on 05.31.12 at 5:49 am

Really informative. Thanks for the info.

#235 Bhagya on 06.08.12 at 6:00 am

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

#236 Ammad on 06.12.12 at 10:21 am

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 on 06.27.12 at 7:41 pm

[…] 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 on 07.12.12 at 12:43 pm

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 on 07.20.12 at 10:22 am


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

#240 Nilam on 07.20.12 at 10:50 am

very nice and useful article :)

#241 sanath on 08.15.12 at 11:04 pm

very useful information

#242 Mukesh Nagpal on 08.20.12 at 10:46 am

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

#243 Sakthi S on 08.27.12 at 11:41 am

Its very helpful information,i got an idea about that

#244 Sakthi S on 08.27.12 at 11:44 am

Hi ,

#245 Nitin on 09.08.12 at 11:21 am

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 on 09.10.12 at 1:41 pm

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

#247 Rini on 09.18.12 at 11:55 am

nice article

#248 arjun aswal on 10.08.12 at 12:22 pm

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 on 10.15.12 at 8:56 am

Its a nice article regarding cookies..

#250 ash on 11.08.12 at 3:03 pm

gajab yaar maja aa gya such

#251 Shashi on 02.15.13 at 6:26 pm

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

#252 Kiran on 03.14.13 at 3:21 pm

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

#253 nmtle on 04.14.13 at 3:41 pm

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

#254 DINESH on 05.22.13 at 1:22 pm


#255 Mel Jackson on 06.05.13 at 5:21 pm

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

#256 Divya on 08.08.13 at 10:06 am

Thanks Vijay, good article in simple words..

#257 LP on 11.08.13 at 4:34 pm

Great article. very nicely explained.

#258 puja on 11.15.13 at 6:11 am

Thanks Vijay.. Simply words yet fruitful information..

#259 siri on 11.20.13 at 11:56 pm

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

#260 Sweta on 11.21.13 at 3:08 pm

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

#261 Ritu on 11.27.13 at 6:04 pm

very informative…thanks

#262 Udara on 01.13.14 at 4:58 am

Could u pls any one mail me test case templates.

#263 Udara on 01.13.14 at 4:59 am

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

#264 Rajeev on 01.13.14 at 11:22 am

Great article.. really useful for tester.

#265 Manjunath on 01.28.14 at 9:14 am

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 on 02.21.14 at 12:52 pm

Please update me all the web related testing tips

#267 Salman Naqvi on 03.12.14 at 10:18 am

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

#268 lakshmi on 03.25.14 at 10:25 am

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 on 12.09.14 at 12:10 pm

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

#270 Anagha on 12.12.14 at 7:29 pm

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 on 12.29.14 at 9:01 pm

I like turtles

Leave a Comment