Cucumber with Java

 

Long gone are the days of writing tedious, cumbersome test cases. With the introduction of BDD Cucumber, all the teams in the different stages of product development can now collaborate together on this common platform. In this course we will learn about how to start writing and designing feature files using the Gherkin DSL.

Java is a popular programming language and has many implementations and usage across domains. Selenium Webdriver is a popular open source test automation tool to test web applications.  

Course Duration(Online) : 1 Week

 Course Content:

Introduction to BDD and Cucumber

  • What is BDD
  • Why Cucumber?
  • Cucumber installation
  • Cucumber framework flow
  • Introduction to Cucumber Gherkin
  • Gherkin Keywords
    • scenario
    • Feature
    • given
    • When
    • Then
    • Tagging
    • Background

Setting Cucumber With Java and Selenium in Eclipse and Creating and Executing Test using Java – Simple Program

  • Revisit Regular Expression
  • Setting Java and Eclipse into System
  • Installing and Setting Cucumber Plugin
  • Feature File for a sample scenario
  • Creation of Step Definition File
  • Execution
  • Results and Reports
  • Debugging

Demo Testing A Web Application using Java, Cucumber and (Selenium)

  • Introduction to Real Time Project
  • Creation of feature file
  • Creation of Step Definition File
  • Execution
  • Result and Report

Concept of Hooks and Tags

  • What is a Tag
  • How to use a Tag
  • What is a Hook
  • Usage of Hook as example of Log4J

Framework

  • Framework using BDD Cucumber Java, Keyword and Hybrid.