SlideShare una empresa de Scribd logo
1 de 17
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)

Más contenido relacionado

La actualidad más candente (20)

Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Equivalence class testing
Equivalence  class testingEquivalence  class testing
Equivalence class testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
White Box Testing
White Box Testing White Box Testing
White Box Testing
 
Software testing
Software testing Software testing
Software testing
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
System testing
System testingSystem testing
System testing
 
Test cases
Test casesTest cases
Test cases
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
 
White box ppt
White box pptWhite box ppt
White box ppt
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysis
 
Integration testing
Integration testingIntegration testing
Integration testing
 
V model presentation
V model presentationV model presentation
V model presentation
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Equivalence partitions analysis
Equivalence partitions analysisEquivalence partitions analysis
Equivalence partitions analysis
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 

Destacado

Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software TestingNishant Worah
 
Bluetooth Technology
Bluetooth TechnologyBluetooth Technology
Bluetooth TechnologyUmmar Ahmed
 
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 ChokdenSunil Kumar
 
Structural patterns
Structural patternsStructural patterns
Structural patternsHimanshu
 
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
 

Destacado (20)

Gray box testing
Gray box testingGray box testing
Gray box testing
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software 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장
 

Similar a White box black box & gray box testing

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
 
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
 
BLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxBLACK BOX & WHITE BOX TESTING.pptx
BLACK BOX & WHITE BOX TESTING.pptxMohammadShahjalalKha
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testingpooja deshmukh
 
Different techniques-of-software-testing
Different techniques-of-software-testingDifferent techniques-of-software-testing
Different techniques-of-software-testingAjit Waje
 
Week 14 Unit Testing.pptx
Week 14  Unit Testing.pptxWeek 14  Unit Testing.pptx
Week 14 Unit Testing.pptxmianshafa
 
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 testingAamir 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 | WaterlooKostCare
 
Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh          Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh tapsi sharma
 

Similar a 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 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
 
Black box testing
Black box testingBlack box testing
Black box testing
 
Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh          Software, Security, manual testing training in Chandigarh
Software, Security, manual testing training in Chandigarh
 

Más de Himanshu

Software product line
Software product lineSoftware product line
Software product lineHimanshu
 
Shared information systems
Shared information systemsShared information systems
Shared information systemsHimanshu
 
Design Pattern
Design PatternDesign Pattern
Design PatternHimanshu
 
Creational pattern
Creational patternCreational pattern
Creational patternHimanshu
 
Architecture Review
Architecture ReviewArchitecture Review
Architecture ReviewHimanshu
 
Reliability and its principals
Reliability and its principalsReliability and its principals
Reliability and its principalsHimanshu
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testingHimanshu
 
Pareto analysis
Pareto analysisPareto analysis
Pareto analysisHimanshu
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runnerHimanshu
 
Crud and jad
Crud and jadCrud and jad
Crud and jadHimanshu
 
Junit and cactus
Junit and cactusJunit and cactus
Junit and cactusHimanshu
 
Risk based testing and random testing
Risk based testing and random testingRisk based testing and random testing
Risk based testing and random testingHimanshu
 
Testing a data warehouses
Testing a data warehousesTesting a data warehouses
Testing a data warehousesHimanshu
 
Software testing tools and its taxonomy
Software testing tools and its taxonomySoftware testing tools and its taxonomy
Software testing tools and its taxonomyHimanshu
 
Software reliability engineering process
Software reliability engineering processSoftware reliability engineering process
Software reliability engineering processHimanshu
 
Software reliability growth model
Software reliability growth modelSoftware reliability growth model
Software reliability growth modelHimanshu
 
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 errorsHimanshu
 
Regression and performance testing
Regression and performance testingRegression and performance testing
Regression and performance testingHimanshu
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing processHimanshu
 

Más de 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
 

Último

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Último (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

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)