Cucumber Tutorial for Beginners
Cucumber tutorial for beginners
Introduction to Cucumber – Automation Tool
Cucumber is an automation tool which is written in Behaviour Driven Development (BDD) style. It improves the collaboration between the team members. Cucumber itself is written using Ruby, but it can be used to test the code written in JAVA, c#, Python, Ruby and other programming languages.
Cucumber is one of the most popular and trending Automation testing tools. It’s widely used in organizations because of its robustness and efficiency. It encourages everyone on the team including developers, testers, business analysts, product owners to collaborate and write the acceptance tests that express the outcome of the application behavior.
- Open-source
- Quick Setup
- Easy to automate
- Code Reusability
- Improves collaboration
- Increase test coverage
In this tutorial, we will learn about the following topics
Cucumber Setup with Selenium
- Download and Install IntelliJ IDE – Mac
- Download and Install IntelliJ IDE – Windows
- Install Cucumber Plugin for IntelliJ
- Download Cucumber Dependencies
- Download Selenium Dependencies
- Download Selenium Chrome Driver – Mac
Cucumber Concepts
- Cucumber Basics – Coming Soon
- Gherkin – Feature File
- Step Definition
- Create First Cucumber Test – Coming Soon
- JUnit Test Runner Class – Coming Soon
- Cucumber Options – Coming Soon
- Background in Cucumber – Coming Soon
- Parameterization in Cucumber – Coming Soon
- Cucumber Scenario Outline and Examples keyword – Coming Soon
- Data Tables in Cucumber – Coming Soon
- Assertions in Cucumber – Coming Soon
Cucumber Annotations
- Tags – Coming Soon
- Hooks – Coming Soon
- Tagged Hooks – Coming Soon
- Execution order of Hooks – Coming Soon
Cucumber Framework
- Page Object – Coming Soon
- Object Repository – Coming Soon
- Logging using Log4j – Coming Soon
- Reporting – Coming Soon
Bonus: Top 30 Cucumber Interview Questions & Answers
Suggested Readings : Top 40 Selenium Interview Questions & Answers
Know anyone who would like to learn Cucumber (BDD) Automation Testing tool for enhancing their career? Let them know by sharing this article on Facebook, Twitter, LinkedIn or Email.