Remember Me
forgot your password?

Let us know all About Gray Box Testing

Code coverage testing involves "Dynamic Testing" methods of executing the product with pre¬written test cases and finding out how much of code has been covered. If a better coverage of a code is desired, several iterations of testing may be required. For every iteration, one has to write a new set of test cases for covering those portions of code that were not covered by earlier test cases. To do such type of testing, not only does one need to understand the code and logic but also need to understand how to write effective test cases that can cover good portions of the code.

Understanding of code and logic means white box or structural testing whereas writing effective test cases means black box testing. So, what we need is in fact a combination of white box and black box techniques for test effectiveness. This type of testing is known as gray box testing'.

Thus we can say that

WHITE + BLACK = GRAY

What is Gray Box Testing?

Black box testing focuses on software's external attributes and behaviour. Such testing looks at an application's expected behaviour from the user's point of view. White box testing / glass-box testing, however, tests software with knowledge of internal data structures, physical logic flow, and architecutre atthe source code level. White box testing looks at testing from the developer’s point of view.

Both black¬box and white-box testing are critically important complements of a complete testing effort. Individually, they do not allow for balanced testing. Black box testing can be less effective at uncovering certain error types such as data-flow errors or boundary condition errors at the source level. White box testing does not readily highlight macro level quality risks in operating environment, compatibility, time-related errors and usability.

How experts have defined the Gray Box Testing

Gray box testing incorporates the elements of both black box and white box testing. It considers the outcome on the user end, system-specific technical knowledge and the operating environmer It evaluates the application design in the context of the inter-operability of system components. The gray box testing approach is integral to the effective testing of web applications comprises of numerous components like both software and hardware. These components must be tested in the context system design to evaluate their functionality and corripatiouity.

Industry experts have provided some definitions of gray box testing, few of them are given below.

Definition – 1: "Gray box testing consists of methods and tools derived from the knowledge of the application internals and the environment with which it interacts, that can be applied in black box testing to enhance testing productivity, bug finding and bug analyzing efficiency – by Nguyen H.G

Definition – 2: "Gray box testing is using inferred or incomplete structural or design information to expand or focus black box testing". - Dick Bende

Definition – 3: "Gray box testing is designing of the test cases based on the knowledge of algorithms interval states, architectures or other high level descriptions of program behaviour". - Dong Hoffmar

Definition – 4: "Gray box testing involves inputs and outputs, but test design is educated by informatior about the code or the program operation of a kind that would normally be out of scope of view of the tester". - Cem Kanei

Where does the Gray box testing fit in?

Gray box testing is well suited for web application testing because it factors in high level design environment and the inter operability conditions. It addresses problems that are not as easily considered by a black box or white box analysis, especially problems of end-to-end information flow and distributed hardware / software system configuration and compatibility. Context-specific errors that are germane to web systems are commonly uncovered in this process.

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 Software Articles
  • More from yogindernath

Invisible Keylogger Software - What to look for

By: Lewis Waller | 05/01/2010
The most important feature of any keylogger software is the ability to run undetected on the computer that it is installed on. Invisible keylogger software is readily available online, all that you need to do is download it and install it onto your computer.

How To Keylog Another Computer

By: Lewis Waller | 05/01/2010
It is possible keep track of what goes on with a computer with a keylogger program. If you want to know how to keylog another computer, you can download this type of program and install it on your computer.

How To Keylog A Computer - All About Keyloggers

By: Lewis Waller | 05/01/2010
Installing a keylogger on a computer can give you a full picture of all of the activity that is happening on that computer at any time of the day or night. Knowing how to keylog a computer is not difficult with the right software.

Family Keylogger For Vista

By: Lewis Waller | 05/01/2010
Since most parents both need to work in order to afford to own a home and provide for their families, it is not always possible to be at home to monitor your children’s internet activities. This is where a family keylogger for vista comes in.

Computer Keystroke Recorder - What is a Keylogger?

By: Lewis Waller | 05/01/2010
Monitoring your computer can be simple if you install a computer keystroke recorder. You may be wondering why you would need to take the extreme measure of installing a computer keystroke recorder.

Issue Tracking Software

By: Roger Glass | 05/01/2010
Sometimes running large projects, organizing outrageous amounts of data, and keeping a team of hundreds in check can be stressful. But that stress only mounts when problems that you cannot fix by yourself arise. That is what issue tracking software was created to curtail--helping you with what you can't do for yourself.

Computer Optimization

By: John Mathew | 05/01/2010
Microsoft Certified Computer Experts will improve your computer's performance or Computer Optimization by performing complete PC health check up including several rigorous steps to get you the productivity you deserve.

How to rip and edit DVD movie on Mac OS X?

By: chase telford | 05/01/2010
This step-by-step guide will show you how to use Aimersoft DVD Ripper for Mac to rip general DVD (copy-protected included) on Mac OS X (Leopard Supported).

What is Software Testing - An Introduction

By: yogindernath | 25/11/2009 | E-Learning
What is Software Testing - An Introduction

How to Manage Software Testing Effectively By Business management Approach

By: yogindernath | 25/11/2009 | Software
How to Manage Software Testing Effectively By Business management Approach

Understanding the Typical Structure of Software Testing Process

By: yogindernath | 25/11/2009 | Programming
Understanding the Typical Structure of Software Testing Process

What is the Motive Behind Software Testing - An Overview

By: yogindernath | 25/11/2009 | Information Technology
What is the Motive Behind Software Testing - An Overview

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?

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.07, 1, w2)