SlideShare a Scribd company logo
4
Most read
6
Most read
14
Most read
Selenium4 With Cucumber
Presented by : Toshima Sharma
QA Consultant
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings,
you are requested not to join
sessions after a 5 minutes
threshold post the session start
time.
Feedback
Make sure to submit a
constructive feedback for all
sessions as it is very helpful for
the presenter.
Mute
Please keep your window on
mute.
Avoid Disturbance
Avoid leaving your window
unmuted after asking a question
Our Agenda
01 What is BDD
03
3 Amigoes
04
Advantages of BDD?
05
Cucumber Overview
Why Cucumber with Selenium and demo
02
What is BDD?
● BDD transpires from the TDD i.e. Test Driven Development which allows the
users to work with multiple test data with minimum intervention in the software
code.
● Behavior Driven Development is a software development approach that allows the
tester/business analyst to create test cases in simple text language.
● The simple language used in the scenarios helps even non-technical team
members to understand what is going on in the software project.
● Follows typical Gherkin language.
● Follows Given – When – Then Approach.
Selenium  with Cucumber
3 Amigoes
Testers Developer
Product Owner
Product Owner: Comes up with the user story with the acceptance criteria at their own
Understanding.
Testers,QA,Business Analysts: Ask Questions with some examples to get better
understanding.
Developers: Discuss the technical feasibility and challenges about the user stories.
Advantages Of BDD
● This can be used as Standard Template where all QA can stick to one common standards of
defining Test Cases
● Each Scenario reflects a Business Value.
● We can estimate the Test coverage happened for Each Business outcome by going through
Test Cases.
● We can tag these Annotations to Selenium Automation and execute the Business Testcases.
● Common Standardised Test Case template for both Manual and Automation testing.
What is Cucumber?
● Cucumber is a testing approach/tool that supports
Behaviour Driven Development (BDD). It provides a way to
write tests that anybody can understand, regardless of
their extent of technical knowledge.
● Open Source and free to use.
● Multiple language support.
● It also integrates with Selenium, Ruby on Rails, Watir, and
other web-based testing tools.
● Cucumber is the way of taking features which is the
combination of scenarios written in plain english language
using a simple grammar defined by the language called
Gherkins.
● Cucumber itself is written in Ruby but supports other
languages as java,C#,scala and many more.
● Features are shared with all the amigos involved in
development i.e developers,testers,Business analysts and
Product owner.
Different Components
Main Terminologies involved in Cucumber
Automation
● Feature “What to automate”
● Step Definition “ How To automate”
● Test Runner “ All the test cases what need to
be automated”
What is a feature file?
A Feature file describes a feature or a part of a
feature with representative examples of expected
outcomes. Cucumber uses these files to validate
some system functionality against its
specifications. Feature files are plain-text files,
ideally stored in the same version control system
as the related project.
What is a scenario?
A scenario describes a key example of the
feature. It will describe how the system
delivers value to the stakeholder. The goal of
the scenario is to clearly describe the goal
that the steps are trying to validate.
Why use Cucumber with Selenium?
● It is easy to understand the application flow.
● Acts as a bridge between the three Amigoes.
● Benefits the client to understand the application code.
● Supports multiple scripts and programming languages.
Pre-Requisities for using Cucumber
Required Dependencies
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.6</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.6</version>
<type>pom</type>
<scope>test</scope>
</dependency>
Demo
Q&A
Thank You

More Related Content

What's hot (20)

PPTX
Cucumber With Selenium
Vishwanath KC
 
PPT
Cucumber presentation
Akhila B
 
ODP
Test Automation Framework using Cucumber BDD overview (part 1)
Mindfire Solutions
 
PPT
Selenium Automation Framework
Mindfire Solutions
 
PPTX
Test Automation Framework with BDD and Cucumber
Rhoynar Software Consulting
 
PPTX
What Is Cucumber?
QATestLab
 
PPTX
Introduction to Selenium Web Driver
Return on Intelligence
 
PPTX
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
PPTX
Test Automation and Selenium
Karapet Sarkisyan
 
PPT
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
PPTX
Behavior driven development (bdd)
Rohit Bisht
 
PPTX
RESTful API Testing using Postman, Newman, and Jenkins
QASymphony
 
PPTX
Hybrid automation framework
doai tran
 
PPT
Hybrid framework
Sudhakar Mangi
 
PDF
Test Automation
rockoder
 
PPTX
test_automation_POC
Rafael Battesti
 
PDF
ATDD Using Robot Framework
Pekka Klärck
 
PPTX
Automation - web testing with selenium
Tzirla Rozental
 
PPT
Automation With A Tool Demo
Nivetha Padmanaban
 
PDF
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 
Cucumber With Selenium
Vishwanath KC
 
Cucumber presentation
Akhila B
 
Test Automation Framework using Cucumber BDD overview (part 1)
Mindfire Solutions
 
Selenium Automation Framework
Mindfire Solutions
 
Test Automation Framework with BDD and Cucumber
Rhoynar Software Consulting
 
What Is Cucumber?
QATestLab
 
Introduction to Selenium Web Driver
Return on Intelligence
 
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
Test Automation and Selenium
Karapet Sarkisyan
 
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
Behavior driven development (bdd)
Rohit Bisht
 
RESTful API Testing using Postman, Newman, and Jenkins
QASymphony
 
Hybrid automation framework
doai tran
 
Hybrid framework
Sudhakar Mangi
 
Test Automation
rockoder
 
test_automation_POC
Rafael Battesti
 
ATDD Using Robot Framework
Pekka Klärck
 
Automation - web testing with selenium
Tzirla Rozental
 
Automation With A Tool Demo
Nivetha Padmanaban
 
Test Automation Framework Design | www.idexcel.com
Idexcel Technologies
 

Similar to Selenium with Cucumber (20)

PDF
cucumber harpal.pdf
VennelaVasupilli
 
PDF
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
KMS Technology
 
PDF
BDD in Java using Cucumber
slavkurochkin
 
PDF
Cucumber tutorial
HarikaReddy115
 
PDF
Acceptance Test-driven Development with Cucumber-jvm
Christopher Bartling
 
PDF
[@NaukriEngineering] BDD implementation using Cucumber
Naukri.com
 
PPTX
BDD using Cucumber JVM
Vijay Krishnan Ramaswamy
 
PPTX
Lets cook cucumber !!
vodQA
 
PPTX
SGIN2013-ScrumStartRek-CucumberRecipes-SonikChopra
India Scrum Enthusiasts Community
 
PDF
Mastering BDD with Cucumber & Java for Test Automation
digitaljignect
 
PPTX
Bdd with Cucumber and Mocha
Atish Narlawar
 
PDF
Cucumber Selenium Tutorial | Edureka
Edureka!
 
PPTX
presentation.pptx
AMINEADIB2
 
PPTX
Cucumber_Training_ForQA
Meenakshi Singhal
 
PPTX
Smart acceptance GUI tests with Selenium
Denys Zaiats
 
PPTX
Testing with cucumber testing framework
AIMDek Technologies
 
PDF
Introducing BDD and TDD with Cucumber
Knoldus Inc.
 
PPTX
BDD / cucumber /Capybara
ShraddhaSF
 
PPTX
Digesting Cucumber Salad By Praveen Shivashankar
Agile Testing Alliance
 
PDF
Testing stage. being ahead business with cucumber
Alex Mikitenko
 
cucumber harpal.pdf
VennelaVasupilli
 
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
KMS Technology
 
BDD in Java using Cucumber
slavkurochkin
 
Cucumber tutorial
HarikaReddy115
 
Acceptance Test-driven Development with Cucumber-jvm
Christopher Bartling
 
[@NaukriEngineering] BDD implementation using Cucumber
Naukri.com
 
BDD using Cucumber JVM
Vijay Krishnan Ramaswamy
 
Lets cook cucumber !!
vodQA
 
SGIN2013-ScrumStartRek-CucumberRecipes-SonikChopra
India Scrum Enthusiasts Community
 
Mastering BDD with Cucumber & Java for Test Automation
digitaljignect
 
Bdd with Cucumber and Mocha
Atish Narlawar
 
Cucumber Selenium Tutorial | Edureka
Edureka!
 
presentation.pptx
AMINEADIB2
 
Cucumber_Training_ForQA
Meenakshi Singhal
 
Smart acceptance GUI tests with Selenium
Denys Zaiats
 
Testing with cucumber testing framework
AIMDek Technologies
 
Introducing BDD and TDD with Cucumber
Knoldus Inc.
 
BDD / cucumber /Capybara
ShraddhaSF
 
Digesting Cucumber Salad By Praveen Shivashankar
Agile Testing Alliance
 
Testing stage. being ahead business with cucumber
Alex Mikitenko
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Ad

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
July Patch Tuesday
Ivanti
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 

Selenium with Cucumber

  • 1. Selenium4 With Cucumber Presented by : Toshima Sharma QA Consultant
  • 2. Lack of etiquette and manners is a huge turn off. KnolX Etiquettes Punctuality Respect Knolx session timings, you are requested not to join sessions after a 5 minutes threshold post the session start time. Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Mute Please keep your window on mute. Avoid Disturbance Avoid leaving your window unmuted after asking a question
  • 3. Our Agenda 01 What is BDD 03 3 Amigoes 04 Advantages of BDD? 05 Cucumber Overview Why Cucumber with Selenium and demo 02
  • 4. What is BDD? ● BDD transpires from the TDD i.e. Test Driven Development which allows the users to work with multiple test data with minimum intervention in the software code. ● Behavior Driven Development is a software development approach that allows the tester/business analyst to create test cases in simple text language. ● The simple language used in the scenarios helps even non-technical team members to understand what is going on in the software project. ● Follows typical Gherkin language. ● Follows Given – When – Then Approach.
  • 6. 3 Amigoes Testers Developer Product Owner Product Owner: Comes up with the user story with the acceptance criteria at their own Understanding. Testers,QA,Business Analysts: Ask Questions with some examples to get better understanding. Developers: Discuss the technical feasibility and challenges about the user stories.
  • 7. Advantages Of BDD ● This can be used as Standard Template where all QA can stick to one common standards of defining Test Cases ● Each Scenario reflects a Business Value. ● We can estimate the Test coverage happened for Each Business outcome by going through Test Cases. ● We can tag these Annotations to Selenium Automation and execute the Business Testcases. ● Common Standardised Test Case template for both Manual and Automation testing.
  • 8. What is Cucumber? ● Cucumber is a testing approach/tool that supports Behaviour Driven Development (BDD). It provides a way to write tests that anybody can understand, regardless of their extent of technical knowledge. ● Open Source and free to use. ● Multiple language support. ● It also integrates with Selenium, Ruby on Rails, Watir, and other web-based testing tools.
  • 9. ● Cucumber is the way of taking features which is the combination of scenarios written in plain english language using a simple grammar defined by the language called Gherkins. ● Cucumber itself is written in Ruby but supports other languages as java,C#,scala and many more. ● Features are shared with all the amigos involved in development i.e developers,testers,Business analysts and Product owner.
  • 11. Main Terminologies involved in Cucumber Automation ● Feature “What to automate” ● Step Definition “ How To automate” ● Test Runner “ All the test cases what need to be automated”
  • 12. What is a feature file? A Feature file describes a feature or a part of a feature with representative examples of expected outcomes. Cucumber uses these files to validate some system functionality against its specifications. Feature files are plain-text files, ideally stored in the same version control system as the related project.
  • 13. What is a scenario? A scenario describes a key example of the feature. It will describe how the system delivers value to the stakeholder. The goal of the scenario is to clearly describe the goal that the steps are trying to validate.
  • 14. Why use Cucumber with Selenium? ● It is easy to understand the application flow. ● Acts as a bridge between the three Amigoes. ● Benefits the client to understand the application code. ● Supports multiple scripts and programming languages.
  • 17. Demo
  • 18. Q&A