Get in Touch
 Duration 14 hours

Course Outline

Introduction to Selenium with Python

  • The rationale for using Selenium in web testing
  • Benefits of Python compared to other languages for test automation
  • Real-world applications of Selenium and Python

Installation and Setup

  • Configuring Python and IDEs (PyCharm, VS Code)
  • Installing Selenium and WebDrivers
  • Setting up Pytest as the test runner

Selenium 4 Architecture and Components

  • Selenium IDE: rapid record-and-playback functionality
  • Selenium WebDriver: APIs for browser automation
  • Selenium Grid: parallel and distributed testing

Python Scripting Essentials for Automation

  • Python fundamentals for testers
  • Utilising data structures in test scripts
  • Employing Pytest for assertions and fixtures

WebDriver in Action

  • Navigating through 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 the POM
  • Constructing reusable page classes
  • Implementing data-driven and keyword-driven tests

Advanced Test Automation

  • Executing tests on multiple browsers
  • 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
  • Version control and best practices with Git

Troubleshooting and Best Practices

  • Common challenges with locators, waits, and synchronisation
  • Stabilising flaky tests
  • Best practices for maintaining scalable test suites

Summary and Next Steps

Requirements

  • Fundamental Python programming experience
  • Basic understanding of test automation concepts
  • Familiarity with web applications and browsers

Audience

  • Testers
  • Developers
  • QA automation engineers

Number of participants


Price per participant

Testimonials (2)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories