8169  Reviews star_rate star_rate star_rate star_rate star_half

BDD with Cucumber and Selenium

Skills Gained Write better user stories with proper acceptance criteria that drive BDD Learn the Gherkin syntax Master BDD principles Build BDD scenarios to serve as acceptance criteria for stories...

Read More
Course Code JAV-406
Duration 2 days
Available Formats Classroom

Skills Gained

  • Write better user stories with proper acceptance criteria that drive BDD
  • Learn the Gherkin syntax
  • Master BDD principles
  • Build BDD scenarios to serve as acceptance criteria for stories
  • Use hands-on labs to design, build, and test end-to-end applications utilizing BDD

Prerequisites

No prior experience is presumed.

Course Details

Training Materials

All attendees receive courseware and the latest Selenium textbook as of the date of training.

Software Requirements

  • Chrome
  • Java Development Kit (JDK) 8.x or later
  • Eclipse
  • Cucumber
  • Selenium
  • Maven 3.x or later
  • Related lab files that Accelebrate provides

Outline

  • BDD Introduction
    • What is an automated test
    • BDD principles
    • BDD story format
    • Ubiquitous language
  • BDD Tooling
    • Tool overview
    • Cucumber
    • Selenium
    • Tool integration
  • Working with Gherkin Syntax
    • How to write better user story acceptance criteria
    • Given / When / Then
    • Other keywords
  • Cucumber
    • Learn about Feature files and Step Definitions
    • Learn and use Maven Pom Files
  • Selenium
    • What is Selenium, and why do we use it?
    • Learn about browser drivers: ChromeDriver
    • Learn how to inspect elements on a page?
  • Compound Steps
    • Advanced Gherkin
    • Using variables and tables
    • Scenario outlines
    • Backgrounds and example
  • Additional Topics
    • Learn about Runner Classes
    • Before and After Stories
    • Define and use Hocks and Tags
  • Reporting and Debugging
    • Core concept
    • Sample code
    • Seeing it in action
  • Final Project
    • Pulling it all together
    • Helpful reminders
  • Conclusion