Course Outline
Introduction to Selenium with Python
- Reasons for choosing Selenium in web testing
- Benefits of Python compared to other languages for test automation
- Real-world applications of Selenium and Python
Installation and Setup
- Setting up Python and IDEs (such as PyCharm and VS Code)
- Installing Selenium and WebDrivers
- Configuring Pytest as the test runner
Selenium 4 Architecture and Components
- Selenium IDE: rapid record-and-playback capabilities
- Selenium WebDriver: browser automation APIs
- Selenium Grid: enabling parallel and distributed testing
Python Scripting Essentials for Automation
- Python fundamentals for testers
- Utilizing data structures in test scripts
- Leveraging Pytest for assertions and fixtures
WebDriver in Action
- Navigating web applications
- Locating elements: using locators, CSS selectors, XPath, and relative locators
- Interacting with forms, alerts, iframes, and dropdowns
Framework Design with Page Object Model (POM)
- Introduction to POM
- Constructing reusable page classes
- Implementing data-driven and keyword-driven tests
Advanced Test Automation
- Executing tests across multiple browsers
- Conducting parallel testing with Selenium Grid and Pytest-xdist
- Strategies for cross-browser testing
Continuous Integration and Reporting
- Integrating tests with Jenkins, GitHub Actions, or GitLab CI
- Generating reports using Allure or Pytest-html
- Managing version control and adhering to best practices with Git
Troubleshooting and Best Practices
- Addressing common issues related to locators, waits, and synchronization
- Stabilizing flaky tests
- Best practices for maintaining test suites
Summary and Next Steps
Requirements
- Foundational Python programming experience
- Basic understanding of test automation concepts
- Familiarity with web applications and browsers
Audience
- Testers
- Developers
- QA automation engineers
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 3200 € + VAT*
Contact us for an exact quote and to hear our latest promotions
Testimonials (2)
hands on exercises, easier to retain information
ashley bolen - Insurance Corporation of British Columbia
Course - Test Automation with Selenium
Hands-on exercises related to content really helps to understand more about each topic. Also, style of start class with lecture and continue with hands-on exercise is good and helpful to relate with the lecture that presented earlier.