Remember Me
forgot your password?

Introduction to Black Box Testing Techniques

 

Firstly let us understand the meaning of Black Box Testing.

The term 'Black Box' refers to the software, which is treated as a black box. By treating it as a black box, we mean that the system or source code is not checked at all. It is done from customer's viewpoint. The test engineer engaged in black box testing only knows the set of inputs and expected outputs and is unaware of how those inputs are transformed into outputs by the software.

Types of Black Box Testing Techniques: Following techniques are used for performing black box testing

1) Boundary Value Analysis (BVA)

2) Equivalence Class Testing

3) Decision Table based testing

4) Cause-Effect Graphing Technique

1) Boundary Value Analysis (BVA):

This testing technique believes and extends the concept that the density of defect is more towards the boundaries. This is done to the following reasons

a) Usually the programmers are not able to decide whether they have to use <= operator or < operator when trying to make comparisons.

b) Different terminating conditions of For-loops, While loops and Repeat loops may cause defects to move around the boundary conditions.

c) The requirements themselves may not be clearly understood, especially around the boundaries, thus causing even the correctly coded program to not perform the correct way.

Strongly typed languages such as Ada and Pascal permit explicit definition of variable ranges. Other languages such as COBOL, FORTRAN and C are not strongly typed, so boundary value testing is more appropriate for programs coded in such languages.


2) Equivalence Class Testing:

The use of equivalence classes as the basis for functional testing is appropriate in situations like

a) When exhaustive testing is desired.

b) When there is a strong need to avoid redundancy.

The above are not handled by BVA technique as we can see massive redundancy in the tables of test cases. In this technique, the input and the output domain is divided into a finite number of equivalence classes.

3) Decision Table Based Testing:

Decision tables are a precise and compact way to model complicated logic. Out of all the functional testing methods, the ones based on decision tables are the most rigorous due to the reason that the decision tables enforce logical rigour.

Decision tables are ideal for describing situations in which a number of combinations of actions are taken under varying sets of conditions.

 
4) Cause-Effect Graphing Technique:

This is basically a hardware testing technique adapted to software testing. It considers only the desired external behaviour of a system. This is a testing technique that aids in selecting test cases that logically relate Causes (inputs) to Effects (outputs) to produce test cases.

A “Cause” represents a distinct input condition that brings about an internal change in the system. An “Effect” represents an output condition, a system transformation or a state resulting from a combination of causes.

yogindernath

http://www.softwaretestinggenius.com A Storehouse of Complete Knowledge on Software Testing & QA under one Roof

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Programming Articles
  • More from yogindernath

Programming

By: Julia | 10/11/2009
“E-Worlddesign” "BizicoSoft"

PassQuick Nortel 920-146 Study Guide

By: calomi | 09/11/2009
There are so many websites on internet that are providing knowledge, study material and information about the Nortel 920-146 certifications, but there is one problem that the information that is provided by these websites is not of high quality and up-to-the-mark. Passquick is one website that provides you related, high quality and up-to-the-mark information, knowledge and study material about Nortel certifications.

Testinside Cisco 640-861 exam

By: calomi | 09/11/2009
Cisco 640-861 exam is a very valuable exam of Cisco certification. This exam is one of the most important and top of the line certifications for the IT professionals. Cisco 640-861 exam is basically associated with the Troubleshooting, and so this certification exam that is basically connected with the Cisco 640-861 certification.

Typecasting and its importance in C++

By: james edward | 08/11/2009
Type Casting causes the program to treat a variable of one type as though it contains data of another type. Read brief tutorial on typecasting in c++

How to Setup Your Own Blog with WordPress

By: Felix Gomez Jr | 08/11/2009
Have you tried to setup wordpress and have met some problems you were not able to solve until now? This article might help.

An Event Registration Service Can Eliminate Much Event Planning Stress

By: Brad Robert | 06/11/2009
Event-Registration-Service.com is the leading online event registration, event planning and event management software for all types of businesses and organizations.

HTML Guestbook in ASP.Net

By: pons_saravanan | 05/11/2009
A very simple guest book without any Database storage.

Himfr.com reports the new sail will be put on the market in January next year

By: chenxiao | 05/11/2009
the new sail will be put on the market in January next year.

Who should test? and what? – An Overview

By: yogindernath | 17/09/2009 | Information Technology
Who should test? and what? – An Overview

Tips for Creating Good Test Automation Approach

By: yogindernath | 06/08/2009 | Databases
Tips for Creating Good Test Automation Approach

Typical Architecture of Automation Frameworks

By: yogindernath | 06/08/2009 | Information Technology
Typical Architecture of Automation Frameworks

Guidelines to create Best Test Automation Frameworks?

By: yogindernath | 06/08/2009 | Computer Forensics
Guidelines to create Best Test Automation Frameworks?

New Era of migration from Keyword Driven Testing to Business Process Testing

By: yogindernath | 06/08/2009 | E-Learning
New Era of migration from Keyword Driven Testing to Business Process Testing

What setup is needed for Keyword Driven Testing in QTP?

By: yogindernath | 06/08/2009 | Information Technology
What setup is needed for Keyword Driven Testing in QTP?

In QTP Keyword Driven Testing versus Recording – Which one to choose?

By: yogindernath | 06/08/2009 | Programming
In QTP Keyword Driven Testing versus Recording – Which one to choose?

How secured your job is? - A barometer for Self-Assessment

By: yogindernath | 16/07/2009 | Motivational
How secured your job is? - A barometer for Self-Assessment

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.28, 1, w1)