Download presentation
Presentation is loading. Please wait.
Published byHarriet Stanley Modified over 9 years ago
1
WEB-BASE APPLICATION TESTING Seminar Software Testing – Group D 1 20/04/2012
2
Small Group Leader: D1:Phạm Bá Thuần0812504 D2:Liễu Quang Tín0812520 D3: D4:Hoàng Quốc Minh Trung0912493 D5:Phạm Danh0912051 Group: D Team Leader: Hoàng Quốc Minh Trung Seminar Software Testing – Group D 2 Teacher: Lâm Quang Vũ Trần Duy Hoàng
3
Content I.Overview II.Web Application Testing III.Q&A Seminar Software Testing – Group D 3
4
I.Overview Web testing is the name given to software testing that focuses on web applicationsnamesoftware testingweb applications Seminar Software Testing – Group D 4
5
I.Overview To solve address issues before the system is revealed to the publicsolve address issues To solve issues such as the security of the web application, the basic functionality of the sitesolve issuessecuritybasic functionality To ready for large number of user and access with hight bandwidthreadylarge Seminar Software Testing – Group D 5
6
I.Overview 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 6
7
II. Web Application Testing Seminar Software Testing – Group D 7 1. Link checker 2. Cookies-Javscript Testing 3. Web Browser 4. Load Test And Stress Test 5. Web Service Testing
8
1.Link checker Seminar Software Testing – Group D 8 A tool or online service that is usedtoolonline service to tests and reports on the validity of the hypertexttestsreports links on the pages in a Web site
9
1.Link checker Seminar Software Testing – Group D 9 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) ....
10
Link States Seminar Software Testing – Group D 10 Error 404: Not Found
11
Link States Seminar Software Testing – Group D 11 Error 500: Internal Server Error
12
Link States Seminar Software Testing – Group D 12 Error 403: Forbidden
13
Link States Seminar Software Testing – Group D 13 Error 503 Service Unavailable
14
Link States Seminar Software Testing – Group D 14 Error 503 Service Unavailable
15
Link States Seminar Software Testing – Group D 15 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?"
16
1.Link checker Seminar Software Testing – Group D 16
17
2.Cookies-Javscript Testing A.Cookies Testing B.Session Timeout Testing C.JavaScript Testing Seminar Software Testing – Group D 17
18
A.Cookies Testing Cookies is small information stored in text file on user’s hard drive by web server.small information This information is later used by web browser to retrieve information from that machine retrieve information Seminar Software Testing – Group D 18
19
A.Cookies Testing To make sure that the cookies do not store confidential information.do not store confidential information To check the number of cookies usedcheck Make sure that the application maintains its efficiency when switched off or Accept cookies efficiency when switched off or Accept cookies Seminar Software Testing – Group D 19
20
A.Cookies Testing To check application response to the damaged cookies.checkdamaged cookies Make sure that cookies are stored and removed it to the pages on which it is expected and necessary.storedremoved Testing that cookies are working correctly in all browsers that will be used by application.working correctly Seminar Software Testing – Group D 20
21
A.Cookies Testing Disabling Cookies. Selective Rejecting Cookies. Corrupting Cookies. Cookies Encryption Seminar Software Testing – Group D 21
22
A.Cookies Testing 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 22
23
A.Cookies Testing Start by deleting all cookies from our PC.deleting Analyze site cookie usage in advance and draw up a test plan. Analyze site cookie Detailing what cookies to reject/accept for each function. Detailing Seminar Software Testing – Group D 23
24
A.Cookies Testing Altering the data in the persistent cookies. Altering Allow the cookie to be modified. Allowmodified Selectively deleting cookies. Seminar Software Testing – Group D 24
25
A.Cookies Testing 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 25
26
A.Cookies Testing Check if the application is writing cookies properly or not. Checkproperly 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.no personalsensitive dataencrypted If the application under test is a public website, there should not be overuse of cookies.should not Seminar Software Testing – Group D 26
27
A.Cookies Testing Close all browsers, delete all previously written cookies and disable the cookies from our browser settings. Closedeletedisable Set browser options to prompt whenever cookie is being stored/saved in your system. Setprompt Close all browsers windows and manually delete all cookies. Closemanually delete Seminar Software Testing – Group D 27
28
B.Session Timeout Testing The time-out period assigned to the Session object for the application. The time-out period assigned If the user does not refresh or request a page within the time-out period, the session ends. Seminar Software Testing – Group D 28
29
B.Session Timeout Testing 1 - Login into specific web application.Login 2 - Sleep that script for timing of one User sessionSleep 3 - Then perform some action on the page 4 - Observe the response of that action.Observe 5 - Application should show alert. If it is not then probably session is not ending properlyshow alert Seminar Software Testing – Group D 29
30
C.JavaScript Testing JavaScript is an interpreted language.interpreted language A simple programming language.simple programming Client side programming language. Client side Directly embedded into HTML page Directly embedded Seminar Software Testing – Group D 30
31
C.JavaScript Testing Web page doesn’t operate or work abnormally. Tested websites : Gmail, YouTube, VnExpress, Facebook, MediaFire Seminar Software Testing – Group D 31
32
C.JavaScript Testing Turn off before loading. Standard HTML: Seminar Software Testing – Group D 32
33
C.JavaScript Testing Turn off before loading. Seminar Software Testing – Group D 33
34
C.JavaScript Testing 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 34
35
3.Web Browser Seminar Software Testing – Group D 35 A. Browser Compatibility B. How To Check The Compatibility C. Tool Browershots
36
A.Browser Compatibility Seminar Software Testing – Group D 36 Browser compatibility is the ability of the Web browser to properly interpret the hypertext markup language (HTML) that renders Web pagesWeb browserhypertextmarkup languageHTML
37
A.Browser Compatibility Seminar Software Testing – Group D 37 Site displays correctly?displays On different browsers have the same layout, same design?differentsame Time to load ? Time Site layout is reasonable, content updates clearly?reasonable clearly
38
A.Browser Compatibility Seminar Software Testing – Group D 38 Screen size Information provided at this site, including note boards, clear error messages? Information Font-style, font size ? Popup, Ads? Be uncomfortable for the viewer?uncomfortable
39
A.Browser Compatibility Seminar Software Testing – Group D 39 The site must be displayed in common browsers like IE, Firefox, Chrome, Opera, Safari... Each of brower is different structure, designdifferent structuredesign Your browser may not support the technologies that your website is using.not support The site can display well in browser but not good in other browsersnot good Site has good displays on the new browser version?new browser version
40
B.How To Check The Compatibility Seminar Software Testing – Group D 40 Different windows version has different architecture (XP & Windows 7) The upgrade window Check on mac, linux
41
B.How To Check The Compatibility Seminar Software Testing – Group D 41
42
B.How To Check The Compatibility Seminar Software Testing – Group D 42
43
B.How To Check The Compatibility Seminar Software Testing – Group D 43 Check the web page displayed on the screen of mobile devices
44
B.How To Check The Compatibility Seminar Software Testing – Group D 44 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
45
B.How To Check The Compatibility Seminar Software Testing – Group D 45 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.http://browsershots.org/ 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...
46
B.How To Check The Compatibility Seminar Software Testing – Group D 46 Try on the online validator test as http://wave.webaim.org/ and http://www.totalvalidator.com/ to analyze the content http://wave.webaim.org/ http://www.totalvalidator.com/
47
C.Tool Browershots Seminar Software Testing – Group D 47 Browershots is one of the popular methods in the test site. Is a free tool to check browser compatibility including several versions of the browsers and even of the more obscure browsers, can test on many different operating systems.popular methodsmany different operating systems Link to website: http://browsershots.org/http://browsershots.org/
48
C.Tool Browershots Seminar Software Testing – Group D 48 Browershots will take pictures of the site displayed on different browsers. Based on the photos, users can check the difference in screen size, color and display web pages with javascript and flash.take picturescheck the difference display
49
C.Tool Browershots Seminar Software Testing – Group D 49 Access http://browsershots.org/http://browsershots.org/
50
C.Tool Browershots Seminar Software Testing – Group D 50 Enter the URL into the textbox and press submit
51
C.Tool Browershots Seminar Software Testing – Group D 51 After waiting 30 minutes for the system to handle your request, can press the "Download All" to download picture
52
C.Tool Browershots Seminar Software Testing – Group D 52 Free Popular, High reliability Ease of use Image quality screenshots that covers the entire screen
53
C.Tool Browershots Seminar Software Testing – Group D 53 With free user, you are limited to 100 pictures in 24 hours. With 30 minute wait for a time submit, it is too long. If you want to use the extended features, register and pay.
54
5.Web service testing Seminar Software Testing – Group D 54 Web services describes a standardized way of integrating Web-based applications using the XML, SOAP, WSDL and UDDI open standards over an Internet protocol backbonedescribesXML SOAPWSDLUDDIopenstandards
55
5.Web service testing Seminar Software Testing – Group D 55
56
5.Web service testing Seminar Software Testing – Group D 56 SOAP is an XML-based protocol to let applications exchange information over HTTP.an XML-based protocol SOAP is a protocol for accessing a Web Service.a protocol SOAP is based on XML SOAP stands for Simple Object Access Protocol SOAP is a communication protocol SOAP is a format for sending messages
57
5.Web service testing Seminar Software Testing – Group D 57 SOAP is designed to communicate via Internet SOAP is platform independent SOAP is language independent SOAP is simple and extensible SOAP is a W3C standard
58
5.Web service testing Seminar Software Testing – Group D 58 WSDL is an XML-based language for locating and describing Web services.an XML-based language WSDL stands for Web Services Description Language WSDL is based on XML WSDL is used to describe Web services WSDL is used to locate Web services WSDL is a W3C standard
59
5.Web service testing Seminar Software Testing – Group D 59 UDDI is a directory service where companies can register and search for Web services. directory service UDDI stands for Universal Description, Discovery and Integration UDDI is a directory for storing information about web services UDDI is a directory of web service interfaces described by WSDL UDDI communicates via SOAP UDDI is built into the Microsoft.NET platform
60
5.Web service testing Seminar Software Testing – Group D 60
61
5.Web service testing Seminar Software Testing – Group D 61 XML provides a language which can be used between different platforms and programming languages and still express complex messages and functions. XML provides The HTTP protocol is the most used Internet protocol.HTTP protocolmost Web services platform elements: SOAP (Simple Object Access Protocol) SOAP UDDI (Universal Description, Discovery and Integration) UDDI WSDL (Web Services Description Language) WSDL
62
5.Web service testing Seminar Software Testing – Group D 62 SoapUI is the world's leading Functional Testing tool for SOA and Web Service testing. With its easy-to-use graphical interface, and enterprise-class features, soapUI allows you to easily and rapidly create and execute automated functional, regression, and load tests.easy-to-use In a single test environment, soapUI provides complete test coverage - from SOAP and REST-based Web services, to JMS enterprise messaging layers, databases, Rich Internet Applications, and much more.provides complete test coverage
63
5.Web service testing Seminar Software Testing – Group D 63 SOAPUI is a product of SmartBear. SOAPUI is a free testing software & also have a SOAPUI Pro version with more features, you can use Pro version as Trial for 15 days. All version can download form: http://www.soapui.org/ http://www.soapui.org/
64
5.Web service testing Seminar Software Testing – Group D 64
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.