Software Testing - SPLessons

Software Testing Black Box Testing

Home > Lesson > Chapter 15
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Software Testing Black Box Testing

Black Box Testing

shape Description

Black Box Testing is to identify the quality from external part of an application. Test engineer will be responsible to perform this testing. This is also called Closed box technique. In general terms, testing is the process of executing a system software keeping in mind the end goal to recognize any crevices, blunders, or missing prerequisites in opposition to the genuine necessities.  The main concept of Black box Testing is to make the Application Error Free and to meet the User Requirements. The aim of a Test Engineer is to detect the defects earlier and get them fixed.There are four techniques in Black Box Testing. 

State Transition Testing Technique

shape Description

In State transition Testing Technique it is utilized for executing the interior structure of the framework. By utilizing this procedure different situations can be recognized in architectural framework. This methods is utilized to comprehend diverse activities, events, states are there in framework furthermore test cases can be prepared by coordinating with events, activities, states furthermore revealed occasions, uncovered states can be recognized in the framework. State Transition Testing Technique contains the components such as:

Event

Event is an outer activity executed by client on the system.

State

Holding up for a position inside the framework is called State.

Action

Action is only a framework reaction taking into account of state evolving position.

Transition

It is utilized to perceive, state evolving position.

shape Procedural steps

Following are the Procedural steps which describes the process of State Transition Testing Technique:

Decision Table Testing Technique

shape Description

It is used to define the critical business rule. By using decision table, test cases can be prepared by all possible combinations. Exhaustive testing can be avoided when huge conditions are there in Application. Decision Table Testing Technique components are Conditions, Actions, Rules.

shape Procedural steps

Following are the Procedural steps that describes the procedure for Decision Table Testing Technique:

Equivalence Class Partitioning

shape Description

Equivalence Class Partitioning is used to convert the huge amount of data into finite number of partitions. ECP components are Serial Number, Condition Name, Requirement Name, Valid Ecp, In Valid Ecp, Tags, Expected Data.

shape Procedure

Following are the steps which describes the procedure for Equivalence Class Partitioning:
  • Understand the given data thoroughly.
  • Identify the partitions in the given data.
  • Identify valid partition by using given formula.
  • Identify the invalid partition by using given formula

shape Examples

Write a program for a module of a human employment application based on present age and corresponding organisation rule.
Full time employee
Age Application
0-16 Dont hire
16-18 can hire on part time basis only
18-55 can hire as full time employee
55-99 Dont hire
Test Case 1
S.N.O Test Step Test Data Expected Data
1 Enter the valid data 16-55 The given data should be accepted
Test Case 2
S.N.O Test Step Test data Expected data
1 Enter the invalid data <16 The given data should not be accepted and error message should be dispalyed.
Test Case 3
S.N.O Test Step Test Data Expected data
1 Enter the invalid data >55 The given data should not be accepted and error message wil be displayed

Boundary Value Analysis

shape Description

It is utilized to plan experiments by considering the boundaries. BVA components are Serial Number, Condition Name, Requirement Name, Valid BVA, In Valid BVA, Tags, Expected Data.

shape Procedural steps

Following are the procedural steps that describes the procedure for Boundary Value Analysis:
  • Understand the given data thoroughly.
  • Identify the boundaries from given data.
  • Identify valid boundary by using given formula.
  • Identify the invalid boundary by using given formula.

Summary

shape Key Points

  • Each technique in this chapter will perform different operation.
  • Black Box testing will work as a executable program.