Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Cucumber BDD with Python Behave and Selenium WebDriver 2022

Build Automation Framework with Cucumber BDD using Python and Behave for Selenium WebDriver and API Testing and SQL
(1,027 reviews)
18,239 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 19h 8m
Language: English
Next start: On Demand

Table of contents


Course Description
Learn 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 resume
If 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 material
•Enough 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 Python
•Practice testing of Front-end with Selenium WebDriver BDD and Python
•Practice testing of Back-end with Python

You will 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


• 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

This course is for

• 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
SuperSQA.com Learn from the experienced.
With 14+ years of overall engineering experience, I have found my passion in software test automation. In the process Python has become my favorite tool to work with. I graduated with a MS degree in Mechanical Engineering from San Jose State University, and got into the IT field of software test automation. I have as much passion for teaching as I do for learning. I hope to help students grow fast and advance in the field of software testing and automation.
Browse all courses by on Coursemarks.
Platform: Udemy
Video: 19h 8m
Language: English
Next start: On Demand

Students are also interested in