1 / 78

WEB-B ASE A PPLICATION T ESTING

WEB-B ASE A PPLICATION T ESTING. 20/04/2012. Teacher: Lâm Quang Vũ Trần Duy Hoàng. Group : D Team Leader: H oàng Quốc Minh Trung. Small Group Leader: D1:Phạm Bá Thuần 0812504 D2:Liễu Quang Tín 0812520 D3: Trần Đăng Trình 0812552

fancy
Download Presentation

WEB-B ASE A PPLICATION T ESTING

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WEB-BASE APPLICATION TESTING 20/04/2012 Seminar Software Testing – Group D

  2. Teacher: Lâm Quang Vũ Trần Duy Hoàng Group:D Team Leader: Hoàng Quốc Minh Trung Small Group Leader: D1:Phạm Bá Thuần 0812504 D2:Liễu Quang Tín 0812520 D3:TrầnĐăngTrình 0812552 D4:HoàngQuốc Minh Trung 0912493 D5:Phạm Danh 0912051 Seminar Software Testing – Group D

  3. Content Overview Web Application Testing Q&A Seminar Software Testing – Group D

  4. Overview What is web testing? • Web testing is the name given to software testing that focuses on web applications Seminar Software Testing – Group D

  5. Overview Why ? • To solve address issues before the system is revealed to the public • To solve issues such as the security of the web application, the basic functionality of the site • To ready for large number of user and access with hight bandwidth Seminar Software Testing – Group D

  6. Overview Testing Challenges • Large varied user base • Business environment • Testing environments • Security • Browsers Compability • Firewall • Intranet and Internet based Applications • Network Speed Seminar Software Testing – Group D

  7. II. Web Application Testing Link checker Cookies-Javscript Testing Web Browser Load Test And Stress Test Web Service Testing Seminar Software Testing – Group D

  8. Link checker What is link checker ? A toolor online servicethat is used to testsand reports on the validity of the hypertext links on the pages in a Web site Seminar Software Testing – Group D

  9. Link checker Some link checkers tool: SortSite(30 day trial) Link Checker Pro(30 day trial) LinkTiger(15 day trial) W3C Link Checker(Free) Google Webmaster Tools(Free) LinkChecker by 2bone(Free) REL Link Checker Lite(Free) WebLight(Free) .... Seminar Software Testing – Group D

  10. Link checker Link state Http status code: 2xx Success:200 – OK 3xx Redirection:304 – Not Modified 4xx Client Error:403 Forbidden 404 – Not Found 5xx Server Error:503 – Service Unavailable, 504 – Gateway Timeout Seminar Software Testing – Group D

  11. Link checker Link state Error 500: Internal Server Error Seminar Software Testing – Group D

  12. Link checker Link state Error 403: Forbidden Seminar Software Testing – Group D

  13. Link checker Link state Error 503 Service Unavailable Seminar Software Testing – Group D

  14. Link checker Link state Error 408 Request Timeout: "An error has occurred in the script on this page. Line Char: Error: Code: Location: Do you want to continue running scripts on this page?" Seminar Software Testing – Group D

  15. Link checker Tool Sortsite Seminar Software Testing – Group D

  16. Cookies-Javscript Testing Cookies Testing Session Timeout Testing JavaScript Testing Seminar Software Testing – Group D

  17. Cookies Testing What is cookie ? • Cookies is small information stored in text file on user’s hard drive by web server. • Example: C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Cookies • This information is later used by web browser to retrieve information from that machine Seminar Software Testing – Group D

  18. Cookies Testing 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 Seminar Software Testing – Group D

  19. Cookies Testing 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. Seminar Software Testing – Group D

  20. Cookies Testing How to test cookie ? • Disabling Cookies. • Selective Rejecting Cookies. • Corrupting Cookies. • Cookies Encryption Seminar Software Testing – Group D

  21. Cookies Testing Disabling Cookies ? • Disable all cookies and attempt to use the site’s major features and functions. Seminar Software Testing – Group D

  22. Cookies Testing Disabling Cookies ? • Login facebook. Seminar Software Testing – Group D

  23. Cookies Testing Disabling Cookies ? • Disable cookies-> What happen? Seminar Software Testing – Group D

  24. Cookies Testing Disabling Cookies ? • Try login-> What happen? Seminar Software Testing – Group D

  25. Cookies Testing Selective Rejecting Cookies ? • Start by deleting all cookies from our PC. • Analyze site cookieusage in advance and draw up a test plan. • Detailingwhat cookies to reject/accept for each function. Seminar Software Testing – Group D

  26. Cookies Testing Selective Rejecting Cookies ? Seminar Software Testing – Group D

  27. Cookies Testing Corrupting Cookies ? • Allow the cookie to be written (or modified), perform several more actions on the site, and then delete that cookie. • Continue using the site. What happens? Any data loss or corruption? Seminar Software Testing – Group D

  28. Cookies Testing Cookies Encryption? • Sensitive information like usernamesand passwords should NOT be stored in plain text for all the world to read. • This data should be encryptedbefore it is sent to your computer. Seminar Software Testing – Group D

  29. Cookies Testing 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 under test is a public website, there should notbe overuse of cookies. Seminar Software Testing – Group D

  30. Cookies Testing Test cases for cookie testing? • Close all browsers, deleteall 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. Seminar Software Testing – Group D

  31. B. Session Timeout Testing What is 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. Seminar Software Testing – Group D

  32. B. Session Timeout Testing How to test the Session timeout ? • 1 -Login. • 2 - Sleepfor timing of one User session • 3 -Then perform some action on the page • 4 -Observe the response. • 5 -Application should show alert. Seminar Software Testing – Group D

  33. B. Session Timeout Testing How to test the Session timeout ? Seminar Software Testing – Group D

  34. C. JavaScript Testing What is JavaScript ? • JavaScript is thescripting language of the Web. • Asimple programminglanguage. • Client side programming language. • Directly embedded into HTML page Seminar Software Testing – Group D

  35. C. JavaScript Testing What happen when Turn off JavaScript ? • Web page doesn’t operate or work abnormally. • Tested websites : Gmail, YouTube, VnExpress, Facebook, MediaFire Seminar Software Testing – Group D

  36. C. JavaScript Testing Gmail • Turn off before loading. • StandardHTML: Seminar Software Testing – Group D

  37. C. JavaScript Testing YOUTUBE • Turn off before loading. Seminar Software Testing – Group D

  38. C. JavaScript Testing 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 Seminar Software Testing – Group D

  39. Web Browser Browser Compatibility How To Check The Compatibility ToolBrowershots Seminar Software Testing – Group D

  40. Browser Compatibility What? Browser compatibility is the ability of the Web browser to properly interpret the hypertextmarkup language (HTML) that renders Web pages Seminar Software Testing – Group D

  41. Browser Compatibility What we need to test ? Site displays correctly? On different browsers have the same layout, same design? Time to load ? Site layout is reasonable, content updates clearly? Seminar Software Testing – Group D

  42. Browser Compatibility What we need to test ? Screen size Information provided at this site, including note boards, clear error messages? Font-style, font size ? Popup, Ads? Be uncomfortable for the viewer? Seminar Software Testing – Group D

  43. Browser Compatibility Why? The site must be displayed in common browsers like IE, Firefox, Chrome, Opera, Safari ... Each of brower is different structure, design Your browser may not support the technologies that your website is using. The site can display well in browser but not good in other browsers Site has good displays on the new browser version? Seminar Software Testing – Group D

  44. How To Check The Compatibility Compatible with the OS Different windows version has different architecture (XP & Windows 7) The upgrade window Check on mac, linux Seminar Software Testing – Group D

  45. How To Check The Compatibility Compatible with the OS Seminar Software Testing – Group D

  46. How To Check The Compatibility Compatible with the OS Seminar Software Testing – Group D

  47. How To Check The Compatibility • Mobile browsing Check the web page displayed on the screen of mobile devices Seminar Software Testing – Group D

  48. How To Check The Compatibility Printing options Develop web site with appropriate length so that users can print Standard printer Provides links to printable materials if the site has the resources users will want to print Seminar Software Testing – Group D

  49. How To Check The Compatibility • Compatibility between browsers Step 1: Download and install some common browsers like Internet Explorer, Mozilla Firefox, Opera and Safari. Step 2: Check on http://browsershots.org/ to capture images on your site operating systems and different browsers. Step 3: Try checking the google error page with the keywords "internet explorer firefox difference", or "web page can not be displayed in Firefox" etc ... Seminar Software Testing – Group D

  50. How To Check The Compatibility • Compatibility between browsers Try on the online validator test as http://wave.webaim.org/ and http://www.totalvalidator.com/ to analyze the content Seminar Software Testing – Group D

More Related