SlideShare a Scribd company logo
2
Most read
6
Most read
7
Most read
State transition testing-software_testing
Introduction:
 State Transition testing, a black box testing technique, in which
outputs are triggered by changes to the input conditions or
changes to 'state' of the system.
 In other words, tests are designed to execute valid and invalid
state transitions.
 A dynamic testing technique, which is used when the system is
defined in terms of a finite number of states and the transitions
between the states are governed by the rules of the system.
 This technique is used when features of a system are
represented as states which transform to another state.
 The transformations are determined by the rules of the software.
State transition testing-software_testing
Deals With:
 Sequence of Events
 Handling of Events depending on Events and Conditions that
occurred in the past
State transition testing-software_testing
State transition testing-software_testing
State transition testing-software_testing
Example:
 You visit an ATM and withdraw $1000. You get your cash. Now
you run out of balance and make exactly the same request of
withdrawing $1000. This time ATM refuses to give you the
money because of insufficient balance.
So here the transition, which caused
the change in state is the earlier
withdrawal:
Steps:
 Identify the initial states and their final state based on the
lines/arrows that are coming out of the initial state
 For each initial state, find out the input condition and the
output result
 Mark each set as a separate test case.
State Transition Testing
Example in Software testing:
 In the practical scenario, testers are normally given the state
transition diagrams and we are required to interpret it.
 These diagrams are either given by the Business Analysts or a
stakeholder and we use these diagrams to determine our test
cases.
For An Example Click here.
Conclusion:
 State Transition testing is a unique test approach for
testing complex applications, which would increase test
execution productivity without compromising on test coverage.
State transition testing-software_testing

More Related Content

PPTX
PPTX
ODP
White box ppt
PPTX
Decision Table Based Testing
PPTX
Designing Techniques in Software Engineering
PPTX
Software testing.ppt
PPTX
Software testing and process
PPT
Domain model
White box ppt
Decision Table Based Testing
Designing Techniques in Software Engineering
Software testing.ppt
Software testing and process
Domain model

What's hot (20)

PPTX
Test case techniques
PPTX
Software testing & Quality Assurance
PPT
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
PPTX
Integration testing
PPTX
Black Box Testing
PPTX
White Box Testing
PPT
Software Testing
PPT
Black box & white-box testing technique
PDF
Test cases
PPTX
Testing web application
PDF
Software testing methods, levels and types
PPTX
Software quality assurance
PPT
Path testing, data flow testing
PPTX
Bug reporting and tracking
PPTX
UNIT TESTING PPT
PDF
Software Engineering - chp4- design patterns
PDF
What is Test Plan? Edureka
PPT
Manual testing ppt
PPTX
Software Configuration Management
Test case techniques
Software testing & Quality Assurance
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
Integration testing
Black Box Testing
White Box Testing
Software Testing
Black box & white-box testing technique
Test cases
Testing web application
Software testing methods, levels and types
Software quality assurance
Path testing, data flow testing
Bug reporting and tracking
UNIT TESTING PPT
Software Engineering - chp4- design patterns
What is Test Plan? Edureka
Manual testing ppt
Software Configuration Management
Ad

Similar to State transition testing-software_testing (20)

PDF
A NEW INNOVATION TECHNIQUE OF STATE TRANSITION TESTING USED FOR DBT
PPTX
SE 09 (test design techs).pptx
PPTX
Test design
PPT
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
PPT
072 swe415stnotes08
PPTX
Electronic Instrumentation and control systems
PPTX
Digital logic Design Presentationnn.pptx
PPTX
Programming models for event controlled programs
PPT
Software System Engineering - Chapter 14
PDF
Introduction to Modeling and Simulation
PPTX
Real World State And Notification Broker
PPTX
Test cases for effective testing - part 2
PPT
Unit 3(advanced state modeling & interaction meodelling)
PDF
Software Testing Techniques with Test Case Design Examples.pdf
PPTX
Software engineering rogers pressman chapter 7
PPTX
Analysis of waiting line processes - U3.pptx
DOCX
MODELING & SIMULATION.docx
PDF
Cmt learning objective 36 case study of s&p 500
PDF
Case study of s&p 500
PDF
Chapter 2 - Introduction to manufacturing processes - N.pdf
A NEW INNOVATION TECHNIQUE OF STATE TRANSITION TESTING USED FOR DBT
SE 09 (test design techs).pptx
Test design
blckboxtesting.ppt il.;io'/ ulio'[ yjko8i[0'-p/ yk
072 swe415stnotes08
Electronic Instrumentation and control systems
Digital logic Design Presentationnn.pptx
Programming models for event controlled programs
Software System Engineering - Chapter 14
Introduction to Modeling and Simulation
Real World State And Notification Broker
Test cases for effective testing - part 2
Unit 3(advanced state modeling & interaction meodelling)
Software Testing Techniques with Test Case Design Examples.pdf
Software engineering rogers pressman chapter 7
Analysis of waiting line processes - U3.pptx
MODELING & SIMULATION.docx
Cmt learning objective 36 case study of s&p 500
Case study of s&p 500
Chapter 2 - Introduction to manufacturing processes - N.pdf
Ad

Recently uploaded (20)

PPT
Introduction Database Management System for Course Database
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
System and Network Administraation Chapter 3
PDF
medical staffing services at VALiNTRY
PDF
Digital Strategies for Manufacturing Companies
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
Introduction to Artificial Intelligence
PDF
top salesforce developer skills in 2025.pdf
Introduction Database Management System for Course Database
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administraation Chapter 3
medical staffing services at VALiNTRY
Digital Strategies for Manufacturing Companies
ISO 45001 Occupational Health and Safety Management System
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Odoo POS Development Services by CandidRoot Solutions
Odoo Companies in India – Driving Business Transformation.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Internet Downloader Manager (IDM) Crack 6.42 Build 41
CHAPTER 2 - PM Management and IT Context
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Which alternative to Crystal Reports is best for small or large businesses.pdf
ai tools demonstartion for schools and inter college
Introduction to Artificial Intelligence
top salesforce developer skills in 2025.pdf

State transition testing-software_testing

  • 2. Introduction:  State Transition testing, a black box testing technique, in which outputs are triggered by changes to the input conditions or changes to 'state' of the system.  In other words, tests are designed to execute valid and invalid state transitions.  A dynamic testing technique, which is used when the system is defined in terms of a finite number of states and the transitions between the states are governed by the rules of the system.  This technique is used when features of a system are represented as states which transform to another state.  The transformations are determined by the rules of the software.
  • 4. Deals With:  Sequence of Events  Handling of Events depending on Events and Conditions that occurred in the past
  • 8. Example:  You visit an ATM and withdraw $1000. You get your cash. Now you run out of balance and make exactly the same request of withdrawing $1000. This time ATM refuses to give you the money because of insufficient balance.
  • 9. So here the transition, which caused the change in state is the earlier withdrawal:
  • 10. Steps:  Identify the initial states and their final state based on the lines/arrows that are coming out of the initial state  For each initial state, find out the input condition and the output result  Mark each set as a separate test case.
  • 11. State Transition Testing Example in Software testing:  In the practical scenario, testers are normally given the state transition diagrams and we are required to interpret it.  These diagrams are either given by the Business Analysts or a stakeholder and we use these diagrams to determine our test cases. For An Example Click here.
  • 12. Conclusion:  State Transition testing is a unique test approach for testing complex applications, which would increase test execution productivity without compromising on test coverage.