Software Testing
What is Spike Testing? Learn With Example
Spike Testing Spike Testing is a performance testing type used to test software applications with...
Cookie Testing is defined as a Software Testing type that checks Cookie created in your web browser. A cookie is a small piece of information that is stored in a text file on user's (client) hard drive by the web server. This piece of information is then sent back to the server each time the browser requests a page from the server. Usually, cookie contains personalized user data or information that is used to communicate between different web pages. The screen-shot below shows cookies for different websites.
In other words, cookies are nothing but a user's identity and used to track where the user navigated throughout the pages of the website. The purpose of a cookie is to make rapid interaction between users and websites. Applications, where cookies can be used, is to implement a shopping cart, personalized web experience, user tracking, marketing, user sessions etc.
In this tutorial, we will learn
The cookie consists of mainly three things
Usually, there are two types of cookies written on user machines
When any web page application writes a cookie, it is stored in a text file on user hard disk drive. The path where the cookies are saved depends on the browser. Different browsers store cookie in different paths.
For example, in Mozilla Firefox browser you can see the cookies in browser options. To view this click on Tools -> Options -> Privacy and then click on "Remove Individual Cookies".
While in Internet Explorer browser it stores cookies on path "C:\Documents and Settings\Default User\Cookies"
Following is an important checklist and steps on How to test Cookies in website :
Modern browsers allow viewing/editing of the cookies in the browser itself. There are cookie tester plugins in Mozilla and Google Chrome both.
We will use edit the cookie plugin for Chrome.
Step 1)
Enter the userID & password to login into the gtupapers bank.
Step 2)
Click on the plugin icon
and it will open another window as shown below
Step 3)
Change the value of the cookie to "gtupapers" and then click on
to save the changes
|
|
|
|
|
|
|
|
|
|
|
|
Spike Testing Spike Testing is a performance testing type used to test software applications with...
What is Controller? Controller, as the name suggests, is a program to “control” overall load test. It is...
Code coverage testing is an important measure that quantifies the degree to which the source code...
Grey Box Testing Grey Box Testing or Gray box testing is a software testing technique to test a...
What is Bugzilla? Bugzilla is an open-source issue/bug tracking system that allows developers to...
What is Backend Testing? Backend Testing is a testing method that checks the server side or...