Software Testing Methodologies & Black Box Testing Techniques
Software Testing Methodologies & Black Box Testing Techniques
• In State transition Testing Test cases are designed to execute valid and
invalid state transitions.
• A System (Application Under Test) may exhibit a different response on
current conditions or previous history.
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 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.