Mastering Python for Testers - 21 hours
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?
- How Python works
- Python data types and operations on them
- Control statements
- Python Functions
- String processing
- Exception handling
- Modules and packages
- File processing
- Classes and objects
- Inheritance
- 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