270 likes | 431 Views
WEB-B ASE A PPLICATION T ESTING. Teacher: Lâm Quang Vũ Trần Duy Hoàng. Group : D. Group leader: D1:Phạm Bá Thuần 0812504 D2:Liễu Quang Tín 0812520 D3: D4: Hoàng Quốc Minh Trung 0912493 D5:Phạm Danh 0912051. Content. Overview Web Application Testing Q&A.
E N D
WEB-BASE APPLICATION TESTING Teacher: Lâm Quang Vũ Trần Duy Hoàng Group:D Group leader: D1:Phạm Bá Thuần 0812504 D2:Liễu Quang Tín 0812520 D3: D4:HoàngQuốc Minh Trung 0912493 D5:Phạm Danh 0912051 Seminar Software Testing – Group D
Content Overview Web Application Testing Q&A Seminar Software Testing – Group D
Overview What is web testing? • Web testing is the name given to software testing that focuses on web applications Seminar Software Testing – Group D
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
Overview Testing Challenges • Large varied user base • Business environment • Locales • Testing environments • Security • Browsers Compability • Firewall • Intranet and Internet based Applications • Network Speed Seminar Software Testing – Group D
II. Web Application Testing Link checker Cookies-Javscript Testing Web Browser Load Test And Stress Test Web Service Testing Seminar Software Testing – Group D
Link checker What is link checker ? A toolor online servicethat is used to testand reporton the validity of the hypertext links on the pages in a Web site Seminar Software Testing – Group D
Link checker Some link checkers tool: 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
Link checker Seminar Software Testing – Group D
Cookies-Javscript Testing Cookies Testing Session Timeout Testing JavaScript Testing Seminar Software Testing – Group D
Cookies Testing What is cookie ? • Cookies 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 Seminar Software Testing – Group D
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
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
Cookies Testing How to test cookie ? • Disabling Cookies. • Selective Rejecting Cookies. • Corrupting Cookies. • Cookies Encryption Seminar Software Testing – Group D
Cookies Testing Disabling Cookies ? • This is probably the easiest area of cookie testing. • Disable all cookies and attempt to use the site’s major features and functions. • With cookies disabled,our testing job is somewhat reduced. Seminar Software Testing – Group D
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
Cookies Testing Corrupting Cookies ? • Altering the data in the persistent cookies. • Allow the cookie to be modified. • Selectively deleting cookies. Seminar Software Testing – Group D
Cookies Testing Cookies Encryption? • By using encryption of the cookie data. • Sensitive information like usernames and passwords should been encrypted before it is sent to our computer. • A case can certainly be made that certain types of sensitive data. Seminar Software Testing – Group D
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
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
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
B. Session Timeout Testing How to test the Session timeout ? • 1 -Login into specific web application. • 2 - Sleep that script for 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 Seminar Software Testing – Group D
C. JavaScript Testing What is JavaScript ? • JavaScript is an interpreted language. • Asimple programminglanguage. • Client side programming language. • Directly embedded into HTML page Seminar Software Testing – Group D
C. JavaScript Testing Turn off JavaScript ? • Web page doesn’t operate or work abnormally. • Tested websites : Gmail, YouTube, VnExpress, Facebook, MediaFire Seminar Software Testing – Group D
C. JavaScript Testing Gmail • Turn off before loading. • StandardHTML: Seminar Software Testing – Group D
C. JavaScript Testing YOUTUBE • Turn off before loading. Seminar Software Testing – Group D
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