SlideShare ist ein Scribd-Unternehmen logo
1 von 25
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
© Christian Nørlyng and PrettyGoodTesting®
By Christian Nørlyng
Raising The Quality Bar In Agile Teams
By means Of Early Test Automation
1
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Who am I?
Test Automation Lead at PrettyGoodTesting
ISTQB certified Test Analyst (adv. level)
9+ years of test experience from
• Small & Large Teams
• Agile & Waterfall Projects
• Medical – Directory – Telecom – Defense – Maritime
2
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Agenda
• Mission and Bugs
• Goals, Context and Features for automation
• Structural Test Patterns
• Thinking Automation
• Modeling for Data and more
3
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Most Important Mission
"Increase management
confidence in the product."
4
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Automation and bugs
Test Automation is looking for
Defects found during regression testing
5
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Setting realistic goals
• Rules of thumb are difficult to apply
• Conduct a small pilot project
• Less than a month in duration
• After creating “just enough” infrastructure,
track time to automate each feature
• Compare time to manual testing
• Use these data for subsequent test projects
• Continue to update data
• Automation will become more efficient
after the first few projects
6
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Getting the Context
”Features”
”Trade off’s”
”Possibilities”
”Context”
Starting with the
intersection!
7
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Picking the first features
”Wants”
”Seems Quick”
”Musts Haves”
”Planned/
Implemented
Features”
Starting with the
intersection!
8
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Good Automation Candidates
• Short or simple transactions
• Many data combinations
• Expected results are stable
or easy to generate at runtime
• Tests that are executed regularly
• Tasks that are difficult to do manually
• Highest priority features
9
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Poor Automation CandidatesPoor Automation Candidates
• Long or complex transactions
• One-offs
• Unstable or difficult to predict results
• Tests that works across multiple applications
10
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Analysing the ”User Action”
Patterns Under Test
• Breaking down the test cases and
system under test into keywords
• Each keyword should represent
a ”unique” set of actions to the system
11
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Designing Good Test Cases
• Test cases should have a single objective
• Test cases should result in one of two
dispositions: PASS or FAIL
• Test cases should be independent
• No test case should rely on
the successful completion of another test
• Test cases must start and stop
at a known state
12
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
What is ”Structural Test Patterns”?
• A break down method both for supporting
• KeyWords, ActionWords or Primitives
• Can be used for manual
and automated testing
• Can relate manual
and automated testing
• Can ease maintenance of manual
and automated testware
13
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
The Principle in short
• By thinking from the bottom up the support
for automation is enabled from the test
design.
• By breaking down the users behaviour into
patterns, the test procedures be simplified.
14
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Think Automation
How and what
to automate
Analyzed
GUI/MMI
ActionWords
Structuring
Test Conditions
Domain
knowlegde
Test Design
Structure
Requirements
Modular mindset, during
analyzis and Test design
Test Conditions suitable for automation
Traceable
identification
15
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
KeyWord Classification
Navigation
Go from A to B (Start to adjust Time)
Action
Input to system (Set Time)
Verification
The object of the test (Vary Time set)
16
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Work Process Description
Requirements
Test Design
Tests using Keywords
AutomatedManual
Modular mindset
during test design
Review
Review
17
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Products of Module Based Test Design
Traditional
Sequential
TestCases
A pseudo test case broken down into ActionWords,
each KeyWord is unique to the SUT (Software Under Test)
KW 6
KW 5
KW 4
KW 3
KW 2
KW 1 KW = KeyWord
18
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
KW 7
KW 6
KW 3
KW 2.1
KW 1
KW 7
KW 5.1
KW 4
KW 3
KW 2.2
KW 1
KW 7
KW 5.2
KW 4
KW 3
KW 2.3
KW 1
1
2.1 2.2 2.3
3
6 4
5.1
7Saving above 50% of work in just this example.
5.2
KW = KeyWord
An Advantage
19
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Why does this work?
• During test analysis, try to break down each
TestCase into unique and identifiable user
action sequences
• A unique sequence, is not to exist elsewhere
• (stick to this…)
• The sequences are to be reused and combined
in any order, representing complete user actions
• Everything implemented is the right
context of the automation project
20
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Summary of test design
• Cooperation between Test Designer, Manual Test
Team and Automation Test Team reduces effort, by:
- Thinking Automation First
- Reusing Test Documentation/KeyWords
• KeyWords (aka ActionWords, Modules etc.):
- Promotes flexible & easy maintainable Test Suites
• Exploratory Testing and Model Based Testing
...still to be carried out (not a stand-alone thing)!
21
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Where to go from here!
• Data Drive the Test
Use:
Parameters for the Keywords
Keywords as Data
Use Test Techniques and Test
Generation Tools for modelling!
Ex. Decision Tables,
Classification Trees or State Machine Graphing
22
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
5.2
6
2.1 2.32.3
7
5.25.1
6 4
3
2.2 2.32.1
11
2.1 2.2 2.3
3
6 4
5.1
7
5.2
Simplified Example
23
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Remove the abstraction
• Models can even be
made
in a spread sheet!
• MS Excel (e.g.) can
often
be used as a data source
• Designing test can now
be
done from outside the
test automation tool!!
KeyWord
Parameter
Set
Test 1
KW1 KW1_P1
KW2.2 KW2_P1
KW3 KW3_P1
KW4 KW4_P1
KW5.1 KW5_P1
KW7 KW7_P1
Test 2
KW1 KW1_P1
KW2.2 KW2_P2
KW3 KW3_P1
KW4 KW4_P1
KW5.1 KW5_P1
KW7 KW7_P1
Test 3
KW1 KW1_P1
KW2.2 KW2_P3
KW3 KW3_P1
KW4 KW4_P1
KW5.1 KW5_P1
KW7 KW7_P1
24
EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation
Questions and Comments
Please feel free to contact me!
Christian Nørlyng
Test Automation Lead
Mob: (+45) 3163 0203
CHNO@PrettyGoodTesting.com
http://www.PrettyGoodTesting.com
© Christian Nørlyng and PrettyGoodTesting®
25

Weitere ähnliche Inhalte

Mehr von 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 ScrumTEST 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 TestsTEST 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 WorkTEST 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 HeightsTEST 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 UsTEST 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
 
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 CoverageTEST Huddle
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfullyTEST 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
 
Thinking Through Your Role
Thinking Through Your RoleThinking Through Your Role
Thinking Through Your RoleTEST Huddle
 
Using Selenium 3 0
Using Selenium 3 0Using Selenium 3 0
Using Selenium 3 0TEST Huddle
 
New Model Testing: A New Test Process and Tool
New Model Testing:  A New Test Process and ToolNew Model Testing:  A New Test Process and Tool
New Model Testing: A New Test Process and ToolTEST Huddle
 
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk... Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...TEST Huddle
 
Can virtualization transform your API lifecycle?
Can virtualization transform your API lifecycle?Can virtualization transform your API lifecycle?
Can virtualization transform your API lifecycle?TEST Huddle
 
The world class webinar series
The world class webinar seriesThe world class webinar series
The world class webinar seriesTEST Huddle
 
Scrum in Hardware
Scrum in HardwareScrum in Hardware
Scrum in HardwareTEST Huddle
 
How to get Automated Testing "Done"
How to get Automated Testing "Done"How to get Automated Testing "Done"
How to get Automated Testing "Done"TEST Huddle
 

Mehr von TEST Huddle (20)

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)
 
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
 
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
 
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
 
New Model Testing: A New Test Process and Tool
New Model Testing:  A New Test Process and ToolNew Model Testing:  A New Test Process and Tool
New Model Testing: A New Test Process and Tool
 
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk... Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
Five Digital Age Trends That Will Dramatically Impact Testing And Quality Sk...
 
Can virtualization transform your API lifecycle?
Can virtualization transform your API lifecycle?Can virtualization transform your API lifecycle?
Can virtualization transform your API lifecycle?
 
The world class webinar series
The world class webinar seriesThe world class webinar series
The world class webinar series
 
Scrum in Hardware
Scrum in HardwareScrum in Hardware
Scrum in Hardware
 
How to get Automated Testing "Done"
How to get Automated Testing "Done"How to get Automated Testing "Done"
How to get Automated Testing "Done"
 

Kürzlich hochgeladen

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

'Raising the Quality Bar In Agile Teams By Means Of “Early” Test Automation' by Christian Nørlyng

  • 1. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation © Christian Nørlyng and PrettyGoodTesting® By Christian Nørlyng Raising The Quality Bar In Agile Teams By means Of Early Test Automation 1
  • 2. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Who am I? Test Automation Lead at PrettyGoodTesting ISTQB certified Test Analyst (adv. level) 9+ years of test experience from • Small & Large Teams • Agile & Waterfall Projects • Medical – Directory – Telecom – Defense – Maritime 2
  • 3. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Agenda • Mission and Bugs • Goals, Context and Features for automation • Structural Test Patterns • Thinking Automation • Modeling for Data and more 3
  • 4. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Most Important Mission "Increase management confidence in the product." 4
  • 5. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Automation and bugs Test Automation is looking for Defects found during regression testing 5
  • 6. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Setting realistic goals • Rules of thumb are difficult to apply • Conduct a small pilot project • Less than a month in duration • After creating “just enough” infrastructure, track time to automate each feature • Compare time to manual testing • Use these data for subsequent test projects • Continue to update data • Automation will become more efficient after the first few projects 6
  • 7. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Getting the Context ”Features” ”Trade off’s” ”Possibilities” ”Context” Starting with the intersection! 7
  • 8. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Picking the first features ”Wants” ”Seems Quick” ”Musts Haves” ”Planned/ Implemented Features” Starting with the intersection! 8
  • 9. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Good Automation Candidates • Short or simple transactions • Many data combinations • Expected results are stable or easy to generate at runtime • Tests that are executed regularly • Tasks that are difficult to do manually • Highest priority features 9
  • 10. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Poor Automation CandidatesPoor Automation Candidates • Long or complex transactions • One-offs • Unstable or difficult to predict results • Tests that works across multiple applications 10
  • 11. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Analysing the ”User Action” Patterns Under Test • Breaking down the test cases and system under test into keywords • Each keyword should represent a ”unique” set of actions to the system 11
  • 12. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Designing Good Test Cases • Test cases should have a single objective • Test cases should result in one of two dispositions: PASS or FAIL • Test cases should be independent • No test case should rely on the successful completion of another test • Test cases must start and stop at a known state 12
  • 13. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation What is ”Structural Test Patterns”? • A break down method both for supporting • KeyWords, ActionWords or Primitives • Can be used for manual and automated testing • Can relate manual and automated testing • Can ease maintenance of manual and automated testware 13
  • 14. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation The Principle in short • By thinking from the bottom up the support for automation is enabled from the test design. • By breaking down the users behaviour into patterns, the test procedures be simplified. 14
  • 15. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Think Automation How and what to automate Analyzed GUI/MMI ActionWords Structuring Test Conditions Domain knowlegde Test Design Structure Requirements Modular mindset, during analyzis and Test design Test Conditions suitable for automation Traceable identification 15
  • 16. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation KeyWord Classification Navigation Go from A to B (Start to adjust Time) Action Input to system (Set Time) Verification The object of the test (Vary Time set) 16
  • 17. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Work Process Description Requirements Test Design Tests using Keywords AutomatedManual Modular mindset during test design Review Review 17
  • 18. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Products of Module Based Test Design Traditional Sequential TestCases A pseudo test case broken down into ActionWords, each KeyWord is unique to the SUT (Software Under Test) KW 6 KW 5 KW 4 KW 3 KW 2 KW 1 KW = KeyWord 18
  • 19. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation KW 7 KW 6 KW 3 KW 2.1 KW 1 KW 7 KW 5.1 KW 4 KW 3 KW 2.2 KW 1 KW 7 KW 5.2 KW 4 KW 3 KW 2.3 KW 1 1 2.1 2.2 2.3 3 6 4 5.1 7Saving above 50% of work in just this example. 5.2 KW = KeyWord An Advantage 19
  • 20. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Why does this work? • During test analysis, try to break down each TestCase into unique and identifiable user action sequences • A unique sequence, is not to exist elsewhere • (stick to this…) • The sequences are to be reused and combined in any order, representing complete user actions • Everything implemented is the right context of the automation project 20
  • 21. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Summary of test design • Cooperation between Test Designer, Manual Test Team and Automation Test Team reduces effort, by: - Thinking Automation First - Reusing Test Documentation/KeyWords • KeyWords (aka ActionWords, Modules etc.): - Promotes flexible & easy maintainable Test Suites • Exploratory Testing and Model Based Testing ...still to be carried out (not a stand-alone thing)! 21
  • 22. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Where to go from here! • Data Drive the Test Use: Parameters for the Keywords Keywords as Data Use Test Techniques and Test Generation Tools for modelling! Ex. Decision Tables, Classification Trees or State Machine Graphing 22
  • 23. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation 5.2 6 2.1 2.32.3 7 5.25.1 6 4 3 2.2 2.32.1 11 2.1 2.2 2.3 3 6 4 5.1 7 5.2 Simplified Example 23
  • 24. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Remove the abstraction • Models can even be made in a spread sheet! • MS Excel (e.g.) can often be used as a data source • Designing test can now be done from outside the test automation tool!! KeyWord Parameter Set Test 1 KW1 KW1_P1 KW2.2 KW2_P1 KW3 KW3_P1 KW4 KW4_P1 KW5.1 KW5_P1 KW7 KW7_P1 Test 2 KW1 KW1_P1 KW2.2 KW2_P2 KW3 KW3_P1 KW4 KW4_P1 KW5.1 KW5_P1 KW7 KW7_P1 Test 3 KW1 KW1_P1 KW2.2 KW2_P3 KW3 KW3_P1 KW4 KW4_P1 KW5.1 KW5_P1 KW7 KW7_P1 24
  • 25. EuroSTAR 2011 : T6 : Raising The Quality Bar In Agile Teams By Means Of Early Test Automation Questions and Comments Please feel free to contact me! Christian Nørlyng Test Automation Lead Mob: (+45) 3163 0203 CHNO@PrettyGoodTesting.com http://www.PrettyGoodTesting.com © Christian Nørlyng and PrettyGoodTesting® 25