MainMenu

Home Java Overview Maven Tutorials

Wednesday 17 February 2021

Blackbox Testing Technique




Hello Friends,
Here we will learn the black box testing test case design technique :-
Decision Table Testing :-
1). Decision Table captures system requirements that contain logical conditions.
2). The specification are analyzed, and conditions and actions of the system are identified in a tabular form.
3). The input conditions and actions are most often stated in a way that they must be true or false.

Decision table technique is one of the widely used case design techniques for black box testing. This is a systematic approach where various input combinations and their respective system behavior are captured in a tabular form.
That's why it is also known as a cause-effect table. This technique is used to pick the test cases in a systematic manner; it saves the testing time and gives good coverage to the testing area of the software application.
Decision table technique is appropriate for the functions that have a logical relationship between two and more than two inputs.



Decision Table Example :

State Transition Diagram Testing technique :-
A state diagram – also known as state chart, state machine diagram or state transition diagram – visualises a sequence of states that an object can assume in its lifecycle. It is used to describe the behavior of a system, subsystem, component, or class.
state-transition diagram (STD) A diagram that indicates the possible states of a finite-state automaton and the allowable transitions between such states. ... Each one depicts the states, transitions, and event(s) that can cause each transition.





Orthogonal Array Testing
Orthogonal array testing is a systematic and statistical way of a black box testing technique used when number of inputs to the application under test is small but too complex for an exhaustive testing.

Orthogonal Array Testing Characteristics:
1)OAT, is a systematic and statistical approach to pairwise interactions.
2)Executing a well-defined and a precise test is likely to uncover most of the defects.
3)100% Orthogonal Array Testing implies 100% pairwise testing.

Consider a system which has three parameters {country; product; sales person} and each of them has three values. To test all the possible combinations of these parameters (i.e. exhaustive testing) we will need a set of 33 = 27 test cases. But instead of testing the system for each combination of parameters, we can use an orthogonal array to select only a subset of these combinations. Using orthogonal array testing, we can maximize the test coverage while minimizing the number of test cases to consider. We here assume that the pair that maximizes interaction between the parameters will have more defects and that the technique works.

Orthogonal array
Test case ↓ Country Product Salesperson
TC-1 DE Notebook Charlie
TC-2 DE Desktop Bob
TC-3 DE Mouse Alice
TC-4 US Notebook Bob
TC-5 US Desktop Alice
TC-6 US Mouse Charlie
TC-7 GB Notebook Alice
TC-8 GB Desktop Charlie
TC-9 GB Mouse Bob


No comments:

Post a Comment