Course Outline
Getting Started with Selenium in Python
- The value of Selenium in web testing
- Why Python is preferred over other languages for test automation
- Practical applications of Selenium and Python in industry
Installation and Configuration
- Setting up Python and integrated development environments (such as PyCharm or VS Code)
- Installing Selenium and the necessary WebDrivers
- Configuring Pytest as the primary test runner
Understanding Selenium 4 Architecture and Components
- Selenium IDE for quick record-and-playback tasks
- Selenium WebDriver for browser automation APIs
- Selenium Grid for enabling parallel and distributed testing
Python Scripting Fundamentals for Automation
- Essential Python concepts for testers
- Utilizing data structures within test scripts
- Using Pytest for assertions and managing fixtures
Practical WebDriver Usage
- Navigating through web applications
- Element location strategies: locators, CSS selectors, XPath, and relative locators
- Handling forms, alerts, iframes, and dropdown menus
Designing Frameworks with Page Object Model (POM)
- Overview of the POM approach
- Creating reusable page classes
- Implementing data-driven and keyword-driven testing strategies
Advanced Automation Techniques
- Executing tests across multiple browsers
- 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
- Version control management and best practices using Git
Troubleshooting and Industry Best Practices
- Resolving common issues related to locators, waits, and synchronization
- Stabilizing inconsistent (flaky) tests
- Best practices for maintaining long-term test suite health
Recap and Future Directions
Requirements
- Fundamental experience in Python programming
- Foundational understanding of test automation principles
- General familiarity with web applications and browser functionality
Target 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.