software testing genius

Ten Principles of Creating Effective Defect Reports

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

Download Link for your Favorite Presentation is at the End of this Page
Ten Principles of Creating Effective Defect Reports

Defect reports are the most important outcome of any testing effort. These are equally important like a test plan and have quite significant effect on the product quality compared to many other testing deliverables.

An effective defect report certainly helps the tester in getting a much better response from the developers.

A good tester is the one who does not aspire to write a perfect defect report, but aims to write a defect report that is having following Four Simple Attributes like:

Attribute-1: It must be effective


Attribute-2: It must communicate the adequate message

Attribute-3: It must be sufficient to get the required job done

Attribute-4: It should be able to simplify the process for all concerned

To pump in the above four attributes in a defect report, Ten Basic Principles are being described here. Their prime objective is to lay maximum focus on "Attribute – 1"

1) Must be Short & Brief:
It must not display your excellence of writing skills with Shakespearean English. The objective must be that

# Whatever we need to say must be brief & must be clear.
# It should be free from complicated words.
# It should not be packed with unwanted information. Contents must be absolutely relevant.
# It should not have too much of Information, most of which might not be useful.

Remember that irrelevant information is more troublesome compared to too little useful information.

2) Must be Precisely Defined: Ensure that only the real bugs are reported. Think carefully & do the proper homework to eliminate the possibility of reporting some product misunderstanding or some user error etc. In the absence of an intelligent homework prior to writing the problems, your credibility can be at stake.

Following rules of thumb shall be helpful while reporting problems.

a) Do not over report as well as do not under report.
b) Be courageous to report the genuine problems.
c) If you happen to report a problem incorrectly & discovered the error later, try to learn from it.
d) When in doubt about the validity of some problem, never have hesitation in consulting another experienced tester or even the developer.

Following considerations will be helpful while writing up the problem:

# Whether the problem is due to any issue related to setup – like it might be due to installation of improper versions or the use the incorrect login, violation of security aspects, use of incorrect command or incorrect sequence of tasks etc.

# Whether the problem is due to incomplete cleanup or due to incomplete results, due to manual interruption by some of the previous tests etc.

# Whether the problem is due to network or some other environment related issues.

3) Be objective & neutral: The problem must be defined objectively & with a neutral attitude.
There should not be any place of personal emotions & humor in your reporting. Many a times we get so much impulsive to report while taking a problem as funny from our viewpoint & don’t realize that our emotional reporting is liable to create serious barrier in healthy communication and will hamper the teamwork.

Try to redraft the comments – even if you are rightly able to contradict the developers & are having strong evidence to support your viewpoint. Never ever try to write comments that do not communicate any useful information, rather liable to be taken as accusations against any individual.

If you desire to be respected & increase your credibility, study all your comments & the problem description carefully prior to reporting.

4) Describe the problem precisely & explicitly: Instead of providing just the description as to what had happened; try to describe the problem precisely and explicitly.

Following tips will be helpful while describing the problem:

# The headline description must reveal the problem from your viewpoint.

# Avoid providing series of your actions and results in description statements.

# In case the description happens to be long, try to provide the summary of the problem in its beginning itself.

# Never think that your conclusions will always match with that of others.

# Write the problem description with an objective that it should not be misunderstood in any case.

5) Isolate the problems: The difference between a good tester & a novice is that the former puts in good amount of effort in isolating the problem.

Following tips will be helpful in isolating the problem:

# Write down the simple & short series of steps to reproduce the problem detected by you.

# Use your expertise to confirm if the problem has arisen due to something not concerned with the particular code. For instance a network problem might be the cause of a system delay or hang-ups etc., while you might be on the verge of reporting it as a problem related to the code.

# Try to pinpoint the specific input responsible for causing the problem. In case of multiple input conditions in the tests, try to change the inputs one by one to isolate the problematic one.

# The specific problematic input must be a part of the problem description as far as possible.

Remember that, If you are able to isolate the problem effectively, you will save considerable amount of time while verifying its fix.

6) Generalize the problem: As a tester when a problem is noticed by you, try to find out if the problem happens to be more of a general nature compared to what it appears. Remember that a special problem will require specialized fix while a general problem obviously require a more generalized fix.

Ask yourself as to what have you done to understand - how general your problem is?. A proper homework to identify a generalized case before writing your report will save the developer a considerable amount of time, so that he can plan a much better fix for a general case instead of fixing it the way otherwise reported by you.

7) Identify essentials to re-create the problem: It is quite significant to be able to re-create the problem. Although it is not always easy to re-create some of the bugs, do not make a mistake of making an assumption that you will be able to re-create the bug any time without actually verifying that it can be re-created.

If you are not able to re-create the problem due to any reason, it is wise to make notes in the defect remarks & try to provide maximum relevant information to the developer responsible for making its fix.

Sometimes when recreation of problem state is not feasible, you may like to invite the developer to practically inspect the system during such a state before performing a cleanup operation to restore the system. It is possible that the developer might be interested in capturing some more information during such problem state.

However when it is possible to re-create the problem, you need to describe all steps, including file names, syntax exactly used & all sequences followed when the problem was encountered & repeat such steps once again to re-create the problem. List down the details of easiest & the shortest method, conditions & environment to re-create the problem.

8) Identify the effect on the client: Try to make the best possible judgment on the likely impact, if the bug happens to get noticed under the customer environment.

For example, typographical error on a window might be of a very minor nature, but keeps on irritating the users, hence need to be fixed before the product is shipped. Never try to push the defect without proper understanding of the gravity of its seriousness & its likely effect on the customer.

9) Information for debugging: Make a comprehensive document listing out the complete information like captured logs, dumps, traces etc that would be helpful to the developer in debugging the problem. Provide every useful information to the developer. Such an information must be an important attachment to the defect report.

10) Provide documentary evidence of problem: Remember that others need to be convinced about the actual existence of the problem. They need to be explicitly told that what you got as against your expectations. Of course your set of expectations can’t be communicated orally, but need to be properly documented.

Your expectations can be derived from documentation like:

# Specifications documents
# User guides
# Past comments provided by customers
# Standards like specifications of competing products
# Results of older versions of the product.

If you feel that others may not get convinced with your bug as a valid one, you need to do more homework to provide even more concrete evidence to support your claim.

Ultimately what is important is to ask yourself as to whether you have asked the right questions & have answered the right questions, while writing your defect report.

Many More Articles on Software Testing Approaches 

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Consolidated Study Material - All ISTQB Certification Exams

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Quick Navigation of Software Testing Genius

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Full Study Material for Certification Exams on Automation Tools :

Study Material - IBM RFT Certification Exam

Study Material - HP QTP & QC Certification Exams

Study Material - HP LoadRunner Certification Exams for All Modules

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

Consolidated Study Material - Testing & QA

Rehearsal of QTP in 1 Hr. -  Interview Questions

DownLoad Link for Presentation:

Understanding Analysis Reports in HP LoadRunner (500 Kb)


Comments :


# 1 Madhu on 2010-03-08 02:03:27
Hi Yoginder,

This article is an awesome article and would definitely help me in great length.

Thanks a lot.

# 2 Dinesh mehta on 2010-03-20 13:22:57
Hi Yoginder,

The article is really awesome and cleared my lots of long time pending doubts.

Dinesh Mehta

# 3 Ken on 2010-03-30 17:14:12
Fairly comprehensive, but it is a bit long-winded, when you are trying to promote "Short and Brief".

Also, the following two statements seem to be contradictory

"Avoid providing series of your actions and results in description statements."

"Write down the simple & short series of steps to reproduce the problem detected by you."

# 4 Neo Cambell on 2010-03-30 18:19:53
interesting article...thanks for sharing....

# 5 Sanjeev Khurana on 2011-08-28 14:19:21

The link given above is incorrect. I was searching for the link "Understanding Analysis Reports in HP LoadRunner." But this link shows Perfmon Testing Tool. Kindly provide correct link and update me at my mail id please.

Cell 9873480085
Noida, India

Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri