SlideShare a Scribd company logo
White Box ,Black Box
&
Gray Box Testing

Dr. Himanshu Hora
SRMS College of Engineering & Technology
Bareilly (INDIA)
White box testing
• White box testing is a method of testing software that
tests internal structures or working of an application
• In white-box testing an internal perspective of the
system , as well as programming skills, are used to
design test cases
• It is also known as clear box testing, glass box
testing, transparent box testing, and structural
testing
Cont…
• White box testing is the detailed investigation of
internal logic and structure of the code
• In order to perform white box testing of an
application , the tester needs to possess knowledge of
the internal working of the code
Advantages of white box testing
• It becomes very easy to find out which type of data
can help in testing the application effectively
• It helps in optimizing the code

• Extra lines of code can be removed which can be
bring in hidden defects
• Due to the tester’s knowledge about the code ,
maximum coverage is attained during test scenario
writing
Disadvantages of white box
testing
• Due to the fact that a skilled tester is needed to
perform white box testing, the costs are increased
• Sometimes it is impossible to look into every corner
to find out hidden errors that may create problems as
many paths will go untested
• It is difficult to maintain white box testing as the use
of specialized tools like code analyzers and
debugging tools are required.
Black Box Testing
• The technique of testing without having any
knowledge of the interior workings of the application
is Black Box testing
• Black box testing is a method of software testing that
examines the functionality of an application
• This method of test can be applied to virtually every
level of software testing : unit , integration , system ,
and acceptance
Cont…
• The tester is oblivious to the system architecture and
does not have access to the source code
• When performing a black box test, a tester will
interact with the system's user interface by providing
inputs and examining outputs without knowing how
and where the inputs are worked upon
Advantages of black box testing
• Well suited and efficient for large code segments
• Code Access not required

• Clearly separates user's perspective from the
developer's perspective through visibly defined roles
• Large numbers of moderately skilled testers can test
the application with no knowledge of implementation,
programming language or operating systems
Disadvantages of black box
testing
• Limited Coverage since only a selected number of
test scenarios are actually performed
• Inefficient testing, due to the fact that the tester only
has limited knowledge about an application
• Blind Coverage, since the tester cannot target specific
code segments or error prone areas The test cases are
difficult to design
Gray Box Testing
• Gray box testing is a combination of white box
testing and black box testing
• The aim of this testing is to search for the defects if
any due to improper structure or improper usage of
applications
• Gray-box testing is also known as translucent testing
Cont…
• Gray-box testing is beneficial because it takes the
straightforward technique of black-box testing and
combines it with the code targeted systems in whitebox testing
Advantages of Gray box testing
• Offers combined benefits of black box and white box
testing wherever possible
• Grey box testers don't rely on the source code; instead
they rely on interface definition and functional
specifications
• Based on the limited information available, a grey
box tester can design excellent test scenarios
especially around communication protocols and data
type handling
• The test is done from the point of view of the user
and not the designer
Disadvantages of gray box testing
• Since the access to source code is not available, the
ability to go over the code and test coverage is
limited.
• The tests can be redundant if the software designer
has already run a test case.
• Testing every possible input stream is unrealistic
because it would take an unreasonable amount of
time; therefore, many program paths will go untested.
Black Box vs. Gray Box vs. White Box
S . No

Black box

Gray box

White box

1

The Internal Workings Somewhat knowledge
of an application are of
the
internal
not required to be workings are known
known

Tester
has
full
knowledge of the
Internal workings of
the application

2

Also known as closed
box
testing,
data
driven testing and
functional testing

Another term for grey
box
testing
is
translucent testing as
the tester has limited
knowledge of the
insides
of
the
application

Also known as clear
box testing, structural
testing or code based
testing

3

Performed by end
users and also by
testers and developers

Performed by end Normally done by
users and also by testers and developers
testers and developers

4

Testing is based on
external expectations Internal behavior of
the application is
unknown

Testing is done on the
basis of high level
database diagrams and
data flow diagrams

Internal workings are
fully known and the
tester can design test
data accordingly
Thank You
Dr. Himanshu Hora
SRMS College of Engineering & Technology
Bareilly (INDIA)

More Related Content

What's hot

What is Ad-Hoc Testing
What is Ad-Hoc TestingWhat is Ad-Hoc Testing
What is Ad-Hoc Testing
Exforsys Inc
 
Test case design
Test case designTest case design
Test case design
99pillar
 
Static Testing
Static TestingStatic Testing
Static Testing
Dharita Chokshi
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
AshutoshKumar899318
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Prachi Sasankar
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
Haris Jamil
 
Black box testing
Black box testingBlack box testing
Black box testing
Nakul Sharma
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
AWADHESH PRATAP SINGH UNIVERSITY, REWA (M.P.)
 
Gray box testing
Gray box testingGray box testing
Gray box testing
Dasun Eranthika
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
Pratik Tandel
 
Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysis
Vadym Muliavka
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
Edureka!
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
university of education,Lahore
 
Levels Of Testing.pptx
Levels Of Testing.pptxLevels Of Testing.pptx
Levels Of Testing.pptx
SunilNagaraj10
 

What's hot (20)

What is Ad-Hoc Testing
What is Ad-Hoc TestingWhat is Ad-Hoc Testing
What is Ad-Hoc Testing
 
Test case design
Test case designTest case design
Test case design
 
Static Testing
Static TestingStatic Testing
Static Testing
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
 
Introduction to White box testing
Introduction to White box testingIntroduction to White box testing
Introduction to White box testing
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Black box testing
Black box testingBlack box testing
Black box testing
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
Gray box testing
Gray box testingGray box testing
Gray box testing
 
Software Configuration Management
Software Configuration ManagementSoftware Configuration Management
Software Configuration Management
 
Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysis
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Levels Of Testing.pptx
Levels Of Testing.pptxLevels Of Testing.pptx
Levels Of Testing.pptx
 

Viewers also liked

Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Nivetha Padmanaban
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth Technology
Ummar Ahmed
 
Black box
Black boxBlack box
Black box
fadysid03
 
Whitebox testing
Whitebox testingWhitebox testing
Whitebox testingOana Feidi
 
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokdenn|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
Sunil Kumar
 
Structural patterns
Structural patternsStructural patterns
Structural patterns
Himanshu
 
Black And White
Black And WhiteBlack And White
Black And Whiteadam dim
 
PHP unserialization vulnerabilities: What are we missing?
PHP unserialization vulnerabilities: What are we missing?PHP unserialization vulnerabilities: What are we missing?
PHP unserialization vulnerabilities: What are we missing?
Sam Thomas
 
Black & white 2
Black & white 2Black & white 2
Black & white 2posewoojin
 
Software Testing Techniques
 Software Testing Techniques  Software Testing Techniques
Software Testing Techniques
Sneha Singh
 
Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)
Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)
Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)
Adam Park
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
BugRaptors
 
금액인증 및 보안
금액인증 및 보안금액인증 및 보안
금액인증 및 보안PayGate
 
SAP Social Club 'Run Simple' -2-
SAP Social Club 'Run Simple' -2-SAP Social Club 'Run Simple' -2-
SAP Social Club 'Run Simple' -2-
Creatip
 
아꿈사 발표 Node JS 프로그래밍 8장
아꿈사 발표 Node JS 프로그래밍 8장아꿈사 발표 Node JS 프로그래밍 8장
아꿈사 발표 Node JS 프로그래밍 8장
Woo Yeong Choi
 
Multiplexing in Data Communication DC15
Multiplexing in Data Communication DC15Multiplexing in Data Communication DC15
Multiplexing in Data Communication DC15koolkampus
 

Viewers also liked (20)

Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth Technology
 
Black box
Black boxBlack box
Black box
 
Whitebox testing
Whitebox testingWhitebox testing
Whitebox testing
 
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokdenn|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
n|u Dharamsala Humla : Memory Forensic by Tenzin Chokden
 
Structural patterns
Structural patternsStructural patterns
Structural patterns
 
Black And White
Black And WhiteBlack And White
Black And White
 
PHP unserialization vulnerabilities: What are we missing?
PHP unserialization vulnerabilities: What are we missing?PHP unserialization vulnerabilities: What are we missing?
PHP unserialization vulnerabilities: What are we missing?
 
Black & white 2
Black & white 2Black & white 2
Black & white 2
 
Software Testing Techniques
 Software Testing Techniques  Software Testing Techniques
Software Testing Techniques
 
Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)
Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)
Run Simple - Bill McDermott, SAP CEO - Keynote (koKR)
 
An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing An Insight into the Black Box and White Box Software Testing
An Insight into the Black Box and White Box Software Testing
 
금액인증 및 보안
금액인증 및 보안금액인증 및 보안
금액인증 및 보안
 
SAP Social Club 'Run Simple' -2-
SAP Social Club 'Run Simple' -2-SAP Social Club 'Run Simple' -2-
SAP Social Club 'Run Simple' -2-
 
Software testing Report
Software testing ReportSoftware testing Report
Software testing Report
 
아꿈사 발표 Node JS 프로그래밍 8장
아꿈사 발표 Node JS 프로그래밍 8장아꿈사 발표 Node JS 프로그래밍 8장
아꿈사 발표 Node JS 프로그래밍 8장
 
Multiplexing in Data Communication DC15
Multiplexing in Data Communication DC15Multiplexing in Data Communication DC15
Multiplexing in Data Communication DC15
 

Similar to White box black box & gray box testing

St 1.3
St 1.3St 1.3
Grey box testing in software security involves assessing the security of a sy...
Grey box testing in software security involves assessing the security of a sy...Grey box testing in software security involves assessing the security of a sy...
Grey box testing in software security involves assessing the security of a sy...
KrishnaVeni451953
 
black-box testing is a type of software testing in which the tester is not co...
black-box testing is a type of software testing in which the tester is not co...black-box testing is a type of software testing in which the tester is not co...
black-box testing is a type of software testing in which the tester is not co...
KrishnaVeni451953
 
Black box testing
Black box testingBlack box testing
Black box testing
Syeda Khadizatul maria
 
White box testing
White box testing White box testing
White box testing
Mani Kanth
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
1Arun_Pandey
 
White box testing
White box testingWhite box testing
White box testing
Neethu Tressa
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
Donato Di Pierro
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
Dr Anuranjan Misra
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Software testing
Software testingSoftware testing
BLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxBLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptx
MohammadShahjalalKha
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
pooja deshmukh
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
Ajit Waje
 
black box testing
black box testingblack box testing
black box testing
MuhammadUsamaRiaz7
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
mianshafa
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testingTesting, black ,white and gray box testing
Testing, black ,white and gray box testing
Aamir Shakir
 
Mt s3 methodoligies&principles
Mt s3 methodoligies&principlesMt s3 methodoligies&principles
Mt s3 methodoligies&principlesTestingGeeks
 
Various types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | WaterlooVarious types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | Waterloo
KostCare
 

Similar to White box black box & gray box testing (20)

St 1.3
St 1.3St 1.3
St 1.3
 
Grey box testing in software security involves assessing the security of a sy...
Grey box testing in software security involves assessing the security of a sy...Grey box testing in software security involves assessing the security of a sy...
Grey box testing in software security involves assessing the security of a sy...
 
black-box testing is a type of software testing in which the tester is not co...
black-box testing is a type of software testing in which the tester is not co...black-box testing is a type of software testing in which the tester is not co...
black-box testing is a type of software testing in which the tester is not co...
 
Black box testing
Black box testingBlack box testing
Black box testing
 
White box testing
White box testing White box testing
White box testing
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
 
White box testing
White box testingWhite box testing
White box testing
 
Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing
Software testingSoftware testing
Software testing
 
BLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxBLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptx
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testing
 
black box testing
black box testingblack box testing
black box testing
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptx
 
Testing, black ,white and gray box testing
Testing, black ,white and gray box testingTesting, black ,white and gray box testing
Testing, black ,white and gray box testing
 
Mt s3 methodoligies&principles
Mt s3 methodoligies&principlesMt s3 methodoligies&principles
Mt s3 methodoligies&principles
 
Various types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | WaterlooVarious types of software testing by kostcare | London | Waterloo
Various types of software testing by kostcare | London | Waterloo
 
c
cc
c
 

More from Himanshu

Software product line
Software product lineSoftware product line
Software product line
Himanshu
 
Shared information systems
Shared information systemsShared information systems
Shared information systems
Himanshu
 
Saam
SaamSaam
Saam
Himanshu
 
Design Pattern
Design PatternDesign Pattern
Design Pattern
Himanshu
 
Creational pattern
Creational patternCreational pattern
Creational pattern
Himanshu
 
Architecture Review
Architecture ReviewArchitecture Review
Architecture Review
Himanshu
 
Reliability and its principals
Reliability and its principalsReliability and its principals
Reliability and its principals
Himanshu
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
Himanshu
 
Pareto analysis
Pareto analysisPareto analysis
Pareto analysis
Himanshu
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
Himanshu
 
Crud and jad
Crud and jadCrud and jad
Crud and jad
Himanshu
 
Junit and cactus
Junit and cactusJunit and cactus
Junit and cactus
Himanshu
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testing
Himanshu
 
Testing a data warehouses
Testing a data warehousesTesting a data warehouses
Testing a data warehouses
Himanshu
 
Software testing tools and its taxonomy
Software testing tools and its taxonomySoftware testing tools and its taxonomy
Software testing tools and its taxonomy
Himanshu
 
Software reliability engineering process
Software reliability engineering processSoftware reliability engineering process
Software reliability engineering process
Himanshu
 
Software reliability growth model
Software reliability growth modelSoftware reliability growth model
Software reliability growth model
Himanshu
 
Software reliability tools and common software errors
Software reliability tools and common software errorsSoftware reliability tools and common software errors
Software reliability tools and common software errors
Himanshu
 
Regression and performance testing
Regression and performance testingRegression and performance testing
Regression and performance testing
Himanshu
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
Himanshu
 

More from Himanshu (20)

Software product line
Software product lineSoftware product line
Software product line
 
Shared information systems
Shared information systemsShared information systems
Shared information systems
 
Saam
SaamSaam
Saam
 
Design Pattern
Design PatternDesign Pattern
Design Pattern
 
Creational pattern
Creational patternCreational pattern
Creational pattern
 
Architecture Review
Architecture ReviewArchitecture Review
Architecture Review
 
Reliability and its principals
Reliability and its principalsReliability and its principals
Reliability and its principals
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
 
Pareto analysis
Pareto analysisPareto analysis
Pareto analysis
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
 
Crud and jad
Crud and jadCrud and jad
Crud and jad
 
Junit and cactus
Junit and cactusJunit and cactus
Junit and cactus
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testing
 
Testing a data warehouses
Testing a data warehousesTesting a data warehouses
Testing a data warehouses
 
Software testing tools and its taxonomy
Software testing tools and its taxonomySoftware testing tools and its taxonomy
Software testing tools and its taxonomy
 
Software reliability engineering process
Software reliability engineering processSoftware reliability engineering process
Software reliability engineering process
 
Software reliability growth model
Software reliability growth modelSoftware reliability growth model
Software reliability growth model
 
Software reliability tools and common software errors
Software reliability tools and common software errorsSoftware reliability tools and common software errors
Software reliability tools and common software errors
 
Regression and performance testing
Regression and performance testingRegression and performance testing
Regression and performance testing
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
 

Recently uploaded

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 

Recently uploaded (20)

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 

White box black box & gray box testing

  • 1. White Box ,Black Box & Gray Box Testing Dr. Himanshu Hora SRMS College of Engineering & Technology Bareilly (INDIA)
  • 2. White box testing • White box testing is a method of testing software that tests internal structures or working of an application • In white-box testing an internal perspective of the system , as well as programming skills, are used to design test cases • It is also known as clear box testing, glass box testing, transparent box testing, and structural testing
  • 3. Cont… • White box testing is the detailed investigation of internal logic and structure of the code • In order to perform white box testing of an application , the tester needs to possess knowledge of the internal working of the code
  • 4.
  • 5. Advantages of white box testing • It becomes very easy to find out which type of data can help in testing the application effectively • It helps in optimizing the code • Extra lines of code can be removed which can be bring in hidden defects • Due to the tester’s knowledge about the code , maximum coverage is attained during test scenario writing
  • 6. Disadvantages of white box testing • Due to the fact that a skilled tester is needed to perform white box testing, the costs are increased • Sometimes it is impossible to look into every corner to find out hidden errors that may create problems as many paths will go untested • It is difficult to maintain white box testing as the use of specialized tools like code analyzers and debugging tools are required.
  • 7. Black Box Testing • The technique of testing without having any knowledge of the interior workings of the application is Black Box testing • Black box testing is a method of software testing that examines the functionality of an application • This method of test can be applied to virtually every level of software testing : unit , integration , system , and acceptance
  • 8. Cont… • The tester is oblivious to the system architecture and does not have access to the source code • When performing a black box test, a tester will interact with the system's user interface by providing inputs and examining outputs without knowing how and where the inputs are worked upon
  • 9.
  • 10. Advantages of black box testing • Well suited and efficient for large code segments • Code Access not required • Clearly separates user's perspective from the developer's perspective through visibly defined roles • Large numbers of moderately skilled testers can test the application with no knowledge of implementation, programming language or operating systems
  • 11. Disadvantages of black box testing • Limited Coverage since only a selected number of test scenarios are actually performed • Inefficient testing, due to the fact that the tester only has limited knowledge about an application • Blind Coverage, since the tester cannot target specific code segments or error prone areas The test cases are difficult to design
  • 12. Gray Box Testing • Gray box testing is a combination of white box testing and black box testing • The aim of this testing is to search for the defects if any due to improper structure or improper usage of applications • Gray-box testing is also known as translucent testing
  • 13. Cont… • Gray-box testing is beneficial because it takes the straightforward technique of black-box testing and combines it with the code targeted systems in whitebox testing
  • 14. Advantages of Gray box testing • Offers combined benefits of black box and white box testing wherever possible • Grey box testers don't rely on the source code; instead they rely on interface definition and functional specifications • Based on the limited information available, a grey box tester can design excellent test scenarios especially around communication protocols and data type handling • The test is done from the point of view of the user and not the designer
  • 15. Disadvantages of gray box testing • Since the access to source code is not available, the ability to go over the code and test coverage is limited. • The tests can be redundant if the software designer has already run a test case. • Testing every possible input stream is unrealistic because it would take an unreasonable amount of time; therefore, many program paths will go untested.
  • 16. Black Box vs. Gray Box vs. White Box S . No Black box Gray box White box 1 The Internal Workings Somewhat knowledge of an application are of the internal not required to be workings are known known Tester has full knowledge of the Internal workings of the application 2 Also known as closed box testing, data driven testing and functional testing Another term for grey box testing is translucent testing as the tester has limited knowledge of the insides of the application Also known as clear box testing, structural testing or code based testing 3 Performed by end users and also by testers and developers Performed by end Normally done by users and also by testers and developers testers and developers 4 Testing is based on external expectations Internal behavior of the application is unknown Testing is done on the basis of high level database diagrams and data flow diagrams Internal workings are fully known and the tester can design test data accordingly
  • 17. Thank You Dr. Himanshu Hora SRMS College of Engineering & Technology Bareilly (INDIA)