• Skip to main content
  • Skip to primary sidebar

AutomationTestingHub

Selenium, Appium, Cucumber and more !!!

Cucumber Selenium Tutorial

Welcome to our Cucumber tutorial series. This tutorial teaches you how to setup a Cucumber BDD framework from scratch and use it to write your selenium test scripts.

Cucumber Selenium Testing Tutorial

If you are a beginner with Cucumber, then we strongly recommend you to go through each article get cucumber setup up and running. If you have previous experience with Cucumber and are looking for something specific, then please feel free to jump to the article you are interested in.

Cucumber Selenium Tutorial – Part 1

We have divided this Cucumber tutorial in two main parts. This first part focuses on getting the basic cucumber setup up and running.

Step 1: Introduction to Cucumber BDD – the very basics

Step 2: Download and install Java (if you don’t have Jave 8)

Step 3: Download and install Eclipse IDE for Java

Step 4: Download Cucumber and Selenium JARs

Step 5: Create new Cucumber project in Eclipse and add the jar files

Step 6: Add your first Cucumber feature file in the Eclipse project

Step 7: Add test runner class to run Cucumber feature file

Step 8: Create Step definitions class and add feature file steps to it

Step 9: Add selenium logic to the step def methods


Cucumber Selenium Tutorial – Part 2

With this basic setup part completed, this part of our tutorial series looks at some of the core cucumber concepts in detail.

Cucumber Data Driven testing

Step 10.1: How to pass a single string parameter through Cucumber feature file

Step 10.2: Practical examples of passing data from feature files (Important)

Step 10.3: How to pass data using Cucumber data table


More articles on Cucumber setup coming soon!!! Follow us on Facebook to keep a track of all our latest updates

Primary Sidebar

Automation Testing Hub

Tutorials Guide

Write test scripts in BDD format using our Cucumber Selenium Tutorial

Use our Appium Tutorial Series to setup Appium from scratch

Categories

  • Android
  • Appium
  • Cucumber
  • Java
  • Playwright
  • Selenium
  • Tosca

Recent Posts

  • Appium Inspector – Download and Install
  • How to download Chromedriver for Selenium
  • Run Playwright tests on different browsers
  • Playwright Automation Testing Tutorial
  • Selenium IDE Chrome Download

Recent Comments

  • Run Playwright tests on different browsers - AutomationTestingHub on Playwright Automation Testing Tutorial
  • Confluence: CPSSoft Test Framework on Appium Inspector – Download and Install
  • Playwright Automation Testing Tutorial - AutomationTestingHub on Download and Install – Node.js and NPM
  • Chrome浏览器在使用Java的Appium中无法启动。 | JAVA语言的经验与见解 on 2 Ways to find appPackage and appActivity name of your App
  • Appium Inspector Tutorial - AutomationTestingHub on Download and Install Appium 2 Server

Archives

  • January 2024
  • July 2023
  • March 2023
  • February 2023
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016

Latest Selenium 3 Guide

Are you using the latest version of Selenium WebDriver? It provides lot better support for the latest browser versions. Check it out here - Setup Latest Selenium WebDriver

Categories

  • Android
  • Appium
  • Cucumber
  • Java
  • Playwright
  • Selenium
  • Tosca

Copyright © 2025 · Genesis Sample on Genesis Framework · WordPress · Log in

Go to mobile version