Python Training: Essential Python for Testing


Course Delivery

Live Instructor-Led Training

Course Description

The course Core Python for Testing (Python Training) teaches you to write Python code in support of automated testing activities. The training begins with Python coding fundamentals including variables, control structures, scope, classes and inheritance. This is followed by a detailed exploration of the Python unit testing framework and a brief introduction to Selenium for automated testing.

Course Dates and Pricing


Jan 29 - 31, 2025$3,350.00Feb 26 - 28, 2025$3,350.00Mar 26 - 28, 2025$3,350.00Apr 30 - May 2, 2025$3,350.00May 28 - 30, 2025$3,350.00Jun 25 - 27, 2025$3,350.00Jul 30 - Aug 1, 2025$3,350.00

Course Outline

Object Oriented Programing with Python

Review of Basics
Creating a Class
Defining Class Members and Methods
Implementing Inheritance
Using Polymorphism
Using Interfaces
Making use of Libraries
Compiling Modules for Faster Loading
Putting it All Together

Practical Python

Pattern Matching with Regular Expressions
Reading and Writing Files
Interacting with Databases
Multithreaded Programming
Python Network Programming

Python for Automated Testing

Organizing Files
Working with CSV Files and JSON Data
Keeping Time, Scheduling Tasks and Launching Programs
Controlling the Keyboard and Mouse with Automation

Selenium and Web Testing

Installation of Python and Selenium Webdriver Package for Python
Prepare Your First Selenium Webdriver Automation Script Using Python
Creating Selenium Webdriver and Python Scripts for Common Browsers
Navigation Methods in Python
Switching between Windows
How to Locate Elements Using Selenium Python
How to Use Selenium WebDriver Waits in Python

The Python Unittest Framework

Five Components of Python Unittest Framework
Prepare a Test Case Class to Automate a Scenario
Using setUp() Method to Manage Test Pre-requisites
Writing Selenium-Python Test Scripts Using Unittest.
Define Cleanup Strategy to Free Resources Post Test Execution
Execute the Test Case from the Command Line
Refactoring setUp() and tearDown() Methods for Optimization
Assertions in Python Unittest Framework
Create Selenium-Python Test Suite Using Unittest
Generate HTML Test Suite Execution Report

Course Locations

  • Ottawa

  • Montreal

  • Toronto

Related Python Training

Python Training: Python Programming for Pros

The course Python Programming (Python Training) teaches you how to write high quality Python codes. The training includes Python basics including variables & data types, control structures, functions & data structures. The course also covers classes, inheritance, data access, error handling, IO operations & the use of the standard library for Python. Training course titled Python Training: Python Programming for Pros that will allow you to hone your professional skills.

Jan 21 - 24, 2025$3,750.00Feb 18 - 21, 2025$3,750.00Mar 18 - 21, 2025$3,750.00Apr 22 - 25, 2025$3,750.00May 20 - 23, 2025$3,750.00Jun 17 - 20, 2025$3,750.00Jul 22 - 25, 2025$3,750.00

Python Training: Exploring Selenium for Automated Testing

The course Selenium for Automated Testing (Python Training) teaches you to how to build an automated testing framework with Selenium and Python. The training begins with a review of core Python programming concepts. This is followed by a detailed exploration of Selenium and its many automated testing features. The course discusses WebDriver setup, capabilities configuration, design patterns for multi-browser testing and more. Students are taught how to build an automated testing framework using Selenium and Python. Training course titled Python Training: Exploring Selenium for Automated Testing that will allow you to hone your professional skills.

Jan 8 - 10, 2025$3,350.00Feb 5 - 7, 2025$3,350.00Mar 5 - 7, 2025$3,350.00Apr 9 - 11, 2025$3,350.00May 7 - 9, 2025$3,350.00Jun 4 - 6, 2025$3,350.00Jul 9 - 11, 2025$3,350.00