4
Most read
6
Most read
8
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

PDF
Cucumber ppt
PPSX
Cucumber & gherkin language
ODP
BDD with Cucumber
PPTX
Cucumber BDD
PPTX
Automated Test Framework with Cucumber
PPTX
Introduction to Bdd and cucumber
PPTX
Automation test framework with cucumber – BDD
Cucumber ppt
Cucumber & gherkin language
BDD with Cucumber
Cucumber BDD
Automated Test Framework with Cucumber
Introduction to Bdd and cucumber
Automation test framework with cucumber – BDD

What's hot (20)

PPTX
Test Automation Framework with BDD and Cucumber
PDF
BDD & Cucumber
PPT
Selenium Automation Framework
PDF
Automation Testing using Selenium
PPT
Test automation process
PPTX
BDD WITH CUCUMBER AND JAVA
PPTX
Behavior driven development (bdd)
PPTX
Bdd – with cucumber and gherkin
PPT
Agile QA presentation
ODP
Test Automation Framework using Cucumber BDD overview (part 1)
PPTX
Katalon Studio Presentation.pptx
PPT
Testing in Agile Projects
PPTX
Chapter 6 - Tool Support for Testing
PPTX
Cucumber presenation
PPTX
Test automation
ODP
Why Katalon Studio?
PDF
Bdd Introduction
PPTX
Cucumber With Selenium
PPT
Agile QA and Testing process
PPT
Test Automation Framework Designs
Test Automation Framework with BDD and Cucumber
BDD & Cucumber
Selenium Automation Framework
Automation Testing using Selenium
Test automation process
BDD WITH CUCUMBER AND JAVA
Behavior driven development (bdd)
Bdd – with cucumber and gherkin
Agile QA presentation
Test Automation Framework using Cucumber BDD overview (part 1)
Katalon Studio Presentation.pptx
Testing in Agile Projects
Chapter 6 - Tool Support for Testing
Cucumber presenation
Test automation
Why Katalon Studio?
Bdd Introduction
Cucumber With Selenium
Agile QA and Testing process
Test Automation Framework Designs
Ad

Similar to Selenium with Cucumber (20)

PDF
cucumber harpal.pdf
PDF
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
PDF
BDD in Java using Cucumber
PDF
Cucumber tutorial
PDF
Acceptance Test-driven Development with Cucumber-jvm
PDF
[@NaukriEngineering] BDD implementation using Cucumber
PPTX
BDD using Cucumber JVM
PPTX
Lets cook cucumber !!
PPTX
SGIN2013-ScrumStartRek-CucumberRecipes-SonikChopra
PDF
Mastering BDD with Cucumber & Java for Test Automation
PPTX
Bdd with Cucumber and Mocha
PDF
Cucumber Selenium Tutorial | Edureka
PPTX
presentation.pptx
PPTX
Cucumber_Training_ForQA
PPTX
What Is Cucumber?
PPTX
Smart acceptance GUI tests with Selenium
PPTX
Testing with cucumber testing framework
PDF
Introducing BDD and TDD with Cucumber
PPTX
BDD / cucumber /Capybara
PPTX
Digesting Cucumber Salad By Praveen Shivashankar
cucumber harpal.pdf
Behavior-Driven Development and Automation Testing Using Cucumber Framework W...
BDD in Java using Cucumber
Cucumber tutorial
Acceptance Test-driven Development with Cucumber-jvm
[@NaukriEngineering] BDD implementation using Cucumber
BDD using Cucumber JVM
Lets cook cucumber !!
SGIN2013-ScrumStartRek-CucumberRecipes-SonikChopra
Mastering BDD with Cucumber & Java for Test Automation
Bdd with Cucumber and Mocha
Cucumber Selenium Tutorial | Edureka
presentation.pptx
Cucumber_Training_ForQA
What Is Cucumber?
Smart acceptance GUI tests with Selenium
Testing with cucumber testing framework
Introducing BDD and TDD with Cucumber
BDD / cucumber /Capybara
Digesting Cucumber Salad By Praveen Shivashankar
Ad

More from Knoldus Inc. (20)

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

Recently uploaded (20)

PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
The AI Revolution in Customer Service - 2025
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
Identification of potential depression in social media posts
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Altius execution marketplace concept.pdf
PDF
Examining Bias in AI Generated News Content.pdf
PPTX
Information-Technology-in-Human-Society.pptx
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
NewMind AI Journal Monthly Chronicles - August 2025
PDF
SaaS reusability assessment using machine learning techniques
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
Connector Corner: Transform Unstructured Documents with Agentic Automation
The AI Revolution in Customer Service - 2025
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
A symptom-driven medical diagnosis support model based on machine learning te...
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Identification of potential depression in social media posts
giants, standing on the shoulders of - by Daniel Stenberg
Altius execution marketplace concept.pdf
Examining Bias in AI Generated News Content.pdf
Information-Technology-in-Human-Society.pptx
Introduction to MCP and A2A Protocols: Enabling Agent Communication
NewMind AI Journal Monthly Chronicles - August 2025
SaaS reusability assessment using machine learning techniques
Build Real-Time ML Apps with Python, Feast & NoSQL
Data Virtualization in Action: Scaling APIs and Apps with FME
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
Early detection and classification of bone marrow changes in lumbar vertebrae...

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