Black Box Testing Techniques

Untitled

In the previous post we saw about the black box testing. Now we are going to see about the techniques used in the black box.

TheBlack box testing Techniques are,

• Equivalence Partitioning

• Boundary Value Analysis

• Decision Table

• State Transition Diagram

• Use case Diagram

 Equivalence Partitioning

• Equivalence partitioning (EP) is a specification-based or black-box technique.It can be applied at any level of testing and is often a good technique to use first.
• The idea behind this technique is to divide (i.e. to partition) a set of test conditions into groups or sets that can be considered the same (i.e. the system should handle them equivalently), hence ‘equivalence   partitioning’. Equivalence partitions are also known as equivalence classes – the two terms mean exactly the same thing.
• In equivalence-partitioning technique we need to test only one condition from each partition. This is because we are assuming that all the conditions in one partition will be treated in the same way by the software. If one condition in a partition works, we assume all of the conditions in that partition will work, and so there is little point in testing any of these others. Similarly, if one of the conditions in a partition does not work, then we assume that none of the conditions in that partition will work so again there is little point in testing any more in that partition.

In an Examination a candidate has to score minimum of 24 marks in order to clear the exam. The maximum that he can score is 40 marks.Identify the Valid Equivalence values if the student clears the exam.

a)22,23,26
b)21,39,40
c)29,30,31
d)0,15,22

Solution

Invalid Valid Invalid
< 24 24-40 40<

We have to indentify Valid Equivalence values. Valid Equivalence values will be there in Valid Equivalence class. All the values should be in valid column. So answer is ‘C’

Leave a comment