cookies testing session timeout testing javascript testing n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
COOKIES TESTING SESSION TIMEOUT TESTING JAVASCRIPT TESTING PowerPoint Presentation
Download Presentation
COOKIES TESTING SESSION TIMEOUT TESTING JAVASCRIPT TESTING

Loading in 2 Seconds...

play fullscreen
1 / 21

COOKIES TESTING SESSION TIMEOUT TESTING JAVASCRIPT TESTING - PowerPoint PPT Presentation


  • 224 Views
  • Uploaded on

COOKIES TESTING SESSION TIMEOUT TESTING JAVASCRIPT TESTING. 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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

COOKIES TESTING SESSION TIMEOUT TESTING JAVASCRIPT TESTING


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
    Presentation Transcript
    1. COOKIES TESTINGSESSION TIMEOUT TESTINGJAVASCRIPT TESTING

    2. 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.

    3. Why we have to test Cookie ? • To make sure that the cookies do not store confidential information . • To check the number of cookies used • Make sure that the application maintains its efficiency when switched off or Accept cookies

    4. Why we have to test Cookie ? • To check application response to the damaged cookies • Make sure that cookies are stored and removed it to the pages on which it is expected and necessary • Testing that cookies are working correctly in all browsers that will be used by application

    5. Why we have to test Cookie ? • To make sure that the application adequately responds to delete cookies manually • To verify that the access to different parts of the application can not be done to bypass the cookie used for authentication or authorization

    6. How To Test Cookie ? A. Disabling Cookies • This is probably the easiest area of cookie testing • Disable all cookies and attempt to use the site’s major featuresand functions • With cookies disabled,our testing job is somewhat reduced

    7. How To Test Cookie ? B. Selective Rejecting Cookie • Start by deleting all cookies from our PC • Analyze site cookie usage in advance and draw up a test plan • Detailing what cookies to reject/accept for each function

    8. How To Test Cookie ? C.Corrupting Cookies • Altering the data in the persistent cookies • Allow the cookie to be modified • Selectively deleting cookies

    9. How To Test Cookie ? D.Cookies Encryption • By using encryption of thecookiedata • Sensitive information like usernames and passwords should been crypted before it is sent to our computer • A case can certainly be made that certain types of sensitive data – credit card numbers

    10. Test Cases For Cookie Testing • Check if the application is writing cookies properly or not. • Test to make sure that no personal or sensitive data is stored in the cookie.If it is there in cookies,it should be in encrypted format. • If the application undertest is a public website,there should not be overuse of cookies

    11. Test Cases For Cookie Testing • Close all browsers,delete all previously written cookies and disable the cookies from our browser settings • Set browser options to prompt whenever cookie is being stored/saved in your system • Close all browsers windows and manually delete all cookies

    12. Test Cases For Cookie Testing • Cookies shouldn't be put in the same category as the viruses,spam,or spyware • They are the tools to help us and manage our time more efficiently on the web • Testing should be done properly to check that website is working with different cookie setting

    13. Session Timeout • The time-out period assigned to the Session object for the application. • If the user does not refresh or request a page within the time-out period, the session ends.

    14. How to test the session timeout • 1 – Login into specific web application. • 2 – Sleep that script for (some time) > timing of one User session. • 3 – Then perform some action on the page. • 4 – Observe the response of that action. • 5 – Application should show alert. If it is not then probably session is not ending properly.

    15. JavaScript • JavaScript is an interpreted language. • A lightweight programming language. • Client side programming language. • Directly embedded into HTML page.

    16. Turn Off JavaScript • Web page doesn’t operate or work abnormally. • Tested websites: • Gmail • Youtube • Vnexpress • Facebook • Mediafire

    17. Gmail • Turn off before loading: • Standard HTML:

    18. YOUTUBE • Turn off before loading:

    19. GOOGLE • Before turning off javascript:

    20. GOOGLE • After turning off javascript:

    21. OTHER WEBSITES • Vnexpress: unable to load dynamic images. • Facebook: unable to use like and comment functions. • Mediafire: • Loading before turning off : • Turning off before loading : unable to load the web.