Views of a Passionate Tester...

Sunday, April 11, 2010

There is an old proverb - Necessity is the mother of invention. When a scientist invents something there is always a need. The Need is the final motive of any invention.

What is Need?
Need is a condition or situation in which something is required. In short need is requirement.

But what if the need is wrongly interpreted, Is the invention possible in that case? Might be possible but it would not be right invention; it would not actually do what we needed.

Now we change the above proverb according to IT Industries.

Requirement is the mother of every product.

Now what if requirement is wrongly interpreted, is the product possible in that case? Might be possible but it would not be right product because it would not do actually what stakeholders needed.

To provide a quality product to client, it is very important to understand the needs of the client. The purpose of testing can't be fulfilled if tester doesn't understand the requirement properly.
Why the requirement is mis-interpreted?
There may be various reasons such as:
• The clients/ users actually don’t know themselves what they really want or what they need?
• When it is impossible to know who yours users will be and it is quite often if we don’t consider the narrowly defined situation such as an EHR application.
• In general Requirements are not detailed enough to understand the exact needs of the stakeholders.
How the situation can be avoided?
The best solution is questioning. Questioning can be used as a tool to understand the exact requirement of a client. More you ask questions, more you clear about the product.

To depict the power of questioning and how it helps to understand the requirements of a client, we can take example of a game called “Bulls and Cows”

What is Bulls & Cows? - In childhood, you might play this game. This is also known as Cows and Bulls or Pigs and Bulls or Bulls and Cleots. This is a code breaking game played between two players.
How the Game is played? - On a sheet of paper, one player writes a 4-digit secret number. The digits must be all different. Then, the second player tries to guess this number. If the matching digits are on their right positions, they are "bulls", if on different positions, they are "cows". Example:

On the basis of answer, the opponent tries again until he finds the secret number. By asking a single Question again and again, Opponents finds the correct number.

When a single question can help to find a number then imagine how many questions you can ask in a requirements document. Asking Questions is a skill and it comes with lots of practice and time. But if you know the skill of questioning, there is no way to mis-interpret the requirements.
My Suggestion: If you find problems to understand the requirements then you should practice “Bulls & Cows”. If there is nobody to play with you, don't panic we have an open source version of “Bulls” and “Cows” called 4 digits.
The game's objective is to guess a four-digit number in 8 times using as less time as possible.

@SanthoshI think you mean you didn't know this game :) But as you said you heard the title, it is because this is an ancient game and children usually plays. Might be few of your friends have played this game.