BDD & Ruby

5 Online Sessions 5 Sessions This comprehensive course covers all the essential Introduction to WebDriver & principles to get you up and running in Behaviour- Driven Development of Cucumber and HTML overview, understand what Capybara/WebDriver Ruby Tests WebDriver is and how Locators The introductory work. Learn how the Capybara framework Designed for beginners of BDD and Cucumber, it sits on top of WebDriver, Capybara’s course that takes the newcomer through all the basic techniques Locator strategies & DSL takes you from of writing Feature Files in Gherkin, to writing the associated Step Definitions and code in Cucumber & beginner Capybara/WebDriver to executing from the command Introduction to BDD line. A background to BDD and its benefits. The through to process of BDD. An overview of the tools writing effective Throughout the course practical examples are available, terminology. demonstrated. Feature Files

The course uses: RubyMine, Cucumber-Ruby, Introduction to Gherkin and then Capybara, WebDriver Ruby & RSpec Feature Files, introduction to the Gherkin Automating language, basic syntax them using Capybara with Course Objectives More Gherkin Using the Background fixture, Parameters, WebDriver in Doc Strings, Examples and Data Tables, • understand the required installs and using Tags to organise execution, Ruby packages to use Cucumber commenting • gain a basic understanding of the Ruby programming language Step Definitions & Code Binding Using prototype step definitions, creating • understand how to structure your automated step definition Methods, expanding Recommended Cucumber project Methods with Parameters, Step Definition for anyone new syntax, using Regular Expressions • gain a full understanding of how to write to BDD and good Gherkin and Step Definitions and Tables & Scenario Outlines automate them In-line Step Table Iterating, Scenario Cucumber with Outline Data Handling • Get proficient with using Locators to identify Ruby Web Elements Hooks Using Hooks in cucumber-Ruby (Before, After), Cucumber Timeouts Course Pre-requisites Execution & Reporting • None Using Tags to filter Scenarios, Using Cucumber Command Line Interface, Results & Reporting, HTML reports

Key Points API Testing Integrating HTTParty into the Cucumber Installation of the Cucumber Framework framework, practical examples. Installing RubyMine, Ruby, Selenium WebDriver, Cucumber, Capybara, RSpec VS Code Tips (unless using Ruby Programming Primer RubyMine) Variables, Loops, Conditional Statements, Arrays, Cucumber Icon Packs, setting up GoTo Hashes, Methods, Classes and Modules Definitions Shortcut, Debugging scripts

Copyright 2020 Edgewords Ltd