Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings
Introduction to IEEE STANDARDS and its different types.pptx
Black box testing - SlideShare jayed hossain jibon
1. Presented by :
Md : Jayed Hossain Jibon
B.sc in SWE
jayed.swe@gmail.com
Daffodil International University
2. What is Black Box Testing ?
Black-box testing is a method of software testing that examines the
functionality of an application without peering into its internal
structures or workings.
30-07-2016
2
3. - What is Black Box Testing ?
- Who does it
- Techniques of Black Box Testing
- Example of Black Box Testing Techniques
- Advantage And disadvantage of black box testing
Objective
30-07-2016
3
4. What is black box testing ?
-Knows only what the software is supposed to do.
-Doesn't know how it operates inside.
Why named as Black Box Testing ?
-No one can see the inside.
What & Why
4
30-07-2016
5. Who does black box testing?
-Testers.
-Business analyst.
-Clients.
When we do?
-Once the functionality is developed.
Why not by the developers?
-Very difficult to break one’s own code.
-Fresh eyes are always help.
-To test the software from end-user perspective.
Who, When & Why 5
30-07-20106
6. - Boundary value analysis (BVA).
- Equivalence class partitioning (ECP).
- Decision table testing.
- State transition testing.
Techniques of Black Box Testing
6
30-07-2016
7. Boundary Value Analysis
Dividing the test data into 6 parts
- Min (Minimum value from test data)
- Max (Maximum value from test data)
- Min – 1 (Minimum minus 1)
- Max – 1 (Maximum minus 1)
- Min + 1 (Minimum plus 1)
- Max +1 (Maximum plus 1)
30-07-2016
7
8. Suppose a password field accepts minimum 6 digit and maximum 10 digit
and if we consider test data are " 0-5, 6-10, 11-14 ".
Example 1 of Boundary Value :-
Example Equivalence and Boundary Value Equivalence Class Partitioning
Test Case ID Test Scenario Description Expected Outcome
1 Enter 0 to 5 numbers in password field System should accept
2 Enter 6 to 10 numbers in password field System should not accept
3 Enter 1 to 14 numbers in password field System should not accept
8
30-07-2016
9. Test
Scenario # Data Expected Result
Test Coverage
1 1-6 Accepted A1,A2,A3
2 0-9 Not Accept A2
3 6-10 NOT accept A1
4 11-14 NOT accept A1
Examples 2 Of Equivalence Class Partitioning : 9
30-07-20106
A1=Input have to be minimum 6 digit and maximum 10 digit
A2=Input numbers should be > 1
A3=Input numbers should be <100
10. Conditions
User Id F T F T
Action Expected
Result
Error Error Error Login
Examples 3 Of Decision table
password F F T T
10
30-07-20106
12. State Transition Testing
State Table:
Switch off Switch on
On Off -
Off - On
Test case Id Input Expected
Result
Current State Event
1 On Off Off
2 On On On
3 Off On On
4 Off Off Off
12
13. Advantages of Black Box Testing
- Efficient when used on large systems.
- Tester can be non-technical.
- Tests are done from a user's point of view
Disadvantages of Black Box Testing
- The reason for a failure is not found.
- Not all properties of a software product can be tested
- May leave many program paths untested
Advantages and Disadvantages of Black Box Testing 13
30-07-20106