Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "WEB-BASE APPLICATION TESTING Seminar Software Testing – Group D 1 20/04/2012."— Presentation transcript:

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:Trần Đăng Trình0812552 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  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 1.Link checker Seminar Software Testing – Group D 10  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

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

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

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

14 1.Link checker Seminar Software Testing – Group D 14 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?"

15 1.Link checker Seminar Software Testing – Group D 15

16 2.Cookies-Javscript Testing A.Cookies Testing B.Session Timeout Testing C.JavaScript Testing Seminar Software Testing – Group D 16

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

18 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 18

19 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 19

20 A.Cookies Testing  Disabling Cookies.  Selective Rejecting Cookies.  Corrupting Cookies.  Cookies Encryption Seminar Software Testing – Group D 20

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

22 A.Cookies Testing  Login facebook. Seminar Software Testing – Group D 22

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

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

25 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 25

26 A.Cookies Testing Seminar Software Testing – Group D 26

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

28 A.Cookies Testing  Sensitive information like usernames and passwords should NOT be stored in plain text for all the world to read.usernames passwordsNOT be stored  This data should be encrypted before it is sent to your computer.encrypted Seminar Software Testing – Group D 28

29 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 29

30 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 30

31 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 31

32 B.Session Timeout Testing  1 - Login.Login  2 - Sleep for timing of one User sessionSleep  3 - Then perform some action on the page  4 - Observe the response.Observe  5 - Application should show alert.show alert Seminar Software Testing – Group D 32

33 B.Session Timeout Testing Seminar Software Testing – Group D 33

34 C.JavaScript Testing  JavaScript is the scripting language of the Web.scripting 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 34

35 C.JavaScript Testing  Web page doesn’t operate or work abnormally.  Tested websites : Gmail, YouTube, VnExpress, Facebook, MediaFire Seminar Software Testing – Group D 35

36 C.JavaScript Testing  Turn off before loading.  Standard HTML: Seminar Software Testing – Group D 36

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

38 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 38

39 3.Web Browser Seminar Software Testing – Group D 39 A. Browser Compatibility B. How To Check The Compatibility C. Tool Browershots

40 A.Browser Compatibility Seminar Software Testing – Group D 40 Browser compatibility is the ability of the Web browser to properly interpret the hypertext markup language (HTML) that renders Web pagesabilityWeb browserhypertextmarkup languageHTML

41 A.Browser Compatibility Seminar Software Testing – Group D 41  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

42 A.Browser Compatibility Seminar Software Testing – Group D 42  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

43 A.Browser Compatibility Seminar Software Testing – Group D 43  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

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

45 B.How To Check The Compatibility Seminar Software Testing – Group D 45

46 B.How To Check The Compatibility Seminar Software Testing – Group D 46

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

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

49 B.How To Check The Compatibility Seminar Software Testing – Group D 49  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...

50 B.How To Check The Compatibility Seminar Software Testing – Group D 50  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/

51 C.Tool Browershots Seminar Software Testing – Group D 51  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 methodsfree toolmany different operating systems  Link to website: http://browsershots.org/http://browsershots.org/

52 C.Tool Browershots Seminar Software Testing – Group D 52  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

53 C.Tool Browershots Seminar Software Testing – Group D 53  Access http://browsershots.org/http://browsershots.org/

54 C.Tool Browershots Seminar Software Testing – Group D 54  Enter the URL into the textbox and press submit

55 C.Tool Browershots Seminar Software Testing – Group D 55  After waiting 30 minutes for the system to handle your request, can press the "Download All" to download picture

56 C.Tool Browershots Seminar Software Testing – Group D 56  Free  Popular,  High reliability  Ease of use  Image quality screenshots that covers the entire screen

57 C.Tool Browershots Seminar Software Testing – Group D 57  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.

58 C.Tool Browershots Seminar Software Testing – Group D 58

59 Seminar Software Testing – Group D 59 Performance test (PT) is an automated testing method in order to determine the speed, load and ability to trust level of the software in the environment many users Include Load test và Stress test

60 Seminar Software Testing – Group D 60 Load testing is the process of subjecting a computer, peripheral, server, network or application to a work level approaching the limits of its specifications. Load testing can be done under controlled lab conditions to compare the capabilities of different systems or to accurately measure the capabilities of a single system. Load testing is a part of a more general process known as performance testing

61 Seminar Software Testing – Group D 61 Load testing can obtain a qualitative idea of how well a system functions in the "real world." Pinpoint bottlenecks, bugs and component limitations -> find solution to solve it. Stress testing is a form of testing that is used to determine the stability of a given system or entity. It involves testing beyond normal operational capacity, often to a breaking point, in order to observe the results. Stress testing may have a more specific meaning in certain industries, such as fatigue testing for materialsfatigue testing

62 Seminar Software Testing – Group D 62 HP LoadRunner is the industry-standard performance testing product for predicting system behavior and performance Read more: HP LoadRunner - Download.com http://download.cnet.com/HP- LoadRunner/3000-2383_4- 10306263.html#ixzz1sV9yfNNcHP LoadRunner - Download.comhttp://download.cnet.com/HP- LoadRunner/3000-2383_4- 10306263.html#ixzz1sV9yfNNc

63 Seminar Software Testing – Group D 63 Include : Virtual User Generator Controller Load Generator Analysis Launcher

64 Seminar Software Testing – Group D 64  Virtual User Generator The Virtual User Generator (VuGen) is used to simulate the steps of real human users VuGen lets the user record and/or script a test to be performed against an application under test, and play back and make modifications to the script as needed, such as defining Parameterization

65 Seminar Software Testing – Group D 65  Load Generator Multiple machines can be set up to act as load generators in concert Analysis The Analysis tool takes the result from the completed scenario and prepares graphs and reports that are used to correlate system information and identify bottlenecks and performance issues

66 5.Web service testing Seminar Software Testing – Group D 66 A Web service is a method of communication between two electronic devices over the web (internet). The W3C defines a "Web service" as "a software system designed to support interoperable machine-to-machine interaction over a network". It has an interface described in a machine-processable format (specifically Web Services Description Language, known by the acronym WSDL).W3CinteroperablenetworkWSDL

67 5.Web service testing Seminar Software Testing – Group D 67

68 5.Web service testing Seminar Software Testing – Group D 68

69 5.Web service testing Seminar Software Testing – Group D 69  Basic Web Service platform is SML + HTTP  Web services platform elements:  SOAP (Simple Object Access Protocol) SOAP  UDDI (Universal Description, Discovery and Integration) UDDI  WSDL (Web Services Description Language) WSDL

70 5.Web service testing Seminar Software Testing – Group D 70  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

71 5.Web service testing Seminar Software Testing – Group D 71  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

72 5.Web service testing Seminar Software Testing – Group D 72  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

73 5.Web service testing Seminar Software Testing – Group D 73  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

74 5.Web service testing Seminar Software Testing – Group D 74  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

75 5.Web service testing Seminar Software Testing – Group D 75  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/

76 5.Web service testing Seminar Software Testing – Group D 76

77 III.Q&A Seminar Software Testing – Group D 77

78 Seminar Software Testing – Group D 78


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

Similar presentations


Ads by Google