Course Outline
Introduction to Selenium with Python
- The rationale for using Selenium in web testing.
- Benefits of choosing Python over other languages for test automation.
- Practical, real-world use cases involving Selenium and Python.
Installation and Setup
- Configuring Python and IDEs such as PyCharm and VS Code.
- Installing Selenium and corresponding WebDrivers.
- Setting up Pytest as the test runner.
Selenium 4 Architecture and Components
- Selenium IDE: facilitating quick record-and-playback.
- Selenium WebDriver: browser automation APIs.
- Selenium Grid: enabling parallel and distributed testing.
Python Scripting Essentials for Automation
- Essential Python basics for testers.
- Utilizing data structures within test scripts.
- Employing Pytest for assertions and fixtures.
WebDriver in Action
- Navigating through web applications.
- Element location techniques: locators, CSS selectors, XPath, and relative locators.
- Interacting with forms, alerts, iframes, and dropdowns.
Framework Design with Page Object Model (POM)
- Introduction to the POM approach.
- Constructing reusable page classes.
- Implementing data-driven and keyword-driven test strategies.
Advanced Test Automation
- Executing tests across multiple browsers.
- Conducting parallel testing using Selenium Grid and Pytest-xdist.
- Strategies for effective cross-browser testing.
Continuous Integration and Reporting
- Integrating tests with Jenkins, GitHub Actions, or GitLab CI.
- Generating comprehensive reports using Allure or Pytest-html.
- Applying version control and best practices with Git.
Troubleshooting and Best Practices
- Addressing common issues related to locators, waits, and synchronization.
- Stabilizing tests that exhibit flakiness.
- Adopting best practices for building maintainable test suites.
Summary and Next Steps
Requirements
- Foundational experience with Python programming.
- Basic understanding of test automation concepts.
- Familiarity with web applications and browsers.
Audience
- Testers
- Developers
- QA automation engineers
Testimonials (3)
hands on exercises, easier to retain information
ashley bolen - Insurance Corporation of British Columbia
Course - Test Automation with Selenium
Key topics can be discussed and agreed upon with the trainer in advance. Relaxed and pleasant atmosphere during the seminar days.
Lorenz - Continentale Lebensversicherung AG
Course - Advanced Selenium
I gained new knowledge and I'm pretty confident about it. Nothing unclear.