Mastering Python for Testers - 21 hours

Course available to schedule for your team
Learn More
Concepts

Python is widely regarded by many experts as the most popular programming language in the market. It combines features from both procedural and object-oriented languages, enabling you to write programs in Python using your preferred style. This practical course is designed to lead you from the fundamentals to an advanced level, ensuring a comprehensive understanding of all Python aspects essential for successful test automation. Completion of this course is a prerequisite for our 'Mastering Selenium in Python with pytest' course.


Audience

This course is ideal for individuals keen on mastering Python for use in their test automation projects. Whether you're a beginner or already have some experience, this course offers a comprehensive approach to learning Python specifically tailored for test automation purposes.


Pre-requisites

Working knowledge of Windows or MacOS


What participants will learn?
  1. How Python works
  2. Python data types and operations on them
  3. Control statements
  4. Python Functions
  5. String processing
  6. Exception handling
  7. Modules and packages
  8. File processing
  9. Classes and objects
  10. Inheritance
  11. Polymorphism

Course Outline
  • How Python works internally
    • Compiled and interpreted programming languages
    • Bytecode, PVM
  • PyCharm as Python IDE (Integrated Development Environment)
    • Configuration and shortcuts
  • Data types and operators
    • Numeric types
    • Arithmetic and assignment operators
    • Boolean type
    • Comparison and logical operators
    • Strings
  • Conditional statements
    • if/elif/else
  • Loops
    • while
    • for
    • break and continue in the loops 
  • Collection data types – their functions and methods
    • List
    • Tuple
    • Set
    • Dictionary
  • Modules and packages
  • String manipulation - functions and methods
  • Classes and objects
    • Class members: properties and methods
    • Constructors
  • OOP concepts
    • Inheritance
    • Polymorphism
  • Exception handling
    • Keywords: try/except/finally
  • Working with files
    • Read config files (key/value pairs)
    • Read and write to arbitrary files