Cucumber is a well-known Behavior-Driven Development (BDD) framework that allows developers to implement end-to-end testing. The combination of Selenium and Cucumber provides a powerful framework that allows you to create functional tests in an easy way.
It allows you to express acceptance criteria in language that business people can read and understand, along with the steps to take to verify that they are met. The Cucumber tests are then run through a browser-like interface that allows you to see what's happening in your test at each step.
This Cucumber Selenium tutorial will walk you through the basics of writing Cucumber tests using Selenium WebDriver. If you are not familiar with Cucumber, this tutorial will also give you an introduction to its domain-specific language (DSL) and guide you through writing your first step definitions, setting up Cucumber with Selenium WebDriver, and automating web applications using Cucumber, Selenium, and TestNG framework.
Cucumber has two sides: a Ruby library and a command-line tool. The library is useful if you are working on an existing project and want to start using Cucumber to test it. The command-line tool is useful if you want to start from scratch and use Cucumber from the very beginning of your project. In this Cucumber Selenium tutorial on installing and configuring Cucumber, we will see configuring Cucumber in Eclipse and IntelliJ for Selenium automation testing.SEE MORE →
In this Cucumber Selenium tutorial on running your first test using Cucumber, we will see writing our first test script using Cucumber any framework of your choice for Selenium automation testing.SEE MORE →
Cucumber is one of the most common open-source BDD frameworks that facilitates Selenium test automation. However, for handling multiple feature files and scenarios in each file, there is an inherent need for functionality to manage the execution of these scenarios. This is where Cucumber provides us with a handful of utilities to ease the maintenance of our framework. Check out this chapter to learn about Cucumber annotations ranging from tags, Cucumber hooks, and more.SEE MORE →
Though Cucumber was developed in the Ruby programming language, it still supports all the prominent languages such as Java, C#, Python. This chapter will guide you to perform automation testing with Selenium, Cucumber, and TestNG.SEE MORE →
Cucumber is Selenium's preferred open-source BDD test automation tool as it makes the application flow easy to understand. To schedule test case executions remotely, we can integrate Cucumber with Jenkins to reap the maximum benefits. This step-by-step guide will help you on your journey of integrating Cucumber with Jenkins.SEE MORE →
Want to make the best out of Cucumber? With this tutorial, we will be diving into some of the best Cucumber practices that will help you write better scenarios using the Gherkin language. These practices will also help you to get a clear picture of the Behavior-Driven Development concepts.SEE MORE →