SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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 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
 
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 TestingVidya-QA
 
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 TestingLakshmi-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 TestingVeneet-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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 

Kürzlich hochgeladen (20)

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 

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