Introduction
  • Introduction To The Course
  • About The Provided Course Code
  • Content List - Description of sections/lectures of the course
  • Introduction to BDD, Gherkin and Behave
Installations
  • Installing Python - Mac
  • Installing Python - Windows
  • About Virtual Environment
  • Creating virtual environment on Mac (demo)
  • Creating virtual environment on Windows (demo)
  • Installing Pycharm / IDE
  • Add Virtual Environment to PyCharm
  • Add Gherkin Plugin to PyCharm
  • Installing Behave and Selenium
BDD Components and Basic Examples
  • Folder structure or layout (Discussion)
  • Folder structure or layout (Demo/Example)
  • Feature File
  • Step definition File
  • Running 1 file (discussion)
  • Running 1 file (demo)
  • Running all files (discussion)
  • Running all files (demo)
  • Review Please!
  • Displaying Output
  • More on Output
  • ‘Given’, ‘Then’, ‘When’, ‘And’, ‘But’
Passing Parameters to Steps
  • Passing Parameters to Steps (discussion)
  • Passing Parameters to Steps (demo)
Sharing Data Between Steps
  • Sharing Data Between Steps (discussion)
  • Sharing Data Between Steps (demo)
Time for Practical Examples
  • Practical Examples Discussion
  • Project Setup Overview
  • Test Cases Group 1 Part 1 (python.org)
  • Test Case Group 1 Part 2 (python.org)
  • Using custom config file
  • Test Case Group 3 (more config examples)
Setup and Teardown
  • Setup and Teardown (discussion)
  • Setup/Teardown/environment.py
  • "Background"
Scenario Outlines
  • Scenario Outline (discussion)
  • Scenario Outline (demo)
Using Tags
  • Using Tags (discussion)
  • Using Tags (demo)
Cucumber Behave Report Generation
  • Generating Behave Reports Overview
  • How to Output Junit Compatible xml
  • How to Output JSON Report
  • How to Generate Allure Report
  • How to Generate Custom Report
Other Behave Core features
  • Calling Steps in Other Step definitions
  • Passing User Data From Command Line
  • Passing String to Step Definition
  • "--exclude" How to Exclude Test by File Name
  • "-f rerun" Retry Failed Tests (Rerun Failed Scenarios)
  • "--stop" Stop Execution at First Failure
  • "--dry-run" Run without Running
Runner Script
  • Runner Python Script to Run Tests
  • Runner Python script - continued (Parameterize)
  • Runner Python script - continued (Unique Test Id)
  • Runner Python script - continued (Output directory)
  • Runner Python script - continued (WebDrivers)
BDD Automation Practice Section
  • NOTE
  • Introduction to Practice Section
  • *TCID-10-1 (FE) Valid user should be able to login (Framework Setup)
  • *TCID-10 - 2 (Continued) Valid user should be able to login
  • *TCID-10 - 3 (FE) (Continued) Valid user should be able to login
  • *TCID-10 - 4 (FE) (Continued) Valid user should be able to login
  • Housekeeping - Same Files New Project in PyCharm
  • TCID-11 (FE) User with wrong password should get correct error message
  • TCID-12 (FE) User with none-existing email should get correct error message
  • *Backend Helper - http GET method
  • *Backend Helper - http POST method
  • *Credentials Management
  • *Backend Helper - Database Helper
  • *TCID-24-1 (BE) Verify 'GET /products' returns all products
  • *TCID-24-2 (BE) Verify 'GET /products' returns all products
  • Assignment Solution: Get all pages of products
  • *TCID-25 (BE) Verify 'products/id' returns a product with the given id
  • *TCID-29-1 (BE) Verify 'POST /customers' creates user
  • *TCID-29-2 (BE) Verify 'POST /customers' creates user
  • *TCID-29-3 (BE) Verify 'POST /customers' creates user
  • TCID-33-1 (FE) New user place order with 1 item without creating account
  • TCID-33-2 (FE) @Given("I add 1 item to cart")
  • TCID-33-3 (FE) @Given("I click on cart in nav bar")
  • TCID-33-4 (FE) @When("I select 'Free Shipping' option")
  • TCID-33-5 (FE) @When("I click on 'Proceed to checkout' button")
  • TCID-33-6 (FE) @When("I verify 'Checkout' page is loaded")
  • TCID-33-7 (FE) @When("I fill in the billing details form")
  • TCID-33-8 (FE) @When("I click on 'Place order' button")