SlideShare a Scribd company logo
W20 -A Lean And Mean Approach To Model-Based Testing 
Bert Zuurke 
LogicaNetherlands
Presenting 
•I will present a method : 
–where the test scripts are generated from state transition diagrams 
–and populated with test data from an Excel spreadsheet.
Including 
•Demonstrating the use of open source tools 
–For making state transition diagrams 
–For generating test scripts 
–For recording test results 
–For automating tests
Not included 
•This is not a tutorial on model based testing 
•This is not a tutorial on how to test with state transition diagrams 
•This is not a demonstration of all features of all the tools
Lean and mean 
•Only open source 
–Low costs to start with MBT 
•Understandable and usable by any average tester
We all use models 
Hmmm… 
if I want to make a note 
than I need to start 
Notepad, enter my text, 
save it and close Notepad 
start 
Save 
Type text 
Cancel 
No
A state transition diagram 
START State 
Action 
END State 
Start 
Startnotepad 
Notepadrunning 
Notepadrunning 
Type text 
Textentered 
Textentered 
Close window 
Savethe changes? 
Savethe changes? 
No 
Notepadnotrunning 
Savethe changes 
Cancel 
Textentered 
start 
Save 
Type text 
Cancel 
No 
Start Notepad
And also depictured asSave 
Type text 
Cancel 
No
How to test using state transition diagrams 
Test scenario’s 
All states 
All Edges 
Statistics: 
-Edge coverage 
-State coverage 
-Test cases coverage
Where is the test data?
Endless edges? For every test case we need an extra edge
Why using Excel for test data? Action wordWhat to do 
Arguments 
= test data 
Field labels
Use of excel 
Edgename 
Label 
Type Text 
1 
Anote for Eurostar2010 
2 
Anotherline 
3 
Lastline to type
Putting it all togetherUse Model State Diagram for navigationUse Excel for the test data
Add a user interface 
Model engineTestdata 
Model state diagram 
SOAP Request 
SOAP Repley 
Testdata 
Test engine 
•Offline mode 
•Online mode 
•Test automation 
OperationModes 
Navigation
Details
Demo YeDmake a transition diagram for Notepad 
The following sheets are placeholders for the real demonstration.
Generate Excel worksheet
Generate an Excel worksheet (2)
Supply the test data
Run and have fun!
Automation 
Test Automation can be added in the same way as with keyword driven tests 
keywordtestdata3 
testdata2 
testdata1Step 1: action (enter testdata1 in field 1) Step2: action … 
Notepad running 
Text addedAdd Text 
Edge name 
testdata1 
FuncAdd_text 
send(“A note for Eurostar2010{ENTER}”) 
Endfunc
Automation (2) Per step automatione.g. Start the applicationrun("Notepad.exe") Enter textsend(“A note for Eurostar2010{ENTER}”) Close the windowWinClose("Untitled -Notepad","") Cancel “Save the changes”; click No buttonControlClick("Notepad","","[CLASS:Button; INSTANCE:2]") Do not “Save the changes”; click No buttonControlClick("Notepad","","[CLASS:Button; INSTANCE:2]") How it is done: 
1.Generate an autoitscript template 
2.Add programming statements for each step inside the functions 
3.Compile with engine 
4.Test the test
Demo: generate the programming frameand add the statements to automate the test 
Switch$name 
case“e_Type_A” 
$nextaction=e_Type-A($sproc,$itestcase,$aArguments) 
case“e_Close” 
$nextaction=e_Type-A($sproc,$itestcase,$aArguments) 
… 
End switch 
Funca_Type_A($Proc,$testnr,$aData) 
; do the action on the SUT 
WinWait("Untitled -Notepad","") 
If Not WinActive("Untitled -Notepad","") Then WinActivate("Untitled -Notepad","") 
WinWaitActive("Untitled -Notepad","") 
send() 
Endfunc;e_Type_A
Run again and have more fun 
This page is a placeholder for the real life demo
Extensions to the model 
Use of guards and expressions 
Edge can only be used if the condition is true: 
Test_entered=true 
Expressions can change the stateVariables: 
Test-entered=true 
Syntax: 
Name[guard1;guard2;]/expression1;expression2
Run again and have more fun 
This page is a placeholder for the real life demo
Summary 
•I have demonstrated the use of open source tools 
√ For making state transition diagrams 
√ For generating test scripts 
√ For recording test results 
√ For automating test 
√ Can be used for a start with Model based testing. 
•Commercial tools add more features 
•Better GUI 
•More input models 
•Data generation from class diagrams 
•Integration with QTP and other tools
Thank you

More Related Content

What's hot

Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
bhushan Nehete
 
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
STePINForum
 
Software testing fundamentals
Software testing fundamentalsSoftware testing fundamentals
Software testing fundamentals
Mona M. Abd El-Rahman
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
Mona M. Abd El-Rahman
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
Nikita Knysh
 
Test cases
Test casesTest cases
Test cases
Chandra Maddigapu
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
Selvi Vts
 
www.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingwww.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testing
Tutorials Book
 
The Art of Testing Less without Sacrificing Quality @ ICSE 2015
The Art of Testing Less without Sacrificing Quality @ ICSE 2015The Art of Testing Less without Sacrificing Quality @ ICSE 2015
The Art of Testing Less without Sacrificing Quality @ ICSE 2015
Kim Herzig
 
Ivan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patternsIvan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patterns
Ievgenii Katsan
 
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
Writing Test Cases in Agile
Writing Test Cases in AgileWriting Test Cases in Agile
Writing Test Cases in Agile
Saroj Singh
 
Performance Testing - Keytorc Approach
Performance Testing - Keytorc ApproachPerformance Testing - Keytorc Approach
Performance Testing - Keytorc Approach
Keytorc Software Testing Services
 
Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++
Matt Hargett
 
Test case design_the_basicsv0.4
Test case design_the_basicsv0.4Test case design_the_basicsv0.4
Test case design_the_basicsv0.4
guest31fced
 
Unit testing
Unit testingUnit testing
Unit testing
princezzlove
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
Abdul Basit
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testing
gaoliang641
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
Sneha Singh
 
Test Case Management with MTM 2013
Test Case Management with MTM 2013Test Case Management with MTM 2013
Test Case Management with MTM 2013
Raluca Suditu
 

What's hot (20)

Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
 
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
How accurate are the Wearable fitness tracker showing 10000 steps in a day: A...
 
Software testing fundamentals
Software testing fundamentalsSoftware testing fundamentals
Software testing fundamentals
 
Test cases for effective testing - part 1
Test cases for effective testing - part 1Test cases for effective testing - part 1
Test cases for effective testing - part 1
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
 
Test cases
Test casesTest cases
Test cases
 
Unit 2 - Test Case Design
Unit 2 - Test Case DesignUnit 2 - Test Case Design
Unit 2 - Test Case Design
 
www.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingwww.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testing
 
The Art of Testing Less without Sacrificing Quality @ ICSE 2015
The Art of Testing Less without Sacrificing Quality @ ICSE 2015The Art of Testing Less without Sacrificing Quality @ ICSE 2015
The Art of Testing Less without Sacrificing Quality @ ICSE 2015
 
Ivan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patternsIvan Pashko - Simplifying test automation with design patterns
Ivan Pashko - Simplifying test automation with design patterns
 
Test case development
Test case developmentTest case development
Test case development
 
Writing Test Cases in Agile
Writing Test Cases in AgileWriting Test Cases in Agile
Writing Test Cases in Agile
 
Performance Testing - Keytorc Approach
Performance Testing - Keytorc ApproachPerformance Testing - Keytorc Approach
Performance Testing - Keytorc Approach
 
Practical unit testing in c & c++
Practical unit testing in c & c++Practical unit testing in c & c++
Practical unit testing in c & c++
 
Test case design_the_basicsv0.4
Test case design_the_basicsv0.4Test case design_the_basicsv0.4
Test case design_the_basicsv0.4
 
Unit testing
Unit testingUnit testing
Unit testing
 
Black box testing lecture 11
Black box testing lecture 11Black box testing lecture 11
Black box testing lecture 11
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testing
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
 
Test Case Management with MTM 2013
Test Case Management with MTM 2013Test Case Management with MTM 2013
Test Case Management with MTM 2013
 

Viewers also liked

Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...
Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...
Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...
TEST Huddle
 
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
TEST Huddle
 
Jelle Calsbeek - Stay Agile with Model Based Testing revised
Jelle Calsbeek - Stay Agile with Model Based Testing revisedJelle Calsbeek - Stay Agile with Model Based Testing revised
Jelle Calsbeek - Stay Agile with Model Based Testing revised
TEST Huddle
 
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
TEST Huddle
 
Susan Windsor - Dont Shoot the Messenger
Susan Windsor -  Dont Shoot the Messenger Susan Windsor -  Dont Shoot the Messenger
Susan Windsor - Dont Shoot the Messenger
TEST Huddle
 
Johan Jonasson - Introducing Exploratory Testing to Save the Project
Johan Jonasson - Introducing Exploratory Testing to Save the ProjectJohan Jonasson - Introducing Exploratory Testing to Save the Project
Johan Jonasson - Introducing Exploratory Testing to Save the Project
TEST Huddle
 
Rik Teuben - Many Can Quarrel, Fewer Can Argue
Rik Teuben - Many Can Quarrel, Fewer Can Argue Rik Teuben - Many Can Quarrel, Fewer Can Argue
Rik Teuben - Many Can Quarrel, Fewer Can Argue
TEST Huddle
 
Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010
Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010
Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010
TEST Huddle
 
Dietmar Strasser - Traditional QA meets Agile Development
Dietmar Strasser -  Traditional QA meets Agile DevelopmentDietmar Strasser -  Traditional QA meets Agile Development
Dietmar Strasser - Traditional QA meets Agile Development
TEST Huddle
 
Niels Malotaux - Help We Have a QA Problem!
Niels Malotaux -  Help We Have a QA Problem!Niels Malotaux -  Help We Have a QA Problem!
Niels Malotaux - Help We Have a QA Problem!
TEST Huddle
 
Scott Andress - Collaboration not Competition updated
Scott Andress - Collaboration not Competition updatedScott Andress - Collaboration not Competition updated
Scott Andress - Collaboration not Competition updated
TEST Huddle
 
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
TEST Huddle
 
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
TEST Huddle
 
Michael Albrecht - Test Automation in Agile Projects with Open Source
Michael Albrecht - Test Automation in Agile Projects with Open SourceMichael Albrecht - Test Automation in Agile Projects with Open Source
Michael Albrecht - Test Automation in Agile Projects with Open Source
TEST Huddle
 
Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?
TEST Huddle
 
Mats Grindal - Risk-Based Testing - Details of Our Success
Mats Grindal - Risk-Based Testing - Details of Our Success Mats Grindal - Risk-Based Testing - Details of Our Success
Mats Grindal - Risk-Based Testing - Details of Our Success
TEST Huddle
 
Otto Vinter - Analysing Your Defect Data for Improvement Potential
Otto Vinter - Analysing Your Defect Data for Improvement PotentialOtto Vinter - Analysing Your Defect Data for Improvement Potential
Otto Vinter - Analysing Your Defect Data for Improvement Potential
TEST Huddle
 
Erik Beolen - The Power of Risk
Erik Beolen - The Power of RiskErik Beolen - The Power of Risk
Erik Beolen - The Power of Risk
TEST Huddle
 
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
TEST Huddle
 
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
TEST Huddle
 

Viewers also liked (20)

Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...
Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...
Markus Gartner - Alternative Paths for Self-Education in Software Testing - E...
 
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
Michael Roar Borlund & Christian Carlsen - Real Exploratory Testing, Now With...
 
Jelle Calsbeek - Stay Agile with Model Based Testing revised
Jelle Calsbeek - Stay Agile with Model Based Testing revisedJelle Calsbeek - Stay Agile with Model Based Testing revised
Jelle Calsbeek - Stay Agile with Model Based Testing revised
 
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
Doron Reuveni - The Mobile App Quality Challenge - EuroSTAR 2010
 
Susan Windsor - Dont Shoot the Messenger
Susan Windsor -  Dont Shoot the Messenger Susan Windsor -  Dont Shoot the Messenger
Susan Windsor - Dont Shoot the Messenger
 
Johan Jonasson - Introducing Exploratory Testing to Save the Project
Johan Jonasson - Introducing Exploratory Testing to Save the ProjectJohan Jonasson - Introducing Exploratory Testing to Save the Project
Johan Jonasson - Introducing Exploratory Testing to Save the Project
 
Rik Teuben - Many Can Quarrel, Fewer Can Argue
Rik Teuben - Many Can Quarrel, Fewer Can Argue Rik Teuben - Many Can Quarrel, Fewer Can Argue
Rik Teuben - Many Can Quarrel, Fewer Can Argue
 
Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010
Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010
Andrew Goslin - TMMi, What is Not in the Text Book - EuroSTAR 2010
 
Dietmar Strasser - Traditional QA meets Agile Development
Dietmar Strasser -  Traditional QA meets Agile DevelopmentDietmar Strasser -  Traditional QA meets Agile Development
Dietmar Strasser - Traditional QA meets Agile Development
 
Niels Malotaux - Help We Have a QA Problem!
Niels Malotaux -  Help We Have a QA Problem!Niels Malotaux -  Help We Have a QA Problem!
Niels Malotaux - Help We Have a QA Problem!
 
Scott Andress - Collaboration not Competition updated
Scott Andress - Collaboration not Competition updatedScott Andress - Collaboration not Competition updated
Scott Andress - Collaboration not Competition updated
 
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
 
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
Elise Greveraars - Tester Needed? No Thanks, We Use MBT!
 
Michael Albrecht - Test Automation in Agile Projects with Open Source
Michael Albrecht - Test Automation in Agile Projects with Open SourceMichael Albrecht - Test Automation in Agile Projects with Open Source
Michael Albrecht - Test Automation in Agile Projects with Open Source
 
Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?Graham Bath - SOA: Whats in it for Testers?
Graham Bath - SOA: Whats in it for Testers?
 
Mats Grindal - Risk-Based Testing - Details of Our Success
Mats Grindal - Risk-Based Testing - Details of Our Success Mats Grindal - Risk-Based Testing - Details of Our Success
Mats Grindal - Risk-Based Testing - Details of Our Success
 
Otto Vinter - Analysing Your Defect Data for Improvement Potential
Otto Vinter - Analysing Your Defect Data for Improvement PotentialOtto Vinter - Analysing Your Defect Data for Improvement Potential
Otto Vinter - Analysing Your Defect Data for Improvement Potential
 
Erik Beolen - The Power of Risk
Erik Beolen - The Power of RiskErik Beolen - The Power of Risk
Erik Beolen - The Power of Risk
 
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
Stefaan Luckermans - Number for Passion, Passion for Numbers - EuroSTAR 2010
 
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
Tim Koomen - Testing Package Solutions: Business as usual? - EuroSTAR 2010
 

Similar to Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010

12 Rational Solo Pruebas 2009
12 Rational Solo Pruebas 200912 Rational Solo Pruebas 2009
12 Rational Solo Pruebas 2009
Pepe
 
Test link
Test linkTest link
Test link
DialogWebdesign
 
Unit test
Unit testUnit test
Unit test
Tran Duc
 
Problem-solving and design 1.pptx
Problem-solving and design 1.pptxProblem-solving and design 1.pptx
Problem-solving and design 1.pptx
TadiwaMawere
 
QTP Online Training
QTP Online TrainingQTP Online Training
QTP Online Training
QualityPoint Technologies
 
RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG
Greg.Helton
 
SoftTest Ireland: Model Based Testing - January 27th 2011
SoftTest Ireland: Model Based Testing - January 27th 2011SoftTest Ireland: Model Based Testing - January 27th 2011
SoftTest Ireland: Model Based Testing - January 27th 2011
David O'Dowd
 
Junit
JunitJunit
QTP_PRESENTATION_Andy
QTP_PRESENTATION_AndyQTP_PRESENTATION_Andy
QTP_PRESENTATION_Andy
Kumar Jaiswal Aditya
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
Naveen Raj
 
Debugger & Profiler in NetBeans
Debugger & Profiler in NetBeansDebugger & Profiler in NetBeans
Debugger & Profiler in NetBeans
Huu Bang Le Phan
 
Testar2014 presentation
Testar2014 presentationTestar2014 presentation
Testar2014 presentation
Tanja Vos
 
utPLSQL: Unit Testing for Oracle PL/SQL
utPLSQL: Unit Testing for Oracle PL/SQLutPLSQL: Unit Testing for Oracle PL/SQL
utPLSQL: Unit Testing for Oracle PL/SQL
Steven Feuerstein
 
Qtp 9.2 tutorials
Qtp 9.2 tutorialsQtp 9.2 tutorials
Qtp 9.2 tutorials
medsherb
 
QTP 9.2
QTP 9.2QTP 9.2
Qtp 9.2 examples
Qtp 9.2 examplesQtp 9.2 examples
Qtp 9.2 examples
medsherb
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
Kuldeep Sharma
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
Kuldeep Sharma
 
Qtp with descriptive programming
Qtp with descriptive programmingQtp with descriptive programming
Qtp with descriptive programming
medsherb
 
Model Driven Developing & Model Based Checking: Applying Together
Model Driven Developing & Model Based Checking: Applying TogetherModel Driven Developing & Model Based Checking: Applying Together
Model Driven Developing & Model Based Checking: Applying Together
Iosif Itkin
 

Similar to Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010 (20)

12 Rational Solo Pruebas 2009
12 Rational Solo Pruebas 200912 Rational Solo Pruebas 2009
12 Rational Solo Pruebas 2009
 
Test link
Test linkTest link
Test link
 
Unit test
Unit testUnit test
Unit test
 
Problem-solving and design 1.pptx
Problem-solving and design 1.pptxProblem-solving and design 1.pptx
Problem-solving and design 1.pptx
 
QTP Online Training
QTP Online TrainingQTP Online Training
QTP Online Training
 
RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG
 
SoftTest Ireland: Model Based Testing - January 27th 2011
SoftTest Ireland: Model Based Testing - January 27th 2011SoftTest Ireland: Model Based Testing - January 27th 2011
SoftTest Ireland: Model Based Testing - January 27th 2011
 
Junit
JunitJunit
Junit
 
QTP_PRESENTATION_Andy
QTP_PRESENTATION_AndyQTP_PRESENTATION_Andy
QTP_PRESENTATION_Andy
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
 
Debugger & Profiler in NetBeans
Debugger & Profiler in NetBeansDebugger & Profiler in NetBeans
Debugger & Profiler in NetBeans
 
Testar2014 presentation
Testar2014 presentationTestar2014 presentation
Testar2014 presentation
 
utPLSQL: Unit Testing for Oracle PL/SQL
utPLSQL: Unit Testing for Oracle PL/SQLutPLSQL: Unit Testing for Oracle PL/SQL
utPLSQL: Unit Testing for Oracle PL/SQL
 
Qtp 9.2 tutorials
Qtp 9.2 tutorialsQtp 9.2 tutorials
Qtp 9.2 tutorials
 
QTP 9.2
QTP 9.2QTP 9.2
QTP 9.2
 
Qtp 9.2 examples
Qtp 9.2 examplesQtp 9.2 examples
Qtp 9.2 examples
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
 
Qtp with descriptive programming
Qtp with descriptive programmingQtp with descriptive programming
Qtp with descriptive programming
 
Model Driven Developing & Model Based Checking: Applying Together
Model Driven Developing & Model Based Checking: Applying TogetherModel Driven Developing & Model Based Checking: Applying Together
Model Driven Developing & Model Based Checking: Applying Together
 

More from TEST Huddle

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- Accenture
TEST Huddle
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar
TEST Huddle
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway
TEST Huddle
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in Scrum
TEST Huddle
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional Tests
TEST Huddle
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test Work
TEST Huddle
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New Heights
TEST Huddle
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?
TEST Huddle
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of Us
TEST Huddle
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)
TEST Huddle
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger Enterprises
TEST Huddle
 
Is There A Risk?
Is There A Risk?Is There A Risk?
Is There A Risk?
TEST Huddle
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageAre Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test Coverage
TEST Huddle
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
TEST Huddle
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?
TEST Huddle
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
TEST Huddle
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey
TEST Huddle
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using Heuristics
TEST Huddle
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your Role
TEST Huddle
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
TEST Huddle
 

More from TEST Huddle (20)

Why We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- AccentureWhy We Need Diversity in Testing- Accenture
Why We Need Diversity in Testing- Accenture
 
Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar Keys to continuous testing for faster delivery euro star webinar
Keys to continuous testing for faster delivery euro star webinar
 
Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway Why you Shouldnt Automated But You Will Anyway
Why you Shouldnt Automated But You Will Anyway
 
Being a Tester in Scrum
Being a Tester in ScrumBeing a Tester in Scrum
Being a Tester in Scrum
 
Leveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional TestsLeveraging Visual Testing with Your Functional Tests
Leveraging Visual Testing with Your Functional Tests
 
Using Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test WorkUsing Test Trees to get an Overview of Test Work
Using Test Trees to get an Overview of Test Work
 
Big Data: The Magic to Attain New Heights
Big Data:  The Magic to Attain New HeightsBig Data:  The Magic to Attain New Heights
Big Data: The Magic to Attain New Heights
 
Will Robots Replace Testers?
Will Robots Replace Testers?Will Robots Replace Testers?
Will Robots Replace Testers?
 
TDD For The Rest Of Us
TDD For The Rest Of UsTDD For The Rest Of Us
TDD For The Rest Of Us
 
Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)Scaling Agile with LeSS (Large Scale Scrum)
Scaling Agile with LeSS (Large Scale Scrum)
 
Creating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger EnterprisesCreating Agile Test Strategies for Larger Enterprises
Creating Agile Test Strategies for Larger Enterprises
 
Is There A Risk?
Is There A Risk?Is There A Risk?
Is There A Risk?
 
Are Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test CoverageAre Your Tests Well-Travelled? Thoughts About Test Coverage
Are Your Tests Well-Travelled? Thoughts About Test Coverage
 
Growing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for TestersGrowing a Company Test Community: Roles and Paths for Testers
Growing a Company Test Community: Roles and Paths for Testers
 
Do we need testers on agile teams?
Do we need testers on agile teams?Do we need testers on agile teams?
Do we need testers on agile teams?
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 
Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey Testers & Teams on the Agile Fluency™ Journey
Testers & Teams on the Agile Fluency™ Journey
 
Practical Test Strategy Using Heuristics
Practical Test Strategy Using HeuristicsPractical Test Strategy Using Heuristics
Practical Test Strategy Using Heuristics
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your Role
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0
 

Recently uploaded

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
Data Hops
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 

Recently uploaded (20)

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 

Bert Zuurke - A Lean And Mean Approach To Model-Based Testing - EuroSTAR 2010

  • 1. W20 -A Lean And Mean Approach To Model-Based Testing Bert Zuurke LogicaNetherlands
  • 2. Presenting •I will present a method : –where the test scripts are generated from state transition diagrams –and populated with test data from an Excel spreadsheet.
  • 3. Including •Demonstrating the use of open source tools –For making state transition diagrams –For generating test scripts –For recording test results –For automating tests
  • 4. Not included •This is not a tutorial on model based testing •This is not a tutorial on how to test with state transition diagrams •This is not a demonstration of all features of all the tools
  • 5. Lean and mean •Only open source –Low costs to start with MBT •Understandable and usable by any average tester
  • 6. We all use models Hmmm… if I want to make a note than I need to start Notepad, enter my text, save it and close Notepad start Save Type text Cancel No
  • 7. A state transition diagram START State Action END State Start Startnotepad Notepadrunning Notepadrunning Type text Textentered Textentered Close window Savethe changes? Savethe changes? No Notepadnotrunning Savethe changes Cancel Textentered start Save Type text Cancel No Start Notepad
  • 8. And also depictured asSave Type text Cancel No
  • 9. How to test using state transition diagrams Test scenario’s All states All Edges Statistics: -Edge coverage -State coverage -Test cases coverage
  • 10. Where is the test data?
  • 11. Endless edges? For every test case we need an extra edge
  • 12. Why using Excel for test data? Action wordWhat to do Arguments = test data Field labels
  • 13. Use of excel Edgename Label Type Text 1 Anote for Eurostar2010 2 Anotherline 3 Lastline to type
  • 14. Putting it all togetherUse Model State Diagram for navigationUse Excel for the test data
  • 15. Add a user interface Model engineTestdata Model state diagram SOAP Request SOAP Repley Testdata Test engine •Offline mode •Online mode •Test automation OperationModes Navigation
  • 17. Demo YeDmake a transition diagram for Notepad The following sheets are placeholders for the real demonstration.
  • 19. Generate an Excel worksheet (2)
  • 21. Run and have fun!
  • 22. Automation Test Automation can be added in the same way as with keyword driven tests keywordtestdata3 testdata2 testdata1Step 1: action (enter testdata1 in field 1) Step2: action … Notepad running Text addedAdd Text Edge name testdata1 FuncAdd_text send(“A note for Eurostar2010{ENTER}”) Endfunc
  • 23. Automation (2) Per step automatione.g. Start the applicationrun("Notepad.exe") Enter textsend(“A note for Eurostar2010{ENTER}”) Close the windowWinClose("Untitled -Notepad","") Cancel “Save the changes”; click No buttonControlClick("Notepad","","[CLASS:Button; INSTANCE:2]") Do not “Save the changes”; click No buttonControlClick("Notepad","","[CLASS:Button; INSTANCE:2]") How it is done: 1.Generate an autoitscript template 2.Add programming statements for each step inside the functions 3.Compile with engine 4.Test the test
  • 24. Demo: generate the programming frameand add the statements to automate the test Switch$name case“e_Type_A” $nextaction=e_Type-A($sproc,$itestcase,$aArguments) case“e_Close” $nextaction=e_Type-A($sproc,$itestcase,$aArguments) … End switch Funca_Type_A($Proc,$testnr,$aData) ; do the action on the SUT WinWait("Untitled -Notepad","") If Not WinActive("Untitled -Notepad","") Then WinActivate("Untitled -Notepad","") WinWaitActive("Untitled -Notepad","") send() Endfunc;e_Type_A
  • 25. Run again and have more fun This page is a placeholder for the real life demo
  • 26. Extensions to the model Use of guards and expressions Edge can only be used if the condition is true: Test_entered=true Expressions can change the stateVariables: Test-entered=true Syntax: Name[guard1;guard2;]/expression1;expression2
  • 27. Run again and have more fun This page is a placeholder for the real life demo
  • 28. Summary •I have demonstrated the use of open source tools √ For making state transition diagrams √ For generating test scripts √ For recording test results √ For automating test √ Can be used for a start with Model based testing. •Commercial tools add more features •Better GUI •More input models •Data generation from class diagrams •Integration with QTP and other tools