Course Outline
Introduction to Selenium with Python
- Why choose Selenium for web testing.
- Advantages of Python over other languages for test automation.
- Real-world use cases for 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 functionality.
- Selenium WebDriver: browser automation APIs.
- Selenium Grid: parallel and distributed testing capabilities.
Python Scripting Essentials for Automation
- Python basics tailored for testers.
- Working with data structures in test scripts.
- Utilizing Pytest for assertions and fixtures.
WebDriver in Action
- Navigating web applications.
- Locating elements: locators, CSS selectors, XPath, and 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
- Addressing common issues with locators, waits, and synchronization.
- Stabilizing flaky tests.
- Best practices for maintaining test suites.
Summary and Next Steps
Requirements
- Basic experience with Python programming.
- Fundamental knowledge 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.