Python Programming for QA Automation Training in South Africa

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 3 Days
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

This course provides a complete introduction to the Python scripting language tailored towards developing automated QA skills. Delegates will learn to program using all the features of Python 2 and 3 along with unit test frameworks and GUI automation with Selenium. Object-oriented and functional aspects of Python are covered in depth including best practices.

The course duration can be tailored based upon the experience of the delegates with more or less foundational Python content.


Delegate’s experience will factor into the content and duration of the course.

Introduction to Python

  • The evolution of Python from Shell Scripting and Perl
  • Installing Python and running / debugging simple scripts
  • Differences between Python 3 and earlier versions
  • Using the JVM and CLR based Python interpreters
  • Comparing Python to Ruby, JavaScript and PowerShell

The Basics of Python Scripting

  • Declaring and modifying variables
  • Reading and writing from the console
  • Working with the built in data types
  • Making choices and performing iteration
  • Declaring functions and passing parameters
  • Identity, equality and references
  • Reading and writing text, data and objects from files

Working With Structured Data

  • Storing individual items in sets, lists and tuples
  • Storing pairs of items in dictionaries (aka hashes)
  • Understanding how class declarations work in Python
  • Creating classes and adding attributes and operations
  • Using your own types with the built-in collections

Object Orientation in Depth

  • Creating class hierarchies in Python
  • Overriding methods from base classes
  • Adding properties to your classes
  • The intrinsic class and object attributes
  • Creating your own iterator objects and generators
  • Using decorators to address Aspects in your design
  • Guidelines for overloading operators sensibly
  • Support for meta-programming in Python

Using Python for Testing Applications

  • Test-Driven verses Behavior Driven Development
  • Understanding the features of a Unit Test Framework
  • Picking a testing framework in Python
  • Comparing doctest, unittest, py.test and Nose
  • Using Selenium to test web applications
  • CSS Selector and XPath Syntax
  • Using Behave for BDD
  • Using Robot with Selenium for BDD

Functional Programming and Advanced Python

  • Using functions as inputs to other functions
  • Creating and working with lambda functions
  • Using lamdbas with filtermap and reduce
  • Simplifying your code using list comprehensions
  • Raising and catching exceptions correctly
  • Organizing your code into modules and packages

Regular Expressions in Python

  • What is a regular expression?
  • Functions in Python that accept regular expressions
  • Creating character classes and specifying multiplicities
  • Meta-characters for specifying positions in the input
  • Understanding greedy vs. non-greedy matching
  • Using parenthesis for grouping and submatches


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our South Africa facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
19 May 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
27 May 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
22 June 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
11 July 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
21 July 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
23 July 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
03 August 2024
Cape Town, Durban, Johannesburg
3 Days
Classroom / Virtual Classroom
18 August 2024
Cape Town, Durban, Johannesburg
3 Days
Python Programming for QA Automation Training Course in South Africa

Formerly known as Union of South Africa, now officially known as Republic of South Africa is the Southernmost country in Africa. South Africa's population is over 60 million people, which makes the country the world's 23rd-most populous nation. South Africa has three capital cities: executive Pretoria, judicial Bloemfontein and legislative Cape Town, while the largest city is Johannesburg. The official languages of South Africa are Afrikaans, English, Ndebele, Pedi, Sotho, Swati, Tsonga, Tswana, Venda, Xhosa and Zulu.

South Africa can be rainy from November to February, so the best time to visit South Africa is from May to September. Despite the rainy season South Africa is a year-round destination, with varying regional climates. Blyde River Canyon, Durban, Drakensberg, Kruger National Park and of course, Cape Town are the tourist attractions of the country.

Expand your IT knowledge with our comprehensive range of courses, including programming, software development, business skills, data science, cybersecurity, cloud computing and virtualization. Our skilled instructors will facilitate hands-on training and share practical insights, all conveniently conducted at your preferred location within South Africa.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.