
Learn automation testing with Selenium and Python, contrasting manual and automation approaches, and master locators, web elements, synchronization, and TDD and BDD frameworks from basics to advanced.
Compare manual and automation testing, debunk myths, and explain when to use each. Learn how automation accelerates regression, performance, and load testing while manual testing covers exploratory and adhoc testing.
Learn how locators in Selenium identify elements using id, name, XPath, CSS selectors, and DOM paths, and apply these strategies to automate a login page.
Learn to handle radio buttons and checkboxes in selenium with python, using find element(s), xpath, and link text on a demo web shop, including remember me interactions.
Master selenium and python dropdown handling by using the select element to choose country by value, index, or visible text, demonstrated on a demo web shop's books page and cart.
Learn to handle alert boxes in Selenium by triggering an alert from the search button, switching to the alert, and accepting or dismissing it, using XPath to locate the button.
Master handling multiple windows in selenium by switching between the parent and child windows using window handles and the switch to window method, while reading data from the active window.
Master synchronization in Selenium by understanding implicit and explicit waits, and how page loading and heavy content affect element availability.
Learn to implement explicit waits with WebDriverWait and expected conditions to synchronize tests, waiting dynamically until elements meet criteria such as title, visibility, or clickability.
Learn the page object model in Selenium with Python, creating an object repository for login, cart, and other elements to enable reusable, maintainable test automation across pages.
Implement a page object model with selenium python, using data.py for base url and credentials, a base page with common actions, and a login page that inherits it.
Learn to implement bdd with selenium and python by creating features and steps directories, writing .feature files using gherkin for login tests, and validating end-to-end flows.
Organize a selenium and Python project for behavior-driven development, install behave, and convert a feature file into executable steps with feature and step definitions.
Execute Selenium automation with Python in a behave BDD workflow, run features/login.feature, manage the driver, and assert text while reviewing console output.
Recap automation testing with Selenium and Python, covering element handling, waits, and page object model, plus unit testing (TDD) and BDD frameworks for hybrid Selenium scripts.
"Introduction to Automated Testing with Selenium using Python" is a comprehensive course that equips learners with essential skills in automated software testing using Selenium. The course starts by introducing the fundamental concepts of automation testing and provides insights into the distinctions between manual and automated testing. Learners are then guided through Python basics, offering a solid foundation for scripting automated tests. We will be learning the followings.
Section 1 & 2: Introduction
Lecture 1 introduces learners to the course, offering a sneak peek into the comprehensive content they will explore. Lecture 2 in Section 2, "Getting Started," provides an overview of Automation Testing, followed by a thoughtful comparison of Manual Vs Automation Testing in Lecture 3. The section concludes with a foundational understanding of Python Basics in Lecture 4.
Section 3: Selenium WebDriver Basics and API Testing
This section begins with an Introduction to Selenium in Lecture 5, followed by an in-depth exploration of Locators in Selenium in Lectures 6 and 7. Lecture 8 focuses on the essential WebElement in Selenium and its basic methods. The subsequent lectures tackle the handling of different elements such as Radio, Checkbox, Dropdown, DatePicker, Popups, and Windows.
Section 4: Synchronization
Section 4 delves into the crucial aspect of Synchronization in Selenium, addressing timing issues in automation scripts. Lecture 14 introduces Synchronization, followed by detailed discussions on Implicit and Explicit Waits in Lectures 15 and 16.
Section 5: Unit Test With Selenium
Unit Testing with Selenium takes the spotlight in Section 5, with Lecture 17 providing an introduction and Lecture 18 guiding learners through practical implementations.
Section 6: Page Object Model
Section 6 introduces the Page Object Model (POM) in Lecture 19, followed by comprehensive Implementation in Lectures 20 and 21. Learners gain practical insights into applying this design pattern effectively.
Section 7: BDD with Selenium
Behavior-Driven Development (BDD) with Selenium is the focus of Section 7. Lecture 22 introduces BDD, and subsequent lectures cover Feature Files, Creating Steps, and Writing Automation Scripts, showcasing a practical output in Lecture 26.
Section 8: Conclusion
The course wraps up with Section 8, providing a comprehensive conclusion in Lecture 27. Key takeaways are summarized, and learners are encouraged to apply their skills confidently in real-world scenarios. This structured course ensures a well-rounded understanding of automation testing using Selenium WebDriver and Python, making it valuable for both beginners and experienced testers.