How do you test cookies?

Answers were Sorted based on User's Feedback



How do you test cookies?..

Answer / swapnil garg

1.Data in the cookie should be displayed in the encrypted
form. If the data is in encrypted format then it will not be
easy for any user to retrieve data from in it which is a
security feature.
2.User can test whether appropriate message is displayed or
not by disabling the cookies from the browser settings. Once
the cookie is disabled from the browser settings, then run
the application, applications that require the use of the
cookies should display a proper message like “For smooth
functioning of the application, cookies needs to be enable
on the browser”. At any point application should not get
crash even when the cookies are disabled.
3.Try to check the functionality of the application by
accepting & rejecting some cookies. Change the browser
settings so that system should prompt the user to
accept/reject the cookies. Now let’s say that there are 10
cookies required in the application, now accept any 5 out of
them & reject another 5, now check the functionality of the
application, at any point of time application should not
gets crashed.
4.Functionality of the application after deletion of
cookies: Examine the behavior of the application after
deleting all the cookies written by the application
5.Corrupting the cookies: Cookies store at the default
location in the users pc, manually change the parameter
value displayed in the cookies or change the name of the
cookie generated & then try to access the application.
6.Checking the deletion of cookies from the web application:
Sometimes, cookies generated by the page in the web
application is deleted by another page of the same
application, for example lets consider the case of an
Application having shopping cart in it, when the user
performs some purchase out of it then a cookie is generated
& when the user .navigates to any other page in the same
application, then the cookies generated by the page
(shopping cart) gets deleted,. This is a security issue so
that no mores transaction will take place with the same values.
7.Cookie Testing on Multiple Browsers: This is regarding the
testing of cookies generated by the application in different
browsers. In the different browsers If the application
(using for testing) is writing the cookies, then the user
can check whether it is writing cookies successfully in
different browsers like Mozilla , Internet Explorer, Safari
, Netscape etc.
8.In some cases when the cookies are used to store the
logging stats of the user, then in the url logged in
parameters are displayed in the form of the ID’s, change
this id values, lets say the id value displayed is 100 or
something else change this value to any other value. Proper
message should be displayed to the user.
9.More use of cookies can lead to loss of site traffic: Not
every user has the cookies enabled on the browser, Lets
consider that the user (make the settings like system will
prompt the user before accepting any cookies) is accessing
the web application. Now to navigate around different pages
(Lets say from page 1 to page 2) there ate a lot of cookies
used, then the user will annoy & this may lead to the loss
of site traffic. So its always better to generate the
minimum number of cookies in the application.
10.Best approach to write the cookie is to that no sensitive
information like username, password, Credit Card Numbers
(in case of an transactional application) should not be
stored in the cookie, if it is getting stored in the cookies
then it should be in encrypted form.

Is This Answer Correct ?    6 Yes 0 No

How do you test cookies?..

Answer / sunny

pls give related answer to the question

Is This Answer Correct ?    4 Yes 1 No

How do you test cookies?..

Answer / guest

there r 4 ways
1. enabling cookies
2. disabling cookies
3. selecivrly reject cookies
4. encrypted cookies

Is This Answer Correct ?    2 Yes 0 No

How do you test cookies?..

Answer / sunil reddy

cookies are used to store information about user actions.
when accessing particular site it tells the cliednt thet
user doing this action

Is This Answer Correct ?    4 Yes 3 No

How do you test cookies?..

Answer / devendra singh

click the back &froward button for checking the cookies
button.click the back button if previous page is open.then
cookies is store

Is This Answer Correct ?    1 Yes 0 No

How do you test cookies?..

Answer / srinivasreddy

pls give related answer to this question

Is This Answer Correct ?    1 Yes 0 No

How do you test cookies?..

Answer / murali

I did cookie testing in the following ways.
1) While logging into the application previously logged user
id should be displayed in the UID textbox. Then when the
login page is opened by default my ID should be displayed
2) When in any application when some last used data should
be displayed by default then the cookies are used. Suppose a
user logged into the application and selected the country as
India last time then when the User freshly logs into the
application the country should be shown as "India" by default.
3)Deleting cookies - If u don't want the cookies that are
stored previously ( in IE 6.0) go to Tools ----> Internet
Options ----> and click on Delete Cookies. Then the cookies
will be completely deleted

Is This Answer Correct ?    1 Yes 0 No

How do you test cookies?..

Answer / mallikarjun

Generally cookies are used to store the info abt user.
the answer is test it whether it is storing the info abt
the user or not.

Is This Answer Correct ?    1 Yes 1 No

How do you test cookies?..

Answer / srini

While doing cooki testing u will do testing by disabling
and enabling cookies

srini

Is This Answer Correct ?    1 Yes 2 No

How do you test cookies?..

Answer / deepti palagiri

may be through database testing.
verifying whether data is updated, retrieved

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Manual Testing Interview Questions

Hi, I got an offer with maveric systems and I have around 3.5 years of work experience. But inspite of that they are asking to sign a bond for 2 years and to pledge all the original certificates for that bond. Can anybody please advice me whether its a good company or not and can i go ahead with this?

4 Answers   Marveric,


What is the difference b/w test case and scenario?

4 Answers  


What are the Assumption while writing the test cases? Explain with the example?

2 Answers  


HOw to test website manually? Is it any criteria to test ?

7 Answers   HSBC,


What is PLC testing? since there are job openings in this area Please let me know what it mean and some more related information.

2 Answers  






what is crud testing ? and who will do this one ?

5 Answers  


Which method of testing we use to test LOGIN page?

10 Answers   Cap Gemini,


is it always necessary to do white box testing before doing black box testing.wat ar applications where only white box is done not black box testing,and application where only black box is benifical not white box testing

3 Answers   IBM, informatics,


what do you mean by Develop test data through sourcing (or) handcrafting techniques

0 Answers   BVG,


Whenever developer will recieved the defect from the tester,then he will go thru the defect whether it is acceptable or not?for that he will execute that application again,while executing if he did not found any such type of defect(what we are rise the defect above),then he will send that defect to the corresponding tester with status of 'reject',as a tester what we can do?(here writing the reproduce steps and attached screen shots has been done by tester while sending the defect to the developer, no need to send reproduced steps and screen shots again)

6 Answers   CTS, IBM,


what are the examples for web based applications and Client Server Applications

5 Answers   ASD Lab, CFCI, College School Exams Tests, GXS,


How many types of api testing are there?

0 Answers  


Categories