SlideShare a Scribd company logo
Popping the Gherkin Stack




                           Ayan Dave
          Terry Wiegmann, CBAP, CSQE
February 16, 2012 – Today / Terry


• What is/are gherkin(s)?
• Examples of gherkins
• Reports after execution
• Screen shot captured for each click
• Executed within the Iteration
• Discussed at retrospectives
Sample gherkins
• Goal Level:
   – Given that I am a Teacher
   – When I have students in my Classes
   – Then I should be able to see the same ConnectED content
     my Students see
•
• Task Level:
   – Given that I have created a class and have added students
     to it
   – When I open the book for that class
   – Then I should be able to access the same
   – Newsfeed that Student see
Screenshots
February 16, 2012 – Today / Ayan

• Technologies used
   • Java, Maven
   • WebDriver, Cuke4Duke
   • gherkin-salad – my pet project
• Automation using three browsers
   • Chrome, FireFox, IE
• Automation in three environments
   • DEV, QA, UAT
Flashback: October 10, 2011/Terry


          • New team, new client site, new project
          • Terry BA and QA: Ayan Lead Developer
          • App, Browsers, System Environments
          • Client Environment
          • Pooled past experiences
          • Challenges for agile teams, blending roles
Flashback: October 10, 2011/Ayan

          • Challenges as a Developer
          • Use gherkins
             • Gherkins as a shared language
             • Possibility of Automation
          • But no automation at this point
             • To allow the team to ride the learning /
                adopting curve
Flashback: October 10, 2011/Terry


          • Use gherkins to capture
            requirements, acceptance tests
          • Use gherkins to form test plans
          • Write gherkins at the start of development
Flashback: October 10, 2011 / Ayan

          • Execute gherkins before the development
            ends
          • Definition of Done - Before the developer
            calls a feature “done” the developer, QA and
            BA would get together and manually run
            through the gherkins
          • Code Reviews are also done
• 2 iterations, 0 defects
                                                           • Scenarios walked
                                                             through at the end of
Flashback: November 14, 2011 /Terry




                                                             development with BA


                                      After 2 iterations
                                                             and Tester
                                                           • First version of
                                                             “gherkins”
Initial Version of our gherkins / Terry

• Rolling Scenarios
• Action Level gherkins
• Data Preparation Scenarios
• Task and Action Level
                                                            gherkins
                                                          • Action levels are good
Flashback: November 10, 2011 /Ayan




                                                            for certain audiences –


                                     After 2 iterations
                                                            Help
                                                            Desk, Writers, Newbies
                                                          • Ready to try Task Level
                                                            Gherkins
Task Level gherkins / Ayan

• Less element level interactions
• Every task level instruction may translate to
  multiple action level instructions
• Used gherkins in show
                                                             and tell, business and
                                                             client is intrigued
                                                           • Questions came up that
                                                             how is this different
Flashback: November 10, 2011 /Terry




                                                             from QTP?

                                      After 2 iterations
                                                           • No License :)
                                                           • Accessible to everyone
                                                           • Need Automation
                                                           • Traceability to
                                                             requirements in JIRA
Traceability

• Adding the requirement ID in the feature and
  scenario text
• Can write groovy script to
                                                             create reports around
                                                             traceability
                                                          • Want to do automation in all
                                                             environments, all browsers
Flashback: November 10, 2011 /Ayan




                                                          • Would do only Firefox and DEV



                                     After 2 iterations
                                                             environment for next 2
                                                             iterations
                                                          • With Task Level gherkins we
                                                             would write code at action
                                                             level
January 2, 2012 - Happy New Year!
After 2 iterations & Nice Holiday Season




• We had more task level gherkins
• Gherkins and automation organized in SVN
• Found a Notepad++ plugin to assist in writing gherkins
SVN Structure
January 2, 2012 - Happy New Year!
  After 2 iterations & Nice Holiday Season




• Captured page structure
   information, Role, Component, Element
• @manual features
• @wip features
• Want to do more automation in 3 browsers, 3 environments
• Created Execution Plans
• Created Data File
Page Structure (one per application)
Data File (for each environment)
Execution Plan (one per environment)
Automated Step
Automated Step
February 16, 2012 – Back to Today, After 2 Iterations


• Here we have a process with 0 defects, well
  running and adapted to
   • A running process
   • Running in 3 browsers
   • Running in 3 environments
   • Scheduled run at 6 in evening
February 16, 2012 – Back to Today, After 2 Iterations


• Added the following features
   • Capturing screenshots
   • Archiving the results
   • Specific browser usage
What Do We Jump Over next?




• Capture scenarios as we are talking to
  business and run it by them, if possible
• Involve client Testing/QA team in our
  processes
• Ensuring scenario and test coverage
• Ensuring complementary scenarios
What Do We Jump Over next?




• Support for ipad?
• Simplify the maintenance of gherkins including
  execution plan, page structure and data file
• Automatic conversion of Task Level gherkins to
  Action Level Gherkins?
• Automatically generating gherkins from
  models?
Credits




All of this is not something that we could have
done by ourselves. It is a team effort.
• Development Team: Chai Thatipamula, Sakshi
  Vaghela, Pallavi Jain
• Project Manager: Demetrius Jackson
• Team at the Client Location
Contact




• Ayan Dave
   •   @daveayan
   •   http://projects.daveayan.com
   •   http://daveayan.com

• Terry Wiegmann, CBAP, CSQE
   •   @twieg
   •   twiegmann@quicksolutions.com
03/2012 - Popping the gherkin stack

More Related Content

Viewers also liked

Plone Gov Brings Os To Public Sector
Plone Gov Brings Os To Public SectorPlone Gov Brings Os To Public Sector
Plone Gov Brings Os To Public Sector
virginiachoy
 
Chen's first test slides
Chen's first test slidesChen's first test slides
Chen's first test slidesHima Challa
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!Hima Challa
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!Hima Challa
 
Charlie Talk - Mulesource (Crowd)
Charlie Talk - Mulesource (Crowd)Charlie Talk - Mulesource (Crowd)
Charlie Talk - Mulesource (Crowd)
Atlassian
 
04/2010 - Google App Engine
04/2010 - Google App Engine04/2010 - Google App Engine
04/2010 - Google App Enginedaveayan
 
Chen's second test slides
Chen's second test slidesChen's second test slides
Chen's second test slidesHima Challa
 
Wpd09 Sydney
Wpd09 SydneyWpd09 Sydney
Wpd09 Sydney
virginiachoy
 
05/2012 - Automating testing in the iteration
05/2012 - Automating testing in the iteration05/2012 - Automating testing in the iteration
05/2012 - Automating testing in the iterationdaveayan
 

Viewers also liked (9)

Plone Gov Brings Os To Public Sector
Plone Gov Brings Os To Public SectorPlone Gov Brings Os To Public Sector
Plone Gov Brings Os To Public Sector
 
Chen's first test slides
Chen's first test slidesChen's first test slides
Chen's first test slides
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Charlie Talk - Mulesource (Crowd)
Charlie Talk - Mulesource (Crowd)Charlie Talk - Mulesource (Crowd)
Charlie Talk - Mulesource (Crowd)
 
04/2010 - Google App Engine
04/2010 - Google App Engine04/2010 - Google App Engine
04/2010 - Google App Engine
 
Chen's second test slides
Chen's second test slidesChen's second test slides
Chen's second test slides
 
Wpd09 Sydney
Wpd09 SydneyWpd09 Sydney
Wpd09 Sydney
 
05/2012 - Automating testing in the iteration
05/2012 - Automating testing in the iteration05/2012 - Automating testing in the iteration
05/2012 - Automating testing in the iteration
 

Similar to 03/2012 - Popping the gherkin stack

20110903 candycane
20110903 candycane20110903 candycane
20110903 candycaneYusuke Ando
 
Rationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinetRationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinetParis Open Source Summit
 
Deploying your SaaS stack OnPrem
Deploying your SaaS stack OnPremDeploying your SaaS stack OnPrem
Deploying your SaaS stack OnPrem
Kris Buytaert
 
Scaling Kanban in the Enterprise with GreenHopper
Scaling Kanban in the Enterprise with GreenHopperScaling Kanban in the Enterprise with GreenHopper
Scaling Kanban in the Enterprise with GreenHopper
David Jellison
 
Shirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defectShirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defectAgileSparks
 
Erlang factory SF 2011 "Erlang and the big switch in social games"
Erlang factory SF 2011 "Erlang and the big switch in social games"Erlang factory SF 2011 "Erlang and the big switch in social games"
Erlang factory SF 2011 "Erlang and the big switch in social games"
Paolo Negri
 
Erlang, the big switch in social games
Erlang, the big switch in social gamesErlang, the big switch in social games
Erlang, the big switch in social games
Wooga
 
Continuous Delivery Overview
Continuous Delivery OverviewContinuous Delivery Overview
Continuous Delivery Overview
Will Iverson
 
Devops at Startup Weekend BXL
Devops at Startup Weekend BXLDevops at Startup Weekend BXL
Devops at Startup Weekend BXL
Kris Buytaert
 
Software Testing with Agile Requirements Practices
Software Testing with Agile Requirements Practices Software Testing with Agile Requirements Practices
Software Testing with Agile Requirements Practices A B M Moniruzzaman
 
Angular 2 overview
Angular 2 overviewAngular 2 overview
Angular 2 overview
Jesse Warden
 
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Michael Lihs
 
Devopsdays se-2011
Devopsdays se-2011Devopsdays se-2011
Devopsdays se-2011lusis
 
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source ToolsTYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
Michael Lihs
 
CI doesn’t start with Jenkins
CI doesn’t start with JenkinsCI doesn’t start with Jenkins
CI doesn’t start with Jenkins
Yuriy Rochnyak
 
Future of Sysadmin 2014
Future of Sysadmin 2014Future of Sysadmin 2014
Future of Sysadmin 2014
Kris Buytaert
 
Novedades Denali Integration Services
Novedades Denali Integration ServicesNovedades Denali Integration Services
Novedades Denali Integration Services
SolidQ
 
Devops Devops Devops, at Froscon
Devops Devops Devops, at FrosconDevops Devops Devops, at Froscon
Devops Devops Devops, at Froscon
Kris Buytaert
 
Devops For Drupal
Devops  For DrupalDevops  For Drupal
Devops For Drupal
Kris Buytaert
 
Cucumber
CucumberCucumber
Cucumber
Bachue Zhou
 

Similar to 03/2012 - Popping the gherkin stack (20)

20110903 candycane
20110903 candycane20110903 candycane
20110903 candycane
 
Rationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinetRationalize Android Development with StAnD - Clement Escoffier, akquinet
Rationalize Android Development with StAnD - Clement Escoffier, akquinet
 
Deploying your SaaS stack OnPrem
Deploying your SaaS stack OnPremDeploying your SaaS stack OnPrem
Deploying your SaaS stack OnPrem
 
Scaling Kanban in the Enterprise with GreenHopper
Scaling Kanban in the Enterprise with GreenHopperScaling Kanban in the Enterprise with GreenHopper
Scaling Kanban in the Enterprise with GreenHopper
 
Shirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defectShirly Ronen - Documenting an agile defect
Shirly Ronen - Documenting an agile defect
 
Erlang factory SF 2011 "Erlang and the big switch in social games"
Erlang factory SF 2011 "Erlang and the big switch in social games"Erlang factory SF 2011 "Erlang and the big switch in social games"
Erlang factory SF 2011 "Erlang and the big switch in social games"
 
Erlang, the big switch in social games
Erlang, the big switch in social gamesErlang, the big switch in social games
Erlang, the big switch in social games
 
Continuous Delivery Overview
Continuous Delivery OverviewContinuous Delivery Overview
Continuous Delivery Overview
 
Devops at Startup Weekend BXL
Devops at Startup Weekend BXLDevops at Startup Weekend BXL
Devops at Startup Weekend BXL
 
Software Testing with Agile Requirements Practices
Software Testing with Agile Requirements Practices Software Testing with Agile Requirements Practices
Software Testing with Agile Requirements Practices
 
Angular 2 overview
Angular 2 overviewAngular 2 overview
Angular 2 overview
 
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
Continuous Integration with Open Source Tools - PHPUgFfm 2014-11-20
 
Devopsdays se-2011
Devopsdays se-2011Devopsdays se-2011
Devopsdays se-2011
 
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source ToolsTYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
TYPO3 Camp Stuttgart 2015 - Continuous Delivery with Open Source Tools
 
CI doesn’t start with Jenkins
CI doesn’t start with JenkinsCI doesn’t start with Jenkins
CI doesn’t start with Jenkins
 
Future of Sysadmin 2014
Future of Sysadmin 2014Future of Sysadmin 2014
Future of Sysadmin 2014
 
Novedades Denali Integration Services
Novedades Denali Integration ServicesNovedades Denali Integration Services
Novedades Denali Integration Services
 
Devops Devops Devops, at Froscon
Devops Devops Devops, at FrosconDevops Devops Devops, at Froscon
Devops Devops Devops, at Froscon
 
Devops For Drupal
Devops  For DrupalDevops  For Drupal
Devops For Drupal
 
Cucumber
CucumberCucumber
Cucumber
 

Recently uploaded

LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 

Recently uploaded (20)

LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 

03/2012 - Popping the gherkin stack

  • 1. Popping the Gherkin Stack Ayan Dave Terry Wiegmann, CBAP, CSQE
  • 2. February 16, 2012 – Today / Terry • What is/are gherkin(s)? • Examples of gherkins • Reports after execution • Screen shot captured for each click • Executed within the Iteration • Discussed at retrospectives
  • 3. Sample gherkins • Goal Level: – Given that I am a Teacher – When I have students in my Classes – Then I should be able to see the same ConnectED content my Students see • • Task Level: – Given that I have created a class and have added students to it – When I open the book for that class – Then I should be able to access the same – Newsfeed that Student see
  • 5.
  • 6. February 16, 2012 – Today / Ayan • Technologies used • Java, Maven • WebDriver, Cuke4Duke • gherkin-salad – my pet project • Automation using three browsers • Chrome, FireFox, IE • Automation in three environments • DEV, QA, UAT
  • 7.
  • 8. Flashback: October 10, 2011/Terry • New team, new client site, new project • Terry BA and QA: Ayan Lead Developer • App, Browsers, System Environments • Client Environment • Pooled past experiences • Challenges for agile teams, blending roles
  • 9. Flashback: October 10, 2011/Ayan • Challenges as a Developer • Use gherkins • Gherkins as a shared language • Possibility of Automation • But no automation at this point • To allow the team to ride the learning / adopting curve
  • 10. Flashback: October 10, 2011/Terry • Use gherkins to capture requirements, acceptance tests • Use gherkins to form test plans • Write gherkins at the start of development
  • 11. Flashback: October 10, 2011 / Ayan • Execute gherkins before the development ends • Definition of Done - Before the developer calls a feature “done” the developer, QA and BA would get together and manually run through the gherkins • Code Reviews are also done
  • 12. • 2 iterations, 0 defects • Scenarios walked through at the end of Flashback: November 14, 2011 /Terry development with BA After 2 iterations and Tester • First version of “gherkins”
  • 13. Initial Version of our gherkins / Terry • Rolling Scenarios • Action Level gherkins • Data Preparation Scenarios
  • 14. • Task and Action Level gherkins • Action levels are good Flashback: November 10, 2011 /Ayan for certain audiences – After 2 iterations Help Desk, Writers, Newbies • Ready to try Task Level Gherkins
  • 15. Task Level gherkins / Ayan • Less element level interactions • Every task level instruction may translate to multiple action level instructions
  • 16. • Used gherkins in show and tell, business and client is intrigued • Questions came up that how is this different Flashback: November 10, 2011 /Terry from QTP? After 2 iterations • No License :) • Accessible to everyone • Need Automation • Traceability to requirements in JIRA
  • 17. Traceability • Adding the requirement ID in the feature and scenario text
  • 18. • Can write groovy script to create reports around traceability • Want to do automation in all environments, all browsers Flashback: November 10, 2011 /Ayan • Would do only Firefox and DEV After 2 iterations environment for next 2 iterations • With Task Level gherkins we would write code at action level
  • 19. January 2, 2012 - Happy New Year! After 2 iterations & Nice Holiday Season • We had more task level gherkins • Gherkins and automation organized in SVN • Found a Notepad++ plugin to assist in writing gherkins
  • 21. January 2, 2012 - Happy New Year! After 2 iterations & Nice Holiday Season • Captured page structure information, Role, Component, Element • @manual features • @wip features • Want to do more automation in 3 browsers, 3 environments • Created Execution Plans • Created Data File
  • 22. Page Structure (one per application)
  • 23. Data File (for each environment)
  • 24. Execution Plan (one per environment)
  • 27. February 16, 2012 – Back to Today, After 2 Iterations • Here we have a process with 0 defects, well running and adapted to • A running process • Running in 3 browsers • Running in 3 environments • Scheduled run at 6 in evening
  • 28. February 16, 2012 – Back to Today, After 2 Iterations • Added the following features • Capturing screenshots • Archiving the results • Specific browser usage
  • 29. What Do We Jump Over next? • Capture scenarios as we are talking to business and run it by them, if possible • Involve client Testing/QA team in our processes • Ensuring scenario and test coverage • Ensuring complementary scenarios
  • 30. What Do We Jump Over next? • Support for ipad? • Simplify the maintenance of gherkins including execution plan, page structure and data file • Automatic conversion of Task Level gherkins to Action Level Gherkins? • Automatically generating gherkins from models?
  • 31. Credits All of this is not something that we could have done by ourselves. It is a team effort. • Development Team: Chai Thatipamula, Sakshi Vaghela, Pallavi Jain • Project Manager: Demetrius Jackson • Team at the Client Location
  • 32. Contact • Ayan Dave • @daveayan • http://projects.daveayan.com • http://daveayan.com • Terry Wiegmann, CBAP, CSQE • @twieg • twiegmann@quicksolutions.com