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

Operating System Notes

Black box testing is a software testing technique where the internal structure and implementation of the application under test is not known. It focuses on validating the functionality of the software based on requirements and specifications. Common black box testing techniques include boundary value analysis, equivalence partitioning, cause-effect graphing, and regression testing. Black box testing has advantages like being efficient for large systems and identifying contradictions in specifications, but disadvantages include difficulty testing all possible inputs and inability to test complex code without knowledge of internal design.

Uploaded by

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

Operating System Notes

Black box testing is a software testing technique where the internal structure and implementation of the application under test is not known. It focuses on validating the functionality of the software based on requirements and specifications. Common black box testing techniques include boundary value analysis, equivalence partitioning, cause-effect graphing, and regression testing. Black box testing has advantages like being efficient for large systems and identifying contradictions in specifications, but disadvantages include difficulty testing all possible inputs and inability to test complex code without knowledge of internal design.

Uploaded by

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

Department of Information Technology

SEPM Poster Activity Academic Year 2019-20

BLACK BOX TESTING


Neha Thorat (18101C2039), Sanket Kodere (18101C2013)
What is Black Box Testing? For developing test cases following methods are used Types of Black Box Testing
in Black Box Testing:  Functional Testing: It is a type of software
BLACK BOX TESTING is defined as a testing technique
• Boundary Value Analysis (BVA) testing which checks that every function present in
in which functionality of the Application Under Test It is the process of testing boundaries of the input our software application works as per
(AUT) is tested without looking at the internal code values. Here basic idea is to select input values at their; requirements of user of not. It does not focus on
structure, implementation details and knowledge of minimum, just above minimum, normal value, the source code of the software application.
internal paths of the software. This type of testing is based maximum value and just below maximum value. BVA Functionalities of the system are verified by tester
entirely on software requirements and specifications. In always comes after the equivalence class partitioning. with the help of suitable test data and compare
Black Box Testing we just focus on inputs and output of actual result with expected result. Functional
testing is done using Requirement Specification
the software system without bothering about internal
Document.
knowledge of the software program.

In this method test cases are built based on what • Equivalence Class Partitioning (ECP)
It reduces the number of all possible inputs by dividing  Non Functional Testing: In this type of black box
application is supposed to do.
them into classes. It tests application thoroughly and testing, we do not perform testing to test specific
It is also known as Behavioural Testing or specification avoids redundancy of input values. It can be applied at functionality. It is used to check non-functional
based testing. all levels of testing. It always performed before requirements such as Performance, Scalability,
boundary value analysis technique is applied. BVA and Usability, Security are fulfilled or not.
Black box testing can be applied during each level of
ECP are closely related and used together.
software testing process.
It makes use of various testing techniques like Boundary
Value Analysis (BVA), equivalence class decision models
etc.
Following are the steps which are used to perform
black box testing:
1. First the requirements and specifications of the system
are analysed.
2. Tester select valid data i.e. data for positive test
scenario to verify whether application under test is able
to process that data and give output as expected.  Regression Testing: It is used to check whether
changes which have been made in code because of
3. Also tester selects invalid test data for negative test
some errors or change in requirement affects
scenario to verify whether application under test is able existing working functionality. We execute already
to processes that data and give output as expected. • Cause- Effect Graphing executed test cases to give assurance that old
4. Tester state expected outputs for each test data. Captures the relationship between specific combination functionalities work well after performing changes
of inputs(causes) and outputs(effects). It helps to in code. This testing is performed to give
5. Software tester generates test cases with the selected identify all possible causes of any specific effect. It tests guarantee that new code added in our software
test data. Then test cases are run. only the external behaviour of system. It makes selection does not make any interruption in working of
6. Software tester performs comparison between the of test cases such that they logically relate cause to the existing functionalities.
actual output and expected output. effects.

7. Defect is detected if actual result is not same as


expected result.
8. Then detected defect is reported to developer.
9. Developer can then fix that defect and then application
is retested by tester. 1. Advantages of Black Box Testing
• It is efficient for large Systems.
• It identifies contradictions in Functional
Specifications.
• Tester and Developer work independently.
2. Disadvantages of Black Box Testing
• It is difficult to find out all possible inputs for test-
case in limited time.
• Test method cannot be used for complex code.
• Test cases cannot be designed without knowledge
of functional specifications.

You might also like