Test Analysis & Design-Test Techniques Overview
Test Analysis & Design-Test Techniques Overview
• Equivalence Partitioning
1. Minimum
2. Just above the minimum
3. A nominal value
4. Just below the maximum
5. Maximum
• T – Correct username/password
• F – Wrong username/password
• E – Error message is displayed
• H – Home screen is displayed
Interpretation:
• Enter the wrong username and wrong password and click on login,
and the expected result will be the user should get an error message.
• Enter correct username and wrong password and click on login, and
the expected result will be the user should get an error message.
• Enter wrong username and correct password and click on login, and
the expected result will be the user should get an error message.
• This can be used when a tester is testing the application for a finite
set of input values.
• When the tester is trying to test the sequence of events that occur in
the application under test. I.e., this will allow the tester to test the
application behavior for a sequence of input values.
• When the system under test has a dependency on the events/values
in the past.
Example:
• Let’s consider an ATM system function where if the user enters the
invalid password three times the account will be locked.
• In this system, if the user enters a valid password in any of the first
three attempts the user will be logged in successfully. If the user
enters the invalid password in the first or second try, the user will be
asked to re-enter the password. And finally, if the user enters an
incorrect password 3rd time, the account will be blocked.
In the diagram whenever the user enters the correct PIN, he is moved to
Access granted state, and if he enters the wrong password he is moved to
next try and if he does the same for the 3rd time the account blocked state
is reached.