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


Sep 4 - 6, 2019$2,250.00Oct 2 - 4, 2019$2,250.00Oct 30 - Nov 1, 2019$2,250.00Nov 27 - 29, 2019$2,250.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.

Sep 24 - 27, 2019$2,775.00Oct 22 - 25, 2019$2,775.00Nov 19 - 22, 2019$2,775.00Dec 17 - 20, 2019$2,775.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.

Sep 25 - 27, 2019$2,250.00Oct 23 - 25, 2019$2,250.00Nov 20 - 22, 2019$2,250.00Dec 18 - 20, 2019$2,250.00