SlideShare a Scribd company logo
Testing Web Based Software
1
Testing Web-Based Software
2
Objectives
•
•
•
•
•
•
•
•
•
•
• How is testing of web-based system is different from traditional
software?
Challenges in testing a web-based system
Interface Testing
Usability Testing
Content Testing
Navigation Testing
Configuration/Compatibility Testing
Security Testing
Performance Testing
Load Testing
Stress Testing
Evolution of Software Testing
Web-based System
3
• Web page
• Web site
• Web application
• web-based applications
• web-enabled applications
Evolution of Software Testing
Web Technology Evolution
• First Generation/ 2-tier Web system
• Modern 3-tier & n-tier architecture
4
Challenges in Testing for
Web-based Software
5
• Diversity and Complexity
• Dynamic Environment
• Very short development time
• Continuous evolution
• Compatibility & Interoperability
Quality Aspects
6
Reliability
Performance
Security
Usability
Scalability
Availability
Maintainability
Analysis and Design of Web-based systems
7
Conceptual Modeling – UML class diagram-static
Navigation Modeling – stereotyped classes
Presentation Modeling – composition –location of objects
Web Scenarios Modeling –dynamic –sequence/collaboration
-state chart diagrams
Task Modeling –activity diagrams
Configuration Modeling –deployment diagrams
Design Activities
8
Interface Design
-screen layouts, flexible, consistent and readble
Content Design -
Architecture Design –servers, infrastructure…
Presentation Design –look and feel
Navigation design
Software Testing Myths
Testing of Web-Based Systems
9
• Interface Testing- web server ,application server, db server
• Usability Testing
The general guidelines for usability testing are:
• Present information in a natural and logical order.
• Indicate similar concepts through identical terminology and graphics.
Adhere to uniform conventions for layout, formatting, typefaces,
labeling, etc.
• Do not force users to remember key information across documents.
• Keep in consideration that users may be from diverse categories
with various goals. Provide understandable instructions where
useful. Lay out screens in such a manner that frequently accessed
information is easily found.
• The user should not feel irritating while navigating through the web
application. Create visually pleasing displays. Eliminate information
which is irrelevant or distracting.
Usability Testing
10
• Content writer should not mix the topics of information. There
should be clarity of the information being displayed.
• Organize information hierarchically, with more general
information appearing before more specific detail. Encourage
the user to delve as deeply as needed, but to stop whenever
sufficient information has been received.
• Check that the links are active such that there are no erroneous
or misleading links.
Content Testing
11
•
• Static contents can be checked as part of verification. For
instance, Forms are the integral part of any web site. Forms are
used to get information from users and to keep interaction with
them. First check all the validations on each field. Check for the
default values of fields and also wrong inputs to the fields in the
forms. Options to create forms if any, form delete, view or
modify the forms must also be checked.
There may be dynamic contents on a web page also. Largely
dynamic testing will be suitable in testing these dynamic
contents. These dynamic contents can be in many forms. One
possibility is that constantly changing contents are there, e.g.
weather information web pages or online news paper. Another
case may be that web applications are generated dynamically
from information contained in a data base or in a cookie.
Navigation Testing
12
• The links should not be broken due to any reasons.
• The redirected links should be with proper messages
displayed to the user.
• Check that all possible navigation paths are active.
• Check that all possible navigation paths are relevant.
• Check the navigations for the Back and Forward buttons,
whether these are properly working if allowed.
Configuration/Compatibility Testing
13
• The web application has to be designed to be compatible for a
majority of the browsers.
• The graphics and other objects to be tested on multiple
browsers.
• Some of the things to check are centering of objects, table
layouts, colors, monitor resolution, forms, and buttons.
• The code that executes from the browser also has to be tested.
•
• There are different versions of HTML.
Configuration/Compatibility Testing
14
• All new technologies used in web development like
graphics designs, interface calls like different API’s may
not be available in all Operating Systems.
• Test your web application on different operating systems
like Windows, Unix, MAC, Linux, Solaris with different OS
flavors.
Security Testing
15
Security Test Plan
Securing testing can be planned into two categories:
testing the security of the infrastructure hosting the Web application
and
testing for vulnerabilities of the web application.
Firewalls and port scans can be the solution for security of
infrastructure. For vulnerabilities, user authentication, restricted and
encrypted use of cookies, data communicated must be planned.
Moreover, users should not be able to browse through the
directories in the server.
Security Testing
16
Various Threat Types and their corresponding Test cases
Unauthorized User / Fake Identity / Password
Cracking
Cross-site scripting (XSS)
Buffer overflows
URL Manipulation
SQL Injection
Denial of Service
Performance Parameters
• Resource utilization
• Throughput
• Response time
• Database load
• Scalability
• Round trip time
Performance Testing
17
Performance Testing
18
Load testing
Stress testing

More Related Content

Similar to WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_testing-web-based-systems (2).pptx

Lecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxLecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxBalkrishanpatidar
 
Lecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxLecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxBalkrishanpatidar
 
Lecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxLecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxBalkrishanpatidar
 
Web Engineering - Web Application Testing
Web Engineering - Web Application TestingWeb Engineering - Web Application Testing
Web Engineering - Web Application TestingNosheen Qamar
 
Other Testing Types
Other Testing TypesOther Testing Types
Other Testing TypesRajathi-QA
 
072SWE415StNotes13.ppt
072SWE415StNotes13.ppt072SWE415StNotes13.ppt
072SWE415StNotes13.pptPritishMarathe
 
How to do web application testing on a website checking it-'s (Functio.docx
How to do web application testing on a website checking it-'s (Functio.docxHow to do web application testing on a website checking it-'s (Functio.docx
How to do web application testing on a website checking it-'s (Functio.docxcliftonl1
 
CH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docxCH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docxcravennichole326
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Knoldus Inc.
 
Testing web based applications
Testing web based applicationsTesting web based applications
Testing web based applicationsTeniola Alimi
 
Testingwebapplication by nandi cool
Testingwebapplication by nandi coolTestingwebapplication by nandi cool
Testingwebapplication by nandi coolnandicool
 
most common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptxmost common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptxMetSylvaMetuge
 

Similar to WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_testing-web-based-systems (2).pptx (20)

Lecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxLecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptx
 
Lecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxLecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptx
 
Lecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptxLecture31-Web-based-testing-I.pptx
Lecture31-Web-based-testing-I.pptx
 
Web Engineering - Web Application Testing
Web Engineering - Web Application TestingWeb Engineering - Web Application Testing
Web Engineering - Web Application Testing
 
28791456 web-testing
28791456 web-testing28791456 web-testing
28791456 web-testing
 
Other Testing Types
Other Testing TypesOther Testing Types
Other Testing Types
 
072SWE415StNotes13.ppt
072SWE415StNotes13.ppt072SWE415StNotes13.ppt
072SWE415StNotes13.ppt
 
How to do web application testing on a website checking it-'s (Functio.docx
How to do web application testing on a website checking it-'s (Functio.docxHow to do web application testing on a website checking it-'s (Functio.docx
How to do web application testing on a website checking it-'s (Functio.docx
 
Web test
Web testWeb test
Web test
 
Web test
Web testWeb test
Web test
 
CH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docxCH 1018. Schools often use concrete rewards to increase adaptive.docx
CH 1018. Schools often use concrete rewards to increase adaptive.docx
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
Testing web based applications
Testing web based applicationsTesting web based applications
Testing web based applications
 
Testingwebapplication by nandi cool
Testingwebapplication by nandi coolTestingwebapplication by nandi cool
Testingwebapplication by nandi cool
 
Khushboo_Resume
Khushboo_ResumeKhushboo_Resume
Khushboo_Resume
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 
most common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptxmost common Web Testing interview questions and answers.pptx
most common Web Testing interview questions and answers.pptx
 
jahres2016
jahres2016jahres2016
jahres2016
 
Web engineering cse ru
Web engineering cse ruWeb engineering cse ru
Web engineering cse ru
 

Recently uploaded

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdfKamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfPipe Restoration Solutions
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-IVigneshvaranMech
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxMd. Shahidul Islam Prodhan
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdfKamal Acharya
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionjeevanprasad8
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfKamal Acharya
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageRCC Institute of Information Technology
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
 
Antenna efficency lecture course chapter 3.pdf
Antenna  efficency lecture course chapter 3.pdfAntenna  efficency lecture course chapter 3.pdf
Antenna efficency lecture course chapter 3.pdfAbrahamGadissa
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsAtif Razi
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxViniHema
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdfPratik Pawar
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 

Recently uploaded (20)

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Toll tax management system project report..pdf
Toll tax management system project report..pdfToll tax management system project report..pdf
Toll tax management system project report..pdf
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Antenna efficency lecture course chapter 3.pdf
Antenna  efficency lecture course chapter 3.pdfAntenna  efficency lecture course chapter 3.pdf
Antenna efficency lecture course chapter 3.pdf
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 

WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_26-04-2022_testing-web-based-systems (2).pptx

  • 1. Testing Web Based Software 1
  • 2. Testing Web-Based Software 2 Objectives • • • • • • • • • • • How is testing of web-based system is different from traditional software? Challenges in testing a web-based system Interface Testing Usability Testing Content Testing Navigation Testing Configuration/Compatibility Testing Security Testing Performance Testing Load Testing Stress Testing
  • 3. Evolution of Software Testing Web-based System 3 • Web page • Web site • Web application • web-based applications • web-enabled applications
  • 4. Evolution of Software Testing Web Technology Evolution • First Generation/ 2-tier Web system • Modern 3-tier & n-tier architecture 4
  • 5. Challenges in Testing for Web-based Software 5 • Diversity and Complexity • Dynamic Environment • Very short development time • Continuous evolution • Compatibility & Interoperability
  • 7. Analysis and Design of Web-based systems 7 Conceptual Modeling – UML class diagram-static Navigation Modeling – stereotyped classes Presentation Modeling – composition –location of objects Web Scenarios Modeling –dynamic –sequence/collaboration -state chart diagrams Task Modeling –activity diagrams Configuration Modeling –deployment diagrams
  • 8. Design Activities 8 Interface Design -screen layouts, flexible, consistent and readble Content Design - Architecture Design –servers, infrastructure… Presentation Design –look and feel Navigation design
  • 9. Software Testing Myths Testing of Web-Based Systems 9 • Interface Testing- web server ,application server, db server • Usability Testing The general guidelines for usability testing are: • Present information in a natural and logical order. • Indicate similar concepts through identical terminology and graphics. Adhere to uniform conventions for layout, formatting, typefaces, labeling, etc. • Do not force users to remember key information across documents. • Keep in consideration that users may be from diverse categories with various goals. Provide understandable instructions where useful. Lay out screens in such a manner that frequently accessed information is easily found. • The user should not feel irritating while navigating through the web application. Create visually pleasing displays. Eliminate information which is irrelevant or distracting.
  • 10. Usability Testing 10 • Content writer should not mix the topics of information. There should be clarity of the information being displayed. • Organize information hierarchically, with more general information appearing before more specific detail. Encourage the user to delve as deeply as needed, but to stop whenever sufficient information has been received. • Check that the links are active such that there are no erroneous or misleading links.
  • 11. Content Testing 11 • • Static contents can be checked as part of verification. For instance, Forms are the integral part of any web site. Forms are used to get information from users and to keep interaction with them. First check all the validations on each field. Check for the default values of fields and also wrong inputs to the fields in the forms. Options to create forms if any, form delete, view or modify the forms must also be checked. There may be dynamic contents on a web page also. Largely dynamic testing will be suitable in testing these dynamic contents. These dynamic contents can be in many forms. One possibility is that constantly changing contents are there, e.g. weather information web pages or online news paper. Another case may be that web applications are generated dynamically from information contained in a data base or in a cookie.
  • 12. Navigation Testing 12 • The links should not be broken due to any reasons. • The redirected links should be with proper messages displayed to the user. • Check that all possible navigation paths are active. • Check that all possible navigation paths are relevant. • Check the navigations for the Back and Forward buttons, whether these are properly working if allowed.
  • 13. Configuration/Compatibility Testing 13 • The web application has to be designed to be compatible for a majority of the browsers. • The graphics and other objects to be tested on multiple browsers. • Some of the things to check are centering of objects, table layouts, colors, monitor resolution, forms, and buttons. • The code that executes from the browser also has to be tested. • • There are different versions of HTML.
  • 14. Configuration/Compatibility Testing 14 • All new technologies used in web development like graphics designs, interface calls like different API’s may not be available in all Operating Systems. • Test your web application on different operating systems like Windows, Unix, MAC, Linux, Solaris with different OS flavors.
  • 15. Security Testing 15 Security Test Plan Securing testing can be planned into two categories: testing the security of the infrastructure hosting the Web application and testing for vulnerabilities of the web application. Firewalls and port scans can be the solution for security of infrastructure. For vulnerabilities, user authentication, restricted and encrypted use of cookies, data communicated must be planned. Moreover, users should not be able to browse through the directories in the server.
  • 16. Security Testing 16 Various Threat Types and their corresponding Test cases Unauthorized User / Fake Identity / Password Cracking Cross-site scripting (XSS) Buffer overflows URL Manipulation SQL Injection Denial of Service
  • 17. Performance Parameters • Resource utilization • Throughput • Response time • Database load • Scalability • Round trip time Performance Testing 17