0% found this document useful (0 votes)
81 views14 pages

7 State Transition Table

The document describes state transition testing, which checks how a system's state changes under varying input values. It provides examples of state transition diagrams and tables that represent different states and the transitions between them depending on events. The objectives are to test behavior under different inputs, dependency on past values, and state changes. Advantages are understanding behavior and representation, while disadvantages are limited applicability and reliability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views14 pages

7 State Transition Table

The document describes state transition testing, which checks how a system's state changes under varying input values. It provides examples of state transition diagrams and tables that represent different states and the transitions between them depending on events. The objectives are to test behavior under different inputs, dependency on past values, and state changes. Advantages are understanding behavior and representation, while disadvantages are limited applicability and reliability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

September

2, 2021

State Transition
Table

1
2 September 2, 2021

State Transition Testing


 StateTransition Testing is a type of
software testing which is performed to
check the change in the state of the
application under varying input.
 The condition of input passed is changed
and the change in state is observed.
3 September 2, 2021

 In this type of testing, both positive and


negative input values are provided and
the behavior of the system is observed.
4 September 2, 2021

Objectives of State Transition


Testing:
 To test the behavior of the system under
varying input.
 To test the dependency on the values in
the past.
 To test the change in transition state of
the application.
 To test the performance of the system.
5 September 2, 2021

 State Transition Diagram:


State Transition Diagram shows how the
state of the system changes on certain
inputs.
It has four main components:
 States
 Transition
 Events
 Actions
6 September 2, 2021

Advantages of State Transition


Testing:
 State transition testing helps in
understanding the behavior of the system.
 State transition testing gives the proper
representation of the system behavior.
 State transition testing covers all the
conditions.
7 September 2, 2021

Disadvantages of State
Transition Testing:
 State transition testing can not be
performed everywhere.
 State transition testing is not always
reliable.
8 September 2, 2021
9 September 2, 2021

Example 1:
 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.
10 September 2, 2021
11 September 2, 2021

State Transition Table

Correct PIN
Incorrect PIN

S1) Start S5 S2

S2) 1st attempt S5 S3

S3) 2nd attempt S5 S4

S4) 3rd attempt S5 S6

S5) Access Granted – –

S6) Account blocked – –


12 September 2, 2021

 Inthe flight reservation login screen,


consider you have to enter correct agent
name and password to access the flight
reservation application.
13 September 2, 2021
14 September 2, 2021

You might also like