Course Outline
Getting Started with Selenium and Python
- The rationale for using Selenium in web testing
- Why Python is preferred over other languages for test automation
- Practical examples of using Selenium and Python
Installation and Configuration
- Configuring Python and IDEs (PyCharm, VS Code)
- Installing Selenium and associated WebDrivers
- Setting up Pytest as the test runner
Selenium 4 Architecture and Key Components
- Selenium IDE: for rapid record-and-playback tasks
- Selenium WebDriver: for browser automation APIs
- Selenium Grid: for parallel and distributed testing
Python Scripting Fundamentals for Automation
- Essential Python concepts for testers
- Managing data structures within test scripts
- Utilizing Pytest for assertions and fixtures
Applying WebDriver
- Navigating through web applications
- Element location strategies: locators, CSS selectors, XPath, and relative locators
- Interacting with forms, alerts, iframes, and dropdown menus
Framework Design Using Page Object Model (POM)
- Overview of the POM approach
- Constructing reusable page classes
- Implementing data-driven and keyword-driven testing strategies
Advanced Test Automation Techniques
- Executing tests on multiple browsers
- Parallel testing using Selenium Grid and Pytest-xdist
- Strategies for cross-browser testing
Continuous Integration and Reporting
- Connecting tests with Jenkins, GitHub Actions, or GitLab CI
- Generating reports using Allure or Pytest-html
- Version control and best practices using Git
Troubleshooting and Best Practices
- Resolving common issues related to locators, waits, and synchronization
- Improving the reliability of flaky tests
- Maintaining scalable and sustainable test suites
Course Summary and Future Directions
Requirements
- Fundamental Python programming skills
- Basic understanding of test automation principles
- Familiarity with web applications and browser functionality
Target Audience
- Testers
- Developers
- QA automation engineers
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.