Course Outline
Getting Started with Selenium and Python
- The role of Selenium in web testing
- Benefits of Python compared to other languages in automation
- Practical applications of Selenium and Python in industry settings
Environment Setup and Installation
- Configuring Python and IDEs such as PyCharm or VS Code
- Installing Selenium components and WebDrivers
- Setting up Pytest as the primary test runner
Selenium 4 Structure and Key Components
- Selenium IDE: For rapid record-and-playback tasks
- Selenium WebDriver: APIs for browser control
- Selenium Grid: Facilitating parallel and distributed testing
Essential Python Scripting for Automation
- Core Python concepts for testers
- Utilizing data structures within test scripts
- Leveraging Pytest for assertions and fixture management
Practical WebDriver Application
- Navigating web application interfaces
- Identifying elements via locators, CSS selectors, XPath, and relative locators
- Managing interactions with forms, alerts, iframes, and dropdown menus
Designing Frameworks with the Page Object Model (POM)
- Core concepts of the POM architecture
- Creating reusable page classes
- Developing data-driven and keyword-driven tests
Advanced Automation Techniques
- Executing tests across diverse browser environments
- Achieving parallel testing via Selenium Grid and Pytest-xdist
- Strategies for effective cross-browser testing
CI/CD Integration and Reporting
- Incorporating tests into Jenkins, GitHub Actions, or GitLab CI workflows
- Generating insights using Allure or Pytest-html reports
- Managing version control and adhering to best practices with Git
Resolving Issues and Best Practices
- Addressing common challenges related to locators, waits, and synchronization
- Mitigating flaky tests for consistent results
- Applying best practices for long-term suite maintainability
Course Wrap-up and Future Directions
Requirements
- Foundational Python programming skills
- Basic understanding of test automation principles
- Familiarity with web applications and browser environments
Intended 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
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.
Nazeera Mohamad - Ministry of Science, Technology and Innovation
Course - Introduction to Data Science and AI using Python
The instructor's teaching style was very good.