SlideShare a Scribd company logo
USING TASK MODELS IN
MODEL-BASED TESTING
by Rachid Kherrazi
High Tech Campus Eindhoven, Netherland 16-04-2016
© All rights reserved
2
© All rights reserved
Rachid Kherrazi
Test specialist at Promedico
Test Process Improvement
Model Based Testing
Model Driven Engineering
iSQI Accredited Certified MBT Trainer
Also involved in this project
Anita Wierda User Experience specialist
Neda Noroozi MBT specialist
Arjan van der Meer MDE specialist
Agenda
• Introduction to Model Based
Testing
• What is MBT?
• What are benefits and
challenges?
• Why MBT?
• User Experience and Task Models
• From Task model to Test Model
using UXSpec tool
• Case study and results
© All rights reserved
IntegrationDesign
Coding
Requirements System test
Test case specification
(design of logical test case)
(reduction of number of test cases by application of test techniques
Test execution
(reporting)
Test case generation
(design of physical test case)
(selection of input values and calculation of expected results)
Test process
Rachid Kherrazi NextBuild 2016 4
3 main steps in test process
Module
Subsystem
System
MBT is the automation of test case generation
Rachid Kherrazi NextBuild 2016 5
Manual Automatic
Test case specification
(design of logical test cases)
Test case execution
(and reporting)
Test case generation
(design of physical test case)
(Actions & expected results)
Modelbasedtesting
Traditionalmanualtesting
Traditionalautomatictesting
Manual C# Scripting
Testing skills + Scripting skills + Modeling skills
Modeling
Lightweight
Modeling languages
Generate
Scripting
Model Based Testing
6Rachid Kherrazi NextBuild 2016
+ better communication using models
+ abstract tests
+ auto design of tests, variety of test
suites
+ model checking
+ early exposure of ambiguities in
spec/design
+ ease of updating of test suites
+ systematic coverage
o automatic execution
o auto regression testing
- modelling overhead
- complexity of the models
Typical issues with traditional testing
• Many problems discovered at a late stage of development
process, often costly to resolve.
• In addition, they affect the planning of development processes
in that they must be resolved 'In between'
Several pre and post release defects not found with traditional
testing, which results in
Several delays in planning
With related quality/cost impact
Rachid Kherrazi NextBuild 2016 7
Typical what we
hear from our
customers
Root Cause
• Unit testing is insufficient
• Single unit may work properly in isolation
• Incorrect interaction between units may cause serious reliability failures
• System-level testing
• Requires model of system behavior
• Behavior is often reactive/nondeterministic
• Implementation is multi-threaded or distributed
• Thread scheduling hard to control
• State space is typically infinite
• Traditional FSM-based testing does not scale
Rachid Kherrazi NextBuild 2016 8
MBT helps to avoid integration issues and post
release defects
Rachid Kherrazi UCAAT 2015 9
Review
Static testing
Unit testing
Manual testing
happy flows
Manual testing
alternative flows
Manual testing
bad weather flows
Typical uncovered
Post release defects
Typical uncovered
Integration issues
This is typical domain
where Model Based
Testing helps
You can try to avoid
integration issues and
post release defects by
adding manual test case,
but it will be complex will
take lot of effort and
finally costly
Increased complexity and effort of testing
Manual exhaustive
exploratory testing
Other Drivers for MBT
Our world evolves….and becomes complex
• Cyber-Physical Systems/EoT
• Machine2Machine
• Digital Transformation
 Increased need to manage complexity
 Increased need to technology enablers
Innovative company’s need innovative tools and approaches to develop
innovative products and services
 Model Based System Engineering
 Model Driven Engineering
 Model Based Testing
Rachid Kherrazi UCAAT 2015 10
Spec Explorer and possible extensions
Rachid Kherrazi NextBuild 2016 11
Explore &
Analyze
Remodel
Generate
Model Model Graph
Test Suite
Test Execute Tool
Nunit
Note: this is not implementation
code, this is the textual Test
model
(describing the interface
behavior)
MBT extension to overcome modeling /scripting skills and reuse available models
UML Extension
Sequence Diagrams
UXSpec
(converts Task Models to SE test
models)
MBT: workflow
Rachid Kherrazi NextBuild 2016 12
Model
Cord
Script
Spec
Explorer
Test
Cases
Cord Scripts:
• Coverage /Slicing /Scenario Selection
Spec Explorer (MBT tool):
• Generate automatically test cases
MBT
Tester
Task Model in human-centered design
Rachid Kherrazi NextBuild 2016 13
This figure shows the
interdependence of human-centered
design activities according to the ISO
9241-210 standard.
Blue rectangles show the 5 key design
activities in an iterative, human-
centered design process.
"UX deliverables" are key deliverables
from the corresponding design
activity.
During Analysis phase, Task Model
is one of the deliverables
Task Model: A description of the
subtasks that have to be carried out
in order to reach the
user’s goals
What are task models, anyway?
• Description of the process a user takes to reach a goal
in a specific domain
• Typically have hierarchical structure
• Number of different task modeling languages
• GOMS
• UAN
• ConcurTaskTrees (CTT)
Rachid Kherrazi NextBuild 2016 14
http://giove.isti.cnr.it/attachments/publications/2003-A1-07.pdf
ConcurTaskTrees
• Developed by Fabio Paterno et al. for the design of user interfaces
Rachid Kherrazi NextBuild 2016 15
• Goals
– Graphical for easy
interpretation
– Concurrent model for
representing UI tasks
– Different task types
• Represent all tasks,
including those
performed by the system
Task Building Process
• Three phases
• Hierarchically decompose the
tasks
• Identify the temporal
relationships among tasks at
same level
• Identify what objects are
manipulated and what actions
can be performed on them,
and assign these to the tasks
as appropriate.
• Temporal Relationships
• T1 [] T2 - Choice
• T1 ||| T2 - Interleaving
• T1 |[]| T2 - Synchronization
• T1 >> T2 - Enabling
• T1 []>> T2 - Enabling with
Information Passing
• T1 [> T2 - Deactivation
• T1* - Iteration
• T1(n) - Finite Iteration
• [T1] - Optional
• T – Recursion
Rachid Kherrazi NextBuild 2016 16
Building/Editing Task Models
• Tools are available
• ConcurTaskTrees
Environment
Rachid Kherrazi NextBuild 2016
17
http://giove.cnuce.cnr.it/ctte.html or Google for “ConcurTaskTrees”
Ref: Paulo Filipe de Jesus Cruz
Example CTT
MBT: workflow
Rachid Kherrazi NextBuild 2016 18
Model
Cord
Script
Spec
Explorer
Test
Cases
Cord Scripts:
• Coverage /Slicing /Scenario Selection
Spec Explorer (MBT tool):
• Generate automatically test cases
MBT
Tester
UXspec
Task
Model
Maria
(CTT)
UX Designer
Tester reuses existing UX Task models to
generate Spec Explorer MBT models
Case study:
Car reservation system
• Navigate to Cars tab
• Add a car to reservation system
• select ‘add Car’
• Enter Car info in the popup window
• Enter mandatory information (fields)
• Select Car Model
• Select a Station
• Enter additional information,
if applicable (Class of Car)
• Select ‘Ok’ to close the window and perform the action only if
“Eindhoven” station is selected
• Select ‘Cancel’ to close the window without performing the action
Rachid Kherrazi NextBuild 2016 19
(for simplicity and demonstration we selected 2 requirements)
(Req. 1)
(Req. 2)
MBT + UXspec: generated Model
Rachid Kherrazi NextBuild 2016 20
15 States
39 Transitions
13 Test cases
Complete Test cases coverage
Perceived benefits of approach
• Translation of design to Concur Task Tree seems straight
forward
• Clear visual way of specifying all interaction details (e.g. all
input fields in a screen) and user interaction flows
• Changes in requirements: Only keep this model up to date, not
have to change all design mockups
• Model can be maintained by others than UX (free tooling)easy
way to create test cases and apply MBT.
Rachid Kherrazi NextBuild 2016 21
Questions?
Rachid Kherrazi NextBuild 2016 22
• MBT is…..
• Strategies, tools and artifacts
• Manage complexity
• Reduces the need of manual or human involvement of interaction
• Avoids spending time in unskilled repetitive error prone or redundant tasks
• Provides bandwidth to Innovate!!
Case study:
perceived benefits
• Pilot has demonstrate the correct working of our tool chain
(feasibility study)
Perceived benefits:
• Enforce team involvements
• Better communication, less misunderstanding
• Increased productivity
• Reducing test specification effort by reusing task models
• Increased test Automation (Saving time and cost)
• Maintainability /Agility
• Easier and safer Maintainability by using task models as one
synchronization point
• Changes in requirements  Update in Task Model  automatic update in
Test cases
Rachid Kherrazi NextBuild 2016 23
Next Steps
• Run project based on real product from industry
• Tool improvements
• Support data handling/configuration aspects in UXSpec,
instead of relying on manual additions in Spec Explorer,
• Supporting other MBT tools.
Results
Manual test design and manual
scripting
(automatic test execution)
MBT+ UXspec
SUT Car reservation system
(2 requirements )
Car reservation system
(2 requirements )
Test Design (logical
test case)
0,5 h for 2 test specification ½ h for creating task model
Test Generation
(physical test case)
0,5 h for 2 scripting the test cases Automatic generation of 13 test cases
Test Execution Automatic execution
(MS UI automation)
Automatic execution
(MS UI automation)
Number of Test
Cases
2 Test cases
(2 test case/hrs)
13 Test cases
(26 test case/hrs)
Coverage 2 scenarios
2 req
All scenarios
2 req
Maintenance
Effort
(change /new
requirements)
1 h for adding test scenario (new
requirement)
½ h for updating task model
Rachid Kherrazi NextBuild 2016 24

More Related Content

PDF
Hands-on Experience Model based testing with spec explorer
PDF
ASDSpec, Model Based Testing
PPTX
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
PDF
Model-Based Testing: Concepts, Tools, and Techniques
PDF
Cucumber spec - a tool takes your bdd to the next level
PDF
Behavior Driven Development with SpecFlow
PPTX
Unit testing
Hands-on Experience Model based testing with spec explorer
ASDSpec, Model Based Testing
Model-Based Testing: Theory and Practice. Keynote @ MoTiP (ISSRE) 2012.
Model-Based Testing: Concepts, Tools, and Techniques
Cucumber spec - a tool takes your bdd to the next level
Behavior Driven Development with SpecFlow
Unit testing

What's hot (20)

PDF
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
PDF
Ivan Pashko - Simplifying test automation with design patterns
PPTX
Practical unit testing in c & c++
PPS
Testing techniques
PDF
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
PDF
Rachid kherrazi-testing-asd-interface-compliance-with-asd spec
DOCX
Test driven development and unit testing with examples in C++
PPTX
White box & Black box testing
PPT
Black Box Testing
PPT
Software Testing Tecniques
PPTX
Software testing ... who’s responsible is it?
PPS
Unit Testing
PPTX
White box testing
PPT
12 Rational Solo Pruebas 2009
PPTX
White box testing
PDF
Engaging IV&V Testing Services for Agile Projects
PDF
Software Testing
PPTX
Software Quality via Unit Testing
PPTX
Benefit From Unit Testing In The Real World
PDF
Automated Test Case Generation and Execution from Models
Volodymyr Prymakov and Vlada Benyukh Detailed manual estimation approach for ...
Ivan Pashko - Simplifying test automation with design patterns
Practical unit testing in c & c++
Testing techniques
Model-based Testing using Microsoft’s Spec Explorer Tool: A Case Study
Rachid kherrazi-testing-asd-interface-compliance-with-asd spec
Test driven development and unit testing with examples in C++
White box & Black box testing
Black Box Testing
Software Testing Tecniques
Software testing ... who’s responsible is it?
Unit Testing
White box testing
12 Rational Solo Pruebas 2009
White box testing
Engaging IV&V Testing Services for Agile Projects
Software Testing
Software Quality via Unit Testing
Benefit From Unit Testing In The Real World
Automated Test Case Generation and Execution from Models
Ad

Viewers also liked (20)

PPTX
The Task Model
PPTX
Тестирование на основе моделей: "ужас-ужас" или всё не так страшно?
PPTX
Task centered model....
PPT
ALM (Application Lifecycle Management)
PDF
Getupandgolist
PDF
The usual suspects rescanned
PDF
BTXA part 5 of 5
DOC
Càlcul 1r
PPT
Best practiclessme2012
PPT
PPT
Plants queta
PPTX
Living things asensio
PDF
Hilton International Regional worldwide Training
PPTX
Need To Hire Someone For Your Business
PDF
Shutter island film promotion package
PPTX
PPT
Andrey at the library
PPT
Ulibarri aurkezpena
PPTX
A love story
DOCX
The Task Model
Тестирование на основе моделей: "ужас-ужас" или всё не так страшно?
Task centered model....
ALM (Application Lifecycle Management)
Getupandgolist
The usual suspects rescanned
BTXA part 5 of 5
Càlcul 1r
Best practiclessme2012
Plants queta
Living things asensio
Hilton International Regional worldwide Training
Need To Hire Someone For Your Business
Shutter island film promotion package
Andrey at the library
Ulibarri aurkezpena
A love story
Ad

Similar to Using task models in model-based testing (20)

PDF
Model Based Testing
PPTX
Manual Testing to Intelligent Test Automation.pptx
PPT
Software Process Models
PPTX
When is a project ready for Software Automation_NEW
PPT
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
PPTX
RPA_EC_2Cre_Chapter 03-Process Methodologies.pptx
PDF
Measuring Productivity from Model-Based Development
PPTX
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
PDF
Evaluating the efficiency of using a search-based automated model merge techn...
PPT
Slides chapter 3
PPT
Slides chapter 3
PPTX
Selection of methodology - System Analysis and Design
PDF
Model Based Software Testing
PDF
Presentation Verification & Validation
PPTX
WDS trainer presentation - MLOps.pptx
PPTX
Automation Best Practices.pptx
PPT
ch2_processmodels.pptjjgjuuuuugffyuijhgff
PDF
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
PPTX
Questions for successful test automation projects
PDF
[2015/2016] Software development process
Model Based Testing
Manual Testing to Intelligent Test Automation.pptx
Software Process Models
When is a project ready for Software Automation_NEW
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
RPA_EC_2Cre_Chapter 03-Process Methodologies.pptx
Measuring Productivity from Model-Based Development
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Evaluating the efficiency of using a search-based automated model merge techn...
Slides chapter 3
Slides chapter 3
Selection of methodology - System Analysis and Design
Model Based Software Testing
Presentation Verification & Validation
WDS trainer presentation - MLOps.pptx
Automation Best Practices.pptx
ch2_processmodels.pptjjgjuuuuugffyuijhgff
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Questions for successful test automation projects
[2015/2016] Software development process

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
STKI Israel Market Study 2025 version august
PDF
Getting Started with Data Integration: FME Form 101
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
The various Industrial Revolutions .pptx
PDF
Architecture types and enterprise applications.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
What is a Computer? Input Devices /output devices
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
August Patch Tuesday
Programs and apps: productivity, graphics, security and other tools
Final SEM Unit 1 for mit wpu at pune .pptx
TLE Review Electricity (Electricity).pptx
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
cloud_computing_Infrastucture_as_cloud_p
Module 1.ppt Iot fundamentals and Architecture
gpt5_lecture_notes_comprehensive_20250812015547.pdf
WOOl fibre morphology and structure.pdf for textiles
DP Operators-handbook-extract for the Mautical Institute
STKI Israel Market Study 2025 version august
Getting Started with Data Integration: FME Form 101
1 - Historical Antecedents, Social Consideration.pdf
observCloud-Native Containerability and monitoring.pptx
The various Industrial Revolutions .pptx
Architecture types and enterprise applications.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
What is a Computer? Input Devices /output devices
OMC Textile Division Presentation 2021.pptx
A comparative study of natural language inference in Swahili using monolingua...
August Patch Tuesday

Using task models in model-based testing

  • 1. USING TASK MODELS IN MODEL-BASED TESTING by Rachid Kherrazi High Tech Campus Eindhoven, Netherland 16-04-2016 © All rights reserved
  • 2. 2 © All rights reserved Rachid Kherrazi Test specialist at Promedico Test Process Improvement Model Based Testing Model Driven Engineering iSQI Accredited Certified MBT Trainer Also involved in this project Anita Wierda User Experience specialist Neda Noroozi MBT specialist Arjan van der Meer MDE specialist
  • 3. Agenda • Introduction to Model Based Testing • What is MBT? • What are benefits and challenges? • Why MBT? • User Experience and Task Models • From Task model to Test Model using UXSpec tool • Case study and results © All rights reserved
  • 4. IntegrationDesign Coding Requirements System test Test case specification (design of logical test case) (reduction of number of test cases by application of test techniques Test execution (reporting) Test case generation (design of physical test case) (selection of input values and calculation of expected results) Test process Rachid Kherrazi NextBuild 2016 4 3 main steps in test process Module Subsystem System
  • 5. MBT is the automation of test case generation Rachid Kherrazi NextBuild 2016 5 Manual Automatic Test case specification (design of logical test cases) Test case execution (and reporting) Test case generation (design of physical test case) (Actions & expected results) Modelbasedtesting Traditionalmanualtesting Traditionalautomatictesting Manual C# Scripting Testing skills + Scripting skills + Modeling skills Modeling Lightweight Modeling languages Generate Scripting
  • 6. Model Based Testing 6Rachid Kherrazi NextBuild 2016 + better communication using models + abstract tests + auto design of tests, variety of test suites + model checking + early exposure of ambiguities in spec/design + ease of updating of test suites + systematic coverage o automatic execution o auto regression testing - modelling overhead - complexity of the models
  • 7. Typical issues with traditional testing • Many problems discovered at a late stage of development process, often costly to resolve. • In addition, they affect the planning of development processes in that they must be resolved 'In between' Several pre and post release defects not found with traditional testing, which results in Several delays in planning With related quality/cost impact Rachid Kherrazi NextBuild 2016 7 Typical what we hear from our customers
  • 8. Root Cause • Unit testing is insufficient • Single unit may work properly in isolation • Incorrect interaction between units may cause serious reliability failures • System-level testing • Requires model of system behavior • Behavior is often reactive/nondeterministic • Implementation is multi-threaded or distributed • Thread scheduling hard to control • State space is typically infinite • Traditional FSM-based testing does not scale Rachid Kherrazi NextBuild 2016 8
  • 9. MBT helps to avoid integration issues and post release defects Rachid Kherrazi UCAAT 2015 9 Review Static testing Unit testing Manual testing happy flows Manual testing alternative flows Manual testing bad weather flows Typical uncovered Post release defects Typical uncovered Integration issues This is typical domain where Model Based Testing helps You can try to avoid integration issues and post release defects by adding manual test case, but it will be complex will take lot of effort and finally costly Increased complexity and effort of testing Manual exhaustive exploratory testing
  • 10. Other Drivers for MBT Our world evolves….and becomes complex • Cyber-Physical Systems/EoT • Machine2Machine • Digital Transformation  Increased need to manage complexity  Increased need to technology enablers Innovative company’s need innovative tools and approaches to develop innovative products and services  Model Based System Engineering  Model Driven Engineering  Model Based Testing Rachid Kherrazi UCAAT 2015 10
  • 11. Spec Explorer and possible extensions Rachid Kherrazi NextBuild 2016 11 Explore & Analyze Remodel Generate Model Model Graph Test Suite Test Execute Tool Nunit Note: this is not implementation code, this is the textual Test model (describing the interface behavior) MBT extension to overcome modeling /scripting skills and reuse available models UML Extension Sequence Diagrams UXSpec (converts Task Models to SE test models)
  • 12. MBT: workflow Rachid Kherrazi NextBuild 2016 12 Model Cord Script Spec Explorer Test Cases Cord Scripts: • Coverage /Slicing /Scenario Selection Spec Explorer (MBT tool): • Generate automatically test cases MBT Tester
  • 13. Task Model in human-centered design Rachid Kherrazi NextBuild 2016 13 This figure shows the interdependence of human-centered design activities according to the ISO 9241-210 standard. Blue rectangles show the 5 key design activities in an iterative, human- centered design process. "UX deliverables" are key deliverables from the corresponding design activity. During Analysis phase, Task Model is one of the deliverables Task Model: A description of the subtasks that have to be carried out in order to reach the user’s goals
  • 14. What are task models, anyway? • Description of the process a user takes to reach a goal in a specific domain • Typically have hierarchical structure • Number of different task modeling languages • GOMS • UAN • ConcurTaskTrees (CTT) Rachid Kherrazi NextBuild 2016 14 http://giove.isti.cnr.it/attachments/publications/2003-A1-07.pdf
  • 15. ConcurTaskTrees • Developed by Fabio Paterno et al. for the design of user interfaces Rachid Kherrazi NextBuild 2016 15 • Goals – Graphical for easy interpretation – Concurrent model for representing UI tasks – Different task types • Represent all tasks, including those performed by the system
  • 16. Task Building Process • Three phases • Hierarchically decompose the tasks • Identify the temporal relationships among tasks at same level • Identify what objects are manipulated and what actions can be performed on them, and assign these to the tasks as appropriate. • Temporal Relationships • T1 [] T2 - Choice • T1 ||| T2 - Interleaving • T1 |[]| T2 - Synchronization • T1 >> T2 - Enabling • T1 []>> T2 - Enabling with Information Passing • T1 [> T2 - Deactivation • T1* - Iteration • T1(n) - Finite Iteration • [T1] - Optional • T – Recursion Rachid Kherrazi NextBuild 2016 16
  • 17. Building/Editing Task Models • Tools are available • ConcurTaskTrees Environment Rachid Kherrazi NextBuild 2016 17 http://giove.cnuce.cnr.it/ctte.html or Google for “ConcurTaskTrees” Ref: Paulo Filipe de Jesus Cruz Example CTT
  • 18. MBT: workflow Rachid Kherrazi NextBuild 2016 18 Model Cord Script Spec Explorer Test Cases Cord Scripts: • Coverage /Slicing /Scenario Selection Spec Explorer (MBT tool): • Generate automatically test cases MBT Tester UXspec Task Model Maria (CTT) UX Designer Tester reuses existing UX Task models to generate Spec Explorer MBT models
  • 19. Case study: Car reservation system • Navigate to Cars tab • Add a car to reservation system • select ‘add Car’ • Enter Car info in the popup window • Enter mandatory information (fields) • Select Car Model • Select a Station • Enter additional information, if applicable (Class of Car) • Select ‘Ok’ to close the window and perform the action only if “Eindhoven” station is selected • Select ‘Cancel’ to close the window without performing the action Rachid Kherrazi NextBuild 2016 19 (for simplicity and demonstration we selected 2 requirements) (Req. 1) (Req. 2)
  • 20. MBT + UXspec: generated Model Rachid Kherrazi NextBuild 2016 20 15 States 39 Transitions 13 Test cases Complete Test cases coverage
  • 21. Perceived benefits of approach • Translation of design to Concur Task Tree seems straight forward • Clear visual way of specifying all interaction details (e.g. all input fields in a screen) and user interaction flows • Changes in requirements: Only keep this model up to date, not have to change all design mockups • Model can be maintained by others than UX (free tooling)easy way to create test cases and apply MBT. Rachid Kherrazi NextBuild 2016 21
  • 22. Questions? Rachid Kherrazi NextBuild 2016 22 • MBT is….. • Strategies, tools and artifacts • Manage complexity • Reduces the need of manual or human involvement of interaction • Avoids spending time in unskilled repetitive error prone or redundant tasks • Provides bandwidth to Innovate!!
  • 23. Case study: perceived benefits • Pilot has demonstrate the correct working of our tool chain (feasibility study) Perceived benefits: • Enforce team involvements • Better communication, less misunderstanding • Increased productivity • Reducing test specification effort by reusing task models • Increased test Automation (Saving time and cost) • Maintainability /Agility • Easier and safer Maintainability by using task models as one synchronization point • Changes in requirements  Update in Task Model  automatic update in Test cases Rachid Kherrazi NextBuild 2016 23 Next Steps • Run project based on real product from industry • Tool improvements • Support data handling/configuration aspects in UXSpec, instead of relying on manual additions in Spec Explorer, • Supporting other MBT tools.
  • 24. Results Manual test design and manual scripting (automatic test execution) MBT+ UXspec SUT Car reservation system (2 requirements ) Car reservation system (2 requirements ) Test Design (logical test case) 0,5 h for 2 test specification ½ h for creating task model Test Generation (physical test case) 0,5 h for 2 scripting the test cases Automatic generation of 13 test cases Test Execution Automatic execution (MS UI automation) Automatic execution (MS UI automation) Number of Test Cases 2 Test cases (2 test case/hrs) 13 Test cases (26 test case/hrs) Coverage 2 scenarios 2 req All scenarios 2 req Maintenance Effort (change /new requirements) 1 h for adding test scenario (new requirement) ½ h for updating task model Rachid Kherrazi NextBuild 2016 24