SlideShare a Scribd company logo
1 of 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

More Related Content

More from 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
 

More from 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"
 

Recently uploaded

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
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)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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?
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

'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