Company Logo

VDW Verein Deutscher Werkzeugmaschinenfabriken e.V.

29.03.2023

Python für die Testautomatisierung mit KI-gestütztem Lernen (Seminar)

Master the fundamentals of developing Python scripts Understand the main difference between Python 2 and 3 Learn about modern features introduced in Python 3 Get an overview of the Python standard library Practical exercises using Python based test frameworks

Day 1: Python Language

Module 1: Introduction to Python

  • Why Python?
  • History and Python releases
  • Python implementations
  • Python 2 vs Python 3
  • Coding style guidelines (PEP 8)
  • Python package management and virtual environments

Module 2: Python Fundamentals

  • Keywords and operators
  • Basic data types and data structures
  • Control structures
  • Exceptions
  • Built-in functions

Module 3: Advanced Python Concepts

  • Functions, classes, modules, and packages
  • Lambda functions
  • List comprehensions
  • Generators
  • Decorators
  • Data classes

Day 2: Python 3 Standard Library

Module 4: Core Standard Library Features

  • Runtime features
  • Application building blocks
  • File system operations
  • Text processing and regular expressions

Module 5: Data Handling and Analysis

  • Dates and times
  • Data persistence and exchange
  • Data compression and archiving
  • Cryptography
  • Mathematics and data analysis

Module 6: Advanced Standard Library Topics

  • Concurrency with processes
  • Networking and Internet/Web services
  • GUI frameworks (brief overview)

Day 3: Python Test Frameworks

Module 7: Basic Testing Concepts

  • Source code verification
  • Unit testing with pytest
  • Property-based testing with hypothesis

Module 8: Advanced Testing Techniques

  • Mutation testing
  • Behaviour-driven testing with behave
  • Keyword and data-driven testing with Robot Framework

Module 9: Practical Application - Crafting Your Own Test Automation Tool

  • In this final module, you will apply the knowledge and skills acquired throughout the course to develop a practical test automation tool of your choice. This hands-on project integrates Python programming, testing frameworks, and AI-assisted development.
  • Choose a project that excites you, adds value to your testing workflow, or addresses a specific challenge in your work environment.

Example Project Ideas:

  • AI-Enhanced Test Case Generator
  • Automated API Testing for Web Applications
  • Behaviour-Driven Development (BDD) Test Automation Framework