SlideShare a Scribd company logo
4
Most read
8
Most read
13
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

ODP
BDD with Cucumber
PPSX
Cucumber & gherkin language
PDF
Introduction to Selenium grid
PPTX
Cucumber With Selenium
PPTX
Introduction to Bdd and cucumber
PDF
BDD & Cucumber
PPTX
Automation test framework with cucumber – BDD
BDD with Cucumber
Cucumber & gherkin language
Introduction to Selenium grid
Cucumber With Selenium
Introduction to Bdd and cucumber
BDD & Cucumber
Automation test framework with cucumber – BDD

What's hot (20)

PPTX
BDD WITH CUCUMBER AND JAVA
PPTX
Automated Test Framework with Cucumber
PDF
Cucumber ppt
PPTX
Selenium ppt
PPTX
Cucumber BDD
PPTX
Test Automation Framework with BDD and Cucumber
PPTX
Selenium test automation
PPTX
Automation Testing by Selenium Web Driver
PPTX
Introduction to selenium
PPTX
An overview of selenium webdriver
PDF
Web automation using selenium.ppt
PPTX
Cypress Automation
PPTX
Selenium- A Software Testing Tool
PPS
Selenium Demo
PDF
Cypress - Best Practices
PPTX
Automation Testing
PPTX
Bdd – with cucumber and gherkin
PPTX
Automation - web testing with selenium
PPT
Cucumber presentation
PPT
Automation testing
BDD WITH CUCUMBER AND JAVA
Automated Test Framework with Cucumber
Cucumber ppt
Selenium ppt
Cucumber BDD
Test Automation Framework with BDD and Cucumber
Selenium test automation
Automation Testing by Selenium Web Driver
Introduction to selenium
An overview of selenium webdriver
Web automation using selenium.ppt
Cypress Automation
Selenium- A Software Testing Tool
Selenium Demo
Cypress - Best Practices
Automation Testing
Bdd – with cucumber and gherkin
Automation - web testing with selenium
Cucumber presentation
Automation testing
Ad

Similar to Selenium with Cucumber (20)

PDF
Introducing BDD and TDD with Cucumber
PDF
5 Best Automation Testing Tools to Speed up Testing.pdf
KEY
Client Side Unit Testing
PPT
Stc 2015 regional-round-ppt-bdd along with ci
PPT
BDD along with Continuous Integration
PDF
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
PDF
PMI-ACP Lesson 06 Quality
PPTX
Test-Driven-Development.pptx
PPTX
What Is Cucumber?
PPTX
TDD in Agile
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
PPTX
Software testing
PDF
Random thoughts and dev practices / advices to build a great product
PDF
TDD vs. BDD: A Practical Comparison for Modern Development Teams
PDF
Software Testing Basic Concepts
PPTX
Wednesday Webinar on "Strengthening your Agility with BDD - A demo using Cucu...
PDF
Accelerating tests with Cypress for a leaderboard platform
PPT
Test Driven Development using QUnit
PPTX
Lets cook cucumber !!
PDF
Technical Skills Required for a Software Testing Job.pdf
Introducing BDD and TDD with Cucumber
5 Best Automation Testing Tools to Speed up Testing.pdf
Client Side Unit Testing
Stc 2015 regional-round-ppt-bdd along with ci
BDD along with Continuous Integration
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
PMI-ACP Lesson 06 Quality
Test-Driven-Development.pptx
What Is Cucumber?
TDD in Agile
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
Software testing
Random thoughts and dev practices / advices to build a great product
TDD vs. BDD: A Practical Comparison for Modern Development Teams
Software Testing Basic Concepts
Wednesday Webinar on "Strengthening your Agility with BDD - A demo using Cucu...
Accelerating tests with Cypress for a leaderboard platform
Test Driven Development using QUnit
Lets cook cucumber !!
Technical Skills Required for a Software Testing Job.pdf
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
KodekX | Application Modernization Development
PDF
Modernizing your data center with Dell and AMD
PDF
ai-archetype-understanding-the-personality-of-agentic-ai.pdf
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Smarter Business Operations Powered by IoT Remote Monitoring
PPTX
Web Security: Login Bypass, SQLi, CSRF & XSS.pptx
PDF
Reimagining Insurance: Connected Data for Confident Decisions.pdf
PPTX
How to Build Crypto Derivative Exchanges from Scratch.pptx
PDF
creating-agentic-ai-solutions-leveraging-aws.pdf
KodekX | Application Modernization Development
Modernizing your data center with Dell and AMD
ai-archetype-understanding-the-personality-of-agentic-ai.pdf
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
GamePlan Trading System Review: Professional Trader's Honest Take
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
A Day in the Life of Location Data - Turning Where into How.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Weekly Chronicles - August'25 Week I
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Smarter Business Operations Powered by IoT Remote Monitoring
Web Security: Login Bypass, SQLi, CSRF & XSS.pptx
Reimagining Insurance: Connected Data for Confident Decisions.pdf
How to Build Crypto Derivative Exchanges from Scratch.pptx
creating-agentic-ai-solutions-leveraging-aws.pdf

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