Free Download Cucumber BDD with Python Behave and Selenium WebDriver 2024
Last updated 3/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 10.07 GB | Duration: 19h 9m
Build Automation Framework with Cucumber BDD using Python and Behave for Selenium WebDriver and API Testing and SQL
What you'll learn
You will be able to create Cucumber BDD testing framework using Python, Behave, Selenium WebDriver, ....
You will be able to read and write Cucumber BDD style tests in Python
You will be able to work on Cucumber BDD Framework supporting both Frontend with BDD Selenium and Backend with pure BDD Python
You will create full E-Commerce site on your computer and practice test automation
BONUS: SQL Crash Course (MySQL). You will learn how to work with MySQL database
You will learn tips and tricks of finding elements, debugging issues, shortcuts with IDE, test methodologies, setup py file
You will be able to use virtual environment and try different versions of Python libraries
Requirements
Understand basic Python (Python 3 or 2 is fine)
Understand Automated testing basics
Have access to install libraries on the computer you are going to use
Description
Course DescriptionLearn how Cucumber BDD (Behavioral Driven Development/Test Driven Development) testing frameworks work. Learn how the pieces of Cucumber fall together and how frameworks are put together, as well as best practices of BDD. We will use the most popular and actively maintained Cucumber framework for Python BDD called 'Behave'. We will use PowerPoint presentation to convey the concepts on each topic and then write example code testing real scenarios with Selenium WebDriver as well as API testing.We will build an E-commerce site on our local machine and practice writing real test cases both for front end with Selenium WebDriver and for the backend with Python, with full access to MySQL database of our site.Critical addition to your resumeIf you are getting into the QA world or you are looking to advance
your career, having BDD testing skill will accelerate your success.
Python is one of the most popular languages to use in software testing,
and knowing how to use it with BDD style testing will expand your pool
of possibilities.In addition to using Python for BDD testing you will also get tips and guidance on best practices. After completion of this course you will be able to go through interview as if you have BDD testing experience. You will also have a ready to go framework that you can continue to add test cases for practice and for your portfolio. Content and Overview In this course we will be using PowerPoint presentation to explain the concepts and then go to code in an IDE (PyCharm) for each topic. Some topics, we will go directly to code and start writing and executing. We will install necessary packages for our framework. We will discuss the directory structure needed for our design, and then we will write and run test cases.
We will run how the BDD tests are written, how the work together and how to understand and control the output.
We will create an efficiently structured test framework and learn how to use Pythons logging module to produce readable reports. What am I going to get from this course? 49 + lectures of BDD core concepts, examples and practice exercises (continuously adding more examples) Plenty of test cases to use in your portfolio and to build bigger test suits on top of the course materialEnough material and examples to be able to create a project (BDD test framework) and maintain a GitHub repo Specific features of the most popular BDD framework for Python called Behave Practice using Selenium WebDriver functions with PythonPractice testing of Front-end with Selenium WebDriver BDD and PythonPractice testing of Back-end with Python
Overview
Section 1: Introduction
Lecture 1 Introduction To The Course
Lecture 2 About The Provided Course Code
Lecture 3 Content List - Description of sections/lectures of the course
Lecture 4 Introduction to BDD, Gherkin and Behave
Section 2: Installations
Lecture 5 Installing Python - Mac
Lecture 6 Installing Python - Windows
Lecture 7 About Virtual Environment
Lecture 8 Creating virtual environment on Mac (demo)
Lecture 9 Creating virtual environment on Windows (demo)
Lecture 10 Installing Pycharm / IDE
Lecture 11 Add Virtual Environment to PyCharm
Lecture 12 Add Gherkin Plugin to PyCharm
Lecture 13 Installing Behave and Selenium
Section 3: BDD Components and Basic Examples
Lecture 14 Folder structure or layout (Discussion)
Lecture 15 Folder structure or layout (Demo/Example)
Lecture 16 Feature File
Lecture 17 Step definition File
Lecture 18 Running 1 file (discussion)
Lecture 19 Running 1 file (demo)
Lecture 20 Running all files (discussion)
Lecture 21 Running all files (demo)
Lecture 22 Review Please!
Lecture 23 Displaying Output
Lecture 24 More on Output
Lecture 25 'Given', 'Then', 'When', 'And', 'But'
Section 4: Passing Parameters to Steps
Lecture 26 Passing Parameters to Steps (discussion)
Lecture 27 Passing Parameters to Steps (demo)
Section 5: Sharing Data Between Steps
Lecture 28 Sharing Data Between Steps (discussion)
Lecture 29 Sharing Data Between Steps (demo)
Section 6: Time for Practical Examples
Lecture 30 Practical Examples Discussion
Lecture 31 Project Setup Overview
Lecture 32 Test Cases Group 1 Part 1 (python.org)
Lecture 33 Test Case Group 1 Part 2 (python.org)
Lecture 34 Using custom config file
Lecture 35 Test Case Group 3 (more config examples)
Section 7: Setup and Teardown
Lecture 36 Setup and Teardown (discussion)
Lecture 37 Setup/Teardown/environment.py
Lecture 38 "Background"
Section 8: Scenario Outlines
Lecture 39 Scenario Outline (discussion)
Lecture 40 Scenario Outline (demo)
Section 9: Using Tags
Lecture 41 Using Tags (discussion)
Lecture 42 Using Tags (demo)
Section 10: Cucumber Behave Report Generation
Lecture 43 Generating Behave Reports Overview
Lecture 44 How to Output Junit Compatible xml
Lecture 45 How to Output JSON Report
Lecture 46 How to Generate Allure Report
Lecture 47 How to Generate Custom Report
Section 11: Other Behave Core features
Lecture 48 Calling Steps in Other Step definitions
Lecture 49 Passing User Data From Command Line
Lecture 50 Passing String to Step Definition
Lecture 51 "--exclude" How to Exclude Test by File Name
Lecture 52 "-f rerun" Retry Failed Tests (Rerun Failed Scenarios)
Lecture 53 "--stop" Stop Execution at First Failure
Lecture 54 "--dry-run" Run without Running
Section 12: Runner Script
Lecture 55 Runner Python Script to Run Tests
Lecture 56 Runner Python script - continued (Parameterize)
Lecture 57 Runner Python script - continued (Unique Test Id)
Lecture 58 Runner Python script - continued (Output directory)
Lecture 59 Runner Python script - continued (WebDrivers)
Section 13: BDD Automation Practice Section
Lecture 60 NOTE
Lecture 61 Introduction to Practice Section
Lecture 62 *TCID-10-1 (FE) Valid user should be able to login (Framework Setup)
Lecture 63 *TCID-10 - 2 (Continued) Valid user should be able to login
Lecture 64 *TCID-10 - 3 (FE) (Continued) Valid user should be able to login
Lecture 65 *TCID-10 - 4 (FE) (Continued) Valid user should be able to login
Lecture 66 Housekeeping - Same Files New Project in PyCharm
Lecture 67 TCID-11 (FE) User with wrong password should get correct error message
Lecture 68 TCID-12 (FE) User with none-existing email should get correct error message
Lecture 69 *Backend Helper -http GET method
Lecture 70 *Backend Helper -http POST method
Lecture 71 *Credentials Management
Lecture 72 *Backend Helper - Database Helper
Lecture 73 *TCID-24-1 (BE) Verify 'GET /products' returns all products
Lecture 74 *TCID-24-2 (BE) Verify 'GET /products' returns all products
Lecture 75 Assignment Solution: Get all pages of products
Lecture 76 *TCID-25 (BE) Verify 'products/id' returns a product with the given id
Lecture 77 *TCID-29-1 (BE) Verify 'POST /customers' creates user
Lecture 78 *TCID-29-2 (BE) Verify 'POST /customers' creates user
Lecture 79 *TCID-29-3 (BE) Verify 'POST /customers' creates user
Lecture 80 TCID-33-1 (FE) New user place order with 1 item without creating account
Lecture 81 TCID-33-2 (FE) @Given("I add 1 item to cart")
Lecture 82 TCID-33-3 (FE) @Given("I click on cart in nav bar")
Lecture 83 TCID-33-4 (FE) @When("I select 'Free Shipping' option")
Lecture 84 TCID-33-5 (FE) @When("I click on 'Proceed to checkout' button")
Lecture 85 TCID-33-6 (FE) @When("I verify 'Checkout' page is loaded")
Lecture 86 TCID-33-7 (FE) @When("I fill in the billing details form")
Lecture 87 TCID-33-8 (FE) @When("I click on 'Place order' button")
Lecture 88 TCID-33-9 (FE) @Then("the 'Order received' page should load")
Lecture 89 TCID-33-9-1 (FE) Error in step 9?
Lecture 90 TCID-33-9-2 (FE) Solution to Error in step 9
Lecture 91 TCID-33-10 (FE) @Then("I verify order is created in database")
Lecture 92 Selenium Implicit Wait
Lecture 93 * How to run WebDriver in headless browser (headless Chrome)
Lecture 94 TCID-36 to 40 - 1 (BE) @Given('I create a "" coupon')
Lecture 95 TCID-36 to 40 - 2 (BE) @Then(' the coupon should exist in database')
Lecture 96 TCID-43 (BE) Verify coupon metadata recorded correctly
Lecture 97 TCID-44-1 (FE) 50% off cart coupon should discount 50% of the cart
Lecture 98 TCID-44-2 (FE) Add items to cart and get total
Lecture 99 TCID-44-3 (FE) @when('I get a valid 50% off coupon')
Lecture 100 TCID-44-4 (FE) @when('I apply the coupon to the cart')
Lecture 101 TCID-44-5 (FE) @then('the total should be reduced by 50%')
Section 14: Conclusion
Lecture 102 Conclusion
Section 15: SPECIAL SECTION: SQL (MySQL) Crash Course
Lecture 103 Introduction to the SQL Crash Course
Lecture 104 Introduction to SQL
Lecture 105 Setup Database and Data
Lecture 106 SQL SELECT Query (Reading Data)
Lecture 107 SQL SELECT Query Continued
Lecture 108 SQL SELECT Query Continued 2
Lecture 109 SQL IN Clause
Lecture 110 SQL SELECT Sub-Query
Lecture 111 SQL LIKE Clause
Lecture 112 Intro to SQL JOIN
Lecture 113 SQL JOIN
Lecture 114 SQL LEFT JOIN
Lecture 115 SQL Special Functions
Lecture 116 SQL INSERT INTO
Lecture 117 SQL CREATE TABLE
Lecture 118 SQL DROP and TRUNCATE
Lecture 119 SQL Crash Course Conclusion
Section 16: SPECIAL SECTION: Create E-Commerce Site on Local Machine To Practice Testing
Lecture 120 Intro to "Creating E-Commerce Site Locally"
Lecture 121 Options to Run Wordpress
Lecture 122 Running WordPress with MAMP
Lecture 123 Install 'Local'
Lecture 124 Creating the site
Lecture 125 Install theme
Lecture 126 Install plugin (WooCommerce)
Lecture 127 Adding sample products
Lecture 128 Setup Home Page and Registration
Lecture 129 Use 'Coupons' to checkout
Lecture 130 Checkout with "Cash on Delivery"
Lecture 131 Setup and Test WooCommerce Rest API
Lecture 132 Connecting to Database
Lecture 133 Conclusion of Section
Section 17: SPECIAL SECTION: Deals
Lecture 134 Bonus
Anyone looking to learn automation testing and has a bit of background in Python and Selenium WebDriver,Anyone that already know basic automated testing and want to know how to apply BDD,Anyone coming from Java or other background and can pickup Python easily
Homepage
Code:
Bitte
Anmelden
oder
Registrieren
um Code Inhalt zu sehen!
Recommend Download Link Hight Speed | Please Say Thanks Keep Topic Live
Code:
Bitte
Anmelden
oder
Registrieren
um Code Inhalt zu sehen!