Course Outline
Introduction to Selenium with Python
- Why Selenium for web testing
- Advantages of Python vs other languages for test automation
- Real-world use cases of Selenium and Python
Installation and Setup
- Setting up Python and IDEs (PyCharm, VS Code)
- Installing Selenium and WebDrivers
- Configuring Pytest as the test runner
Selenium 4 Architecture and Components
- Selenium IDE: quick record-and-playback
- Selenium WebDriver: browser automation APIs
- Selenium Grid: parallel and distributed testing
Python Scripting Essentials for Automation
- Python basics for testers
- Working with data structures in test scripts
- Using Pytest for assertions and fixtures
WebDriver in Action
- Navigating web applications
- Locating elements: locators, CSS selectors, XPath, relative locators
- Interacting with forms, alerts, iframes, and dropdowns
Framework Design with Page Object Model (POM)
- Introduction to POM
- Building reusable page classes
- Implementing data-driven and keyword-driven tests
Advanced Test Automation
- Running tests on multiple browsers
- Parallel testing with Selenium Grid and Pytest-xdist
- Cross-browser testing strategies
Continuous Integration and Reporting
- Integrating tests with Jenkins, GitHub Actions, or GitLab CI
- Generating reports with Allure or Pytest-html
- Version control and best practices with Git
Troubleshooting and Best Practices
- Common issues with locators, waits, and synchronization
- Stabilizing flaky tests
- Best practices for maintainable test suites
Summary and Next Steps
Requirements
- Basic Python programming experience
- Basic knowledge of test automation concepts
- Familiarity with web applications and browsers
Audience
- Testers
- Developers
- QA automation engineers
Testimonials (5)
The fact of having more practical exercises using more similar data to what we use in our projects (satellite images in raster format)
Matthieu - CS Group
Course - Scaling Data Analysis with Python and Dask
I enjoyed everything as it is all new for me and I can see the added value it can ring to my work.
Zareef - BMW South Africa
Course - Tosca: Model-Based Testing for Complex Systems
Very good preparation and expertise of a trainer, perfect communication in English. The course was practical (exercises + sharing examples of use cases)
Monika - Procter & Gamble Polska Sp. z o.o.
Course - Developing APIs with Python and FastAPI
It was easy to understand and to implement.
Thomas Young - Canadian Food Inspection Agency
Course - Robot Framework: Keyword Driven Acceptance Testing
The trainer explained every functionality thoroughly.