0% found this document useful (0 votes)
13 views

Black Box Testing

Uploaded by

papamalik222
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Black Box Testing

Uploaded by

papamalik222
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

PRESENTATION ON

BLACK BOX TESTING

Powered by- jpwebdevelopers


Contents….

• Black box Testing


• Types of Black Box Testing
• How to perform Black Box Testing
• SDLC of Black Box Testing
• Black box testing Techniques

Powered by- jpwebdevelopers


BLACK BOX TESTING…..

Definition of Black Box Testing:-

• Black Box Testing is a method of software testing


that examines the functionally of an application
(e.g. what the software does)without peering into its
internal structures or workings .

• Black Box Testing is based entirely on the software


requirement , and specifications.

Powered by- jpwebdevelopers


DIAGRAM…

Powered by- jpwebdevelopers


Types Of Black Box Testing

There are many type of Black Box Testing but


following are the prominent ones :-

• Functional Testing
• Non-functional Testing
• Regression Testing

Powered by- jpwebdevelopers


Functional Testing…
• This black box testing type is related to
functional requirements of a system ,it is done by
software testers.
NON-FUNCTIONAL TESTING….
• This type of black box testing is not related to
testing of a specific functionally, but non-
functional requirements such as performance,
scalability, usability.
REGRESSION TESTING….
• Regression testing is done after code fixes,
upgrades or any other system maintenance to
check the new code has not affected the existing
code. Powered by- jpwebdevelopers
Black Box Testing And Software
Development Life Cycle (sdlc)
Black box testing has its own life cycle called
Software Test Life Cycle (STLC) and it is relative
to every stage of Software Development Life Cycle.
There are four stages.....

• Requirement
• Test Planning & Analysis
• Design
• Test Execution
Powered by- jpwebdevelopers
Black Box Testing Techniques…

Following are the prominent Test Techniques


amongst the many used in Black Box Testing :--

• Equivalence Class Partitioning


• Boundary Value Analysis
• Cause-Effect Graphing

Powered by- jpwebdevelopers


1. Equivalence Partitioning…

• Equivalence class partitioning is a black-box testing


technique or specification based testing technique
in which we group the input data into groups or equivalence
classes .
This technique is also known as Equivalence Class
Partitioning (ECP) .

• Hence, instead of using each and every input value we can


now use any one value from the group/class to test the
outcomes . In this way , we can maintain the test coverage
while we can reduce a lot of rework and most importantly
the time spent.
Powered by- jpwebdevelopers
Contd.....

• An advantage of this approach is reduction in time


required for testing due to lesser number of test
cases.
• It reduces the number of test cases without
compromising the test coverage or quality of
testing.
• In this technique , input values to the system or
application are divided into different classes or
group based on its similarity in the outcome.

Powered by- jpwebdevelopers


For example :--

Powered by- jpwebdevelopers


2. Boundary Value Analysis….

• Boundary value analysis is also a black box testing technique,


closely associated with Equivalence Class Partitioning .

• From the name itself , we can understand that in this technique


we focus on the values at boundaries as it is found that many
applications have a high amount of issues on the boundaries.

• Boundary means the values near the limit where behaviour of


the system changes in boundary value analysis both the valid
inputs and invalid inputs are being tested to verify the issues.

Powered by- jpwebdevelopers


Contd….

• It is easier and faster to find defects as the density of


defects at boundaries is more.
• The overall test execution time reduces as the
number of test data greatly reduces.
• The test cases generated through Boundary Value
Analysis are very small.
• But ,the dependencies with BVA are not tested
between two inputs. And, this technique doesn’t fit
well when it comes to Boolean Variables.

Powered by- jpwebdevelopers


For example :--

Powered by- jpwebdevelopers


3. Cause-Effect Graphing…

• Cause-Effect Graphing is also a Black box testing


technique.
• Cause effect graph is a technique that graphically
illustrates the relationship between a given outcomes
and all the factors that influence the outcome.
• It is also known as Ishikawa diagram as it was invented
by Kaoru Ishikawa or fish bone diagram because of the
way it looks.
• It is generally use for hardware testing but now adapted
to software testing, usually tests external behaviour of a
system.
Powered by- jpwebdevelopers
Contd…..
• The technique starts with identifying causes and
effects of the system under testing. A causes is a
distinct input condition, and an effects is a
distinct outputs condition . Each condition forms
a node in the cause-effect graph.

Powered by- jpwebdevelopers


Contd…..
We can identify the following causes and effects from
there requirements.
• Causes:
c1. Command is credit
c2. Command is debit
c3. Account number is valid
c4. Transaction_amt is valid
• Effects:
e1. Print “invalid command”
e2. Print “invalid account_number”
e3. print “debit amount not valid”
e4. Debit account
e5. Credit account Powered by- jpwebdevelopers
Thank
You
Follow us
@jpwebdevelopers

Email
[email protected]
m

Powered by- jpwebdevelopers

You might also like