SlideShare a Scribd company logo
Fundamentals of Software Testing
Noha Gamal
QA Engineer
Agenda
● Software testing definition
● Bug report and severity
● Test cases
● Software testing techniques
● Software testing types
● Introduction to selenium web-driver
● Demo
Software testing
Software Testing is the process used to find
defects in a product. Testing should focus on
both a containment effort to remove defects
from your software to gain confidence about the
level of quality and to provide information
What are bugs?!
Bugs are unexpected product
behaviors compared to
expectations. A bug can be
the absence of an expected
feature from the product.
Causes of Software bugs
Bugs arise from mistakes and errors made by
developers and also because of:
● time pressure.
● Last minute changes.
● Communication failure.
Bug Report
● Summary
● Steps to reproduce
● Actual Result
● Expected Result
● Attachments
● Browser
● OS
● Severity
● Priority
Bug Severity
Blocker: When entry point to the system is blocked
Critical: When a feature is blocked. No workaround.
Major: When a feature is blocked with workaround.
Minor: For features with missing acceptance criteria,
alignment issue
Trivial: For cosmetics, typos, text difference, misspelling.
Bug life cycle
Test Case
● A test case is a set of conditions or scenarios
under which a tester will determine whether a
system under test satisfies requirements or
works correctly.
● It should be negative and positive scenarios.
● It can be manual and automated.
● Examples
Software testing techniques
1) Black Box Testing Technique:
● Also known as specification based testing
● Testing without knowing the internal workings of
the code
● WHAT a system does, rather than HOW it does It
● Test phases by testing teams
Software testing techniques
2) White Box Testing Technique:
● Also known as structural or glass box
testing.
● Testing based upon the structure of the
code
● Test phases by development teams
Testing levels/types
1) Unit testing
● A unit is smallest testable piece of software.
● It is basically done by the developers to make
sure that their code is working fine. They test
their piece of code which they have written like
classes, functions, interfaces and procedures.
● It is a white box type of testing.
2) Integration testing
● It is basically done by the developers and It is
done when two units are integrated, in order
to test the behavior and functionality of both
the units after integration.
● It is a white box type of testing.
3) Functional test:
● It is the type of testing done against the
business requirements of application. It is a
black box type of testing.
● Functional testing involves following sub-types
of testings:
➢Regression test
➢Smoke test
➢Usability test
➢ Smoke test: It is performed to ascertain that the
critical functionalities of the program is working
fine. Smoke testing is a subset of Regression
testing.
➢ Regression test: It is always done to verify that
modified code does not break the existing
functionality of the application and works within
the requirements of the system.
➢ Usability test: Usability involves making a
web-site's interface easier to use and
simpler to understand, so that the user’s
experience is as enjoyable as possible.
4) Non-Functional testing:
● It is totally different from the functional testing. Tests the
application based on the client and performance requirements.
● The non functional tests can be effective by using testing tools.
● Non-functional testing involves following sub-types of testings:
➢ Load testing
➢ Stress testing
➢ LOAD TESTING – Also Known as Scalability Testing. During
this test, test engineers execute application build under
customer expected configuration and load to estimate
performance.
➢ STRESS TESTING – During this test, Test engineers
estimates the peak load. To find out the maximum number
of users for execution of out application user customer
expected configuration to estimate peak load.
PEAK LOAD > CUSTOMER LAOD (EXPECTED)
5) Alpha Testing
● The first testing should occur in-house with
different operating systems and different
browsers.
● An alpha version may not yet contain all of the
planned features.
6) Beta Testing
● Beta testing is considered the second phase after
alpha testing.
● Beta tests are typically external tests to identify any
performances issues or bugs prior to an official
release.
● Beta tests can be open or closed. A closed beta test is
used to control the number of users participating. An
open test is open to anyone who has an interest in
beta testing.
7) User acceptance testing (UAT)
● Usually the final stage of validation
● Conducted by or visible to the end user and
customer
● Usually for ensuring the system is ready for
deployment into production
● Testing is based on the defined user
requirements
Selenium Web-driver
● Selenium is a Functional Automation tool for Web
applications.
● An open source tool (No cost Involved in it).
● Supports the languages like Java, PHP, Perl, Python,
Ruby and C#.
● Supports the browsers like IE, Mozilla Firefox, Safari,
Google Chrome and Opera.
● Supports the operating systems like Windows, Linux
and Mac.
Selenium Methods(samples)
➢ Navigation: get(“www.example.com”)
➢ Locating an element:
➢ find_element_by_id(“id”)
➢ find_element_by_class_name(“”)
➢ click()
➢ send_keys(“hello“)
➢ close()
Demo Time
References
● ISTQB books
– http://www.istqb.org/
● http://selenium-python.readthedocs.org/getting-
started.html
Fundamentals of software testing

More Related Content

What's hot

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Venkatesh Prasad Ranganath
 
Software Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, PuneSoftware Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, Punesanjayjadhav8789
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing IntroductionArunKumar5524
 
Software testing
Software testingSoftware testing
Software testingmkn3009
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cyclesubash kumar
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4 Mohammad Faizan
 
software testing
 software testing software testing
software testingSara shall
 
Software Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testingSoftware Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testingREHMAT ULLAH
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaEdureka!
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionNeeraj Kumar Singh
 
1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentalsAsmaa Matar
 
STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)Ch Fahadi
 
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingSoftware Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingKostCare
 

What's hot (20)

Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)Testing concepts [3] - Software Testing Techniques (CIS640)
Testing concepts [3] - Software Testing Techniques (CIS640)
 
Software Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, PuneSoftware Testing Tutorials - MindScripts Technologies, Pune
Software Testing Tutorials - MindScripts Technologies, Pune
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 
Software testing
Software testingSoftware testing
Software testing
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software testing introduction
Software testing  introductionSoftware testing  introduction
Software testing introduction
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cycle
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
software testing
 software testing software testing
software testing
 
Software Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testingSoftware Quality Assurance(Sqa) automated software testing
Software Quality Assurance(Sqa) automated software testing
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
 
3.software testing
3.software testing3.software testing
3.software testing
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
1 testing fundamentals
1 testing fundamentals1 testing fundamentals
1 testing fundamentals
 
STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)
 
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingSoftware Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software Testing
 

Viewers also liked

Testing in a glance
Testing in a glanceTesting in a glance
Testing in a glanceRajesh Kumar
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsKMS Technology
 
Different type of_software_testing - copy
Different type of_software_testing - copyDifferent type of_software_testing - copy
Different type of_software_testing - copyYogita patil
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing BasicsBelal Raslan
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleGaruda Trainings
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 

Viewers also liked (11)

Why Scm
Why ScmWhy Scm
Why Scm
 
Testing in a glance
Testing in a glanceTesting in a glance
Testing in a glance
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
 
Different type of_software_testing - copy
Different type of_software_testing - copyDifferent type of_software_testing - copy
Different type of_software_testing - copy
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing Basics
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 

Similar to Fundamentals of software testing

Software testing
Software testingSoftware testing
Software testingMohdVais1
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingVidya-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingSachin-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingFayis-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingRajesh-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingANKUR-BA
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role) Shwetha-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingShwetha-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingVeneet-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingSwatiS-BA
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in TestingLakshmi-BA
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesPunjab University
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1Siddharth Sharma
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development processGen Aloys Ochola Badde
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design Jayant Dalvi
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual TestingMurageppa-QA
 

Similar to Fundamentals of software testing (20)

Software testing
Software testingSoftware testing
Software testing
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Role of BA in Testing
Role of BA in TestingRole of BA in Testing
Role of BA in Testing
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 
Software testing
Software testingSoftware testing
Software testing
 
Software quality-libreplan
Software quality-libreplanSoftware quality-libreplan
Software quality-libreplan
 
Software testing and software development process
Software testing and software development processSoftware testing and software development process
Software testing and software development process
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
 
Non Functional.pptx
Non Functional.pptxNon Functional.pptx
Non Functional.pptx
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Recently uploaded

Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxwendy cai
 
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
 
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
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Krakówbim.edu.pl
 
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
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptssuser9bd3ba
 
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
 
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdfDanfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdfNurvisNavarroSanchez
 
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
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringC Sai Kiran
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdfPratik Pawar
 
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
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.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
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationRobbie Edward Sayers
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...Amil baba
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringC Sai Kiran
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwoodseandesed
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 

Recently uploaded (20)

Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
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...
 
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
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
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
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
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
 
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdfDanfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.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
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.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
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.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
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 

Fundamentals of software testing

  • 1. Fundamentals of Software Testing Noha Gamal QA Engineer
  • 2. Agenda ● Software testing definition ● Bug report and severity ● Test cases ● Software testing techniques ● Software testing types ● Introduction to selenium web-driver ● Demo
  • 3. Software testing Software Testing is the process used to find defects in a product. Testing should focus on both a containment effort to remove defects from your software to gain confidence about the level of quality and to provide information
  • 4. What are bugs?! Bugs are unexpected product behaviors compared to expectations. A bug can be the absence of an expected feature from the product.
  • 5. Causes of Software bugs Bugs arise from mistakes and errors made by developers and also because of: ● time pressure. ● Last minute changes. ● Communication failure.
  • 6. Bug Report ● Summary ● Steps to reproduce ● Actual Result ● Expected Result ● Attachments ● Browser ● OS ● Severity ● Priority
  • 7. Bug Severity Blocker: When entry point to the system is blocked Critical: When a feature is blocked. No workaround. Major: When a feature is blocked with workaround. Minor: For features with missing acceptance criteria, alignment issue Trivial: For cosmetics, typos, text difference, misspelling.
  • 9. Test Case ● A test case is a set of conditions or scenarios under which a tester will determine whether a system under test satisfies requirements or works correctly. ● It should be negative and positive scenarios. ● It can be manual and automated. ● Examples
  • 10. Software testing techniques 1) Black Box Testing Technique: ● Also known as specification based testing ● Testing without knowing the internal workings of the code ● WHAT a system does, rather than HOW it does It ● Test phases by testing teams
  • 11.
  • 12. Software testing techniques 2) White Box Testing Technique: ● Also known as structural or glass box testing. ● Testing based upon the structure of the code ● Test phases by development teams
  • 13.
  • 14. Testing levels/types 1) Unit testing ● A unit is smallest testable piece of software. ● It is basically done by the developers to make sure that their code is working fine. They test their piece of code which they have written like classes, functions, interfaces and procedures. ● It is a white box type of testing.
  • 15. 2) Integration testing ● It is basically done by the developers and It is done when two units are integrated, in order to test the behavior and functionality of both the units after integration. ● It is a white box type of testing.
  • 16. 3) Functional test: ● It is the type of testing done against the business requirements of application. It is a black box type of testing. ● Functional testing involves following sub-types of testings: ➢Regression test ➢Smoke test ➢Usability test
  • 17. ➢ Smoke test: It is performed to ascertain that the critical functionalities of the program is working fine. Smoke testing is a subset of Regression testing. ➢ Regression test: It is always done to verify that modified code does not break the existing functionality of the application and works within the requirements of the system.
  • 18. ➢ Usability test: Usability involves making a web-site's interface easier to use and simpler to understand, so that the user’s experience is as enjoyable as possible.
  • 19. 4) Non-Functional testing: ● It is totally different from the functional testing. Tests the application based on the client and performance requirements. ● The non functional tests can be effective by using testing tools. ● Non-functional testing involves following sub-types of testings: ➢ Load testing ➢ Stress testing
  • 20. ➢ LOAD TESTING – Also Known as Scalability Testing. During this test, test engineers execute application build under customer expected configuration and load to estimate performance. ➢ STRESS TESTING – During this test, Test engineers estimates the peak load. To find out the maximum number of users for execution of out application user customer expected configuration to estimate peak load. PEAK LOAD > CUSTOMER LAOD (EXPECTED)
  • 21. 5) Alpha Testing ● The first testing should occur in-house with different operating systems and different browsers. ● An alpha version may not yet contain all of the planned features.
  • 22. 6) Beta Testing ● Beta testing is considered the second phase after alpha testing. ● Beta tests are typically external tests to identify any performances issues or bugs prior to an official release. ● Beta tests can be open or closed. A closed beta test is used to control the number of users participating. An open test is open to anyone who has an interest in beta testing.
  • 23. 7) User acceptance testing (UAT) ● Usually the final stage of validation ● Conducted by or visible to the end user and customer ● Usually for ensuring the system is ready for deployment into production ● Testing is based on the defined user requirements
  • 24. Selenium Web-driver ● Selenium is a Functional Automation tool for Web applications. ● An open source tool (No cost Involved in it). ● Supports the languages like Java, PHP, Perl, Python, Ruby and C#. ● Supports the browsers like IE, Mozilla Firefox, Safari, Google Chrome and Opera. ● Supports the operating systems like Windows, Linux and Mac.
  • 25. Selenium Methods(samples) ➢ Navigation: get(“www.example.com”) ➢ Locating an element: ➢ find_element_by_id(“id”) ➢ find_element_by_class_name(“”) ➢ click() ➢ send_keys(“hello“) ➢ close()
  • 27. References ● ISTQB books – http://www.istqb.org/ ● http://selenium-python.readthedocs.org/getting- started.html