Video description
Are you looking to step into the automation industry with the latest technologies available in the market? Or are you interested in learning how Selenium WebDriver and Python programming are used in automation projects? Whatever your motivation is, this course will help you build a solid foundation in web automation frameworks with ease.
This course provides complete coverage of the web automation framework using Selenium WebDriver and Python programming. You will learn the basic concepts of Python programming, such as variables, data types, control flow, object-oriented programming, exceptional handling, and functions. In addition to this, you will learn how to install and run Selenium WebDriver on various browsers. You will then gradually progress to designing automation frameworks to test web applications.
By the end of this course, you will become familiar with Python and Selenium WebDriver and will have developed the skills to test real-world web applications on any browser.
What you will learn
- Set up and configure Python on your machine
- Install Selenium WebDriver in a Python environment using the pip command
- Get to grips with unit test and the Pytest framework
- Become well-versed in data-driven testing
- Perform cross-browser testing
- Discover how to integrate Jenkins and GitHub with Selenium
Audience
Whether you are a quality assurance professional or a manual tester who is looking to enter the field of automation testing, this course is for you. No previous knowledge of automation or coding is required to get started with this course as all the topics are taught from scratch.
About the Author
Let's Kode It : Let’s Kode It is here with a mission to teach everyone a new skill—doing what they have always wanted to do. They are a group of software professionals with more than 10 years of expertise in different areas of software industries and working as team leads in multinational companies. All their instructors have master’s degrees from reputed universities. Their expertise lies in various fields of Software Development Life Cycle (SDLC)—from application development and testing to system administration.
Be it programming or creating a professional-looking MS Word document, they believe anyone can code and that coding is not something out of this world. Their goal is to offer high-quality technology courses, which will suit a newbie as well as an intermediate.
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Setup and Configuration
-
Chapter 3 : Understanding Variables and Data Type
- Python Terminal Walkthrough
- Understanding Objects and References
- Variable Rules
- Numbers – Data Type and Math Operations
- Numbers – Exponentiation and Modulo
- Arithmetic Order of Precedence
- Boolean Data Type
- Working with Strings in Python
- String Methods - Part 1
- String Methods - Part 2
- String Slicing and Indexing
- Strings Formatting
- Chapter 4 : Advanced Data Types
- Chapter 5 : Comparison and Boolean Operators
- Chapter 6 : Program Control Flow
- Chapter 7 : Functions/Methods - Working with Reusable Code
- Chapter 8 : Classes – Object-Oriented Programming
- Chapter 9 : Exception Handling
- Chapter 10 : Modules
- Chapter 11 : Working with Files
- Chapter 12 : How To Inspect Elements On Different Browsers
- Chapter 13 : Selenium WebDriver Setup and Installation
- Chapter 14 : Selenium WebDriver Running Tests on Various Browsers
-
Chapter 15 : Selenium WebDriver - Finding Elements
- Understanding Elements and Document Object Model (DOM)
- Finding Element by ID and Name
- Understanding Dynamic IDs and Selenium Exception
- Finding Elements by XPath and Cascading Style Sheets (CSS) Selectors
- Finding Elements by Link Text
- Finding Elements by Class Name and Tag Name
- Finding a List of Elements
- Interview Questions
- Chapter 16 : Cascading Style Sheets (CSS) Selectors - Advanced Locators
- Chapter 17 : XPath - Advanced Locators
-
Chapter 18 : Selenium WebDriver - Working with WebElements
- Browser Interactions Introduction
- Browser Interaction Practical Implementation
- Clicking and Typing on a WebElement
- Finding the State of a WebElement (Disabled and Enabled Elements)
- Working with Radio Buttons and Checkboxes
- Working with Elements List
- Understanding Drop-Down Elements
- Working with a Drop-Down Element - Practical Example
- Working with Hidden Elements
- Working with Hidden Elements - Practical Example
- Interview Questions
- Chapter 19 : Selenium WebDriver - Useful Methods and Properties
- Chapter 20 : Selenium WebDriver - Wait Types
-
Chapter 21 : Selenium WebDriver – Advanced Interactions
- Calendar Selection Introduction
- Calendar Selection - Practical Example
- Calendar Selection – Real-Time Example
- AutoComplete - Working with Dynamic Dropdowns
- AutoComplete - Additional Examples
- How to Take Screenshots
- Generic Method to Take Screenshots
- Executing JavaScript Commands
- How to Find Size of the Window
- How to Scroll Element into View
- Interview Questions
- Chapter 22 : Selenium WebDriver - File Upload And Download
- Chapter 23 : Selenium WebDriver - Switch Window and iframes
- Chapter 24 : Selenium WebDriver - Working with Actions Class
- Chapter 25 : Logging Infrastructure
- Chapter 26 : Unittest Infrastructure
-
Chapter 27 : Pytest - Advanced Testing Framework
- Pytest Installation and Writing Your First Script
- Working with Pytest Fixtures
- Multiple Ways to Run Test Cases
- Conftest - Common Fixtures to Multiple Modules
- Maintaining Run Order of Tests
- Running Tests Based on Command-Line Arguments
- Structure Tests in a Test Class
- Returning a Value from Fixtures
- Generating HTML Test Report
-
Chapter 28 : Automation Framework - Part 1
- Automation Framework Introduction
- Understanding Framework Structure
- Where to Practice the Framework?
- Test Scenario without Framework
- Converting Test Case to the Page Object Model (POM) Framework
- Refactoring Your Page Object Class - Part 1
- Building Your Custom Selenium Driver Class
- Refactoring Your Page Object Class - Part 2
- Chapter 29 : Automation Framework - Part 2
-
Chapter 30 : Automation Framework - Part 3
- Asserting without Stopping Test Execution
- Asserting without Stopping Test Execution - Practical Example - Part – 1
- Asserting without Stopping Test Execution - Practical Example - Part – 2
- Implementing Screenshots in a Framework
- Taking Screenshots on Test Failure
- BasePage and Util Concept Introduction
- Inheriting the BasePage Class
-
Chapter 31 : Automation Framework - Practice Exercise
- Custom Driver - Additional Methods before Exercise
- Practice Exercise Question
- Finding Element Locators - Solution - Part 1
- Creating Register Courses Page Class - Solution - Part 2
- Creating Register Courses Test Class - Solution Part 3
- Practice Exercise Solution Update - Part 1
- Practice Exercise Solution Update - Part 2
- Handling Dynamic iframes in the Automation Framework
- Chapter 32 : Data-Driven Testing
- Chapter 33 : Running Complete Test Suite
-
Chapter 34 : Git and GitHub - Version Control System
- Git and GitHub Introduction
- Git Installation on Windows
- Git Installation on Mac
- Creating Local Git Repository - Staging and Commit
- File Check In - GitHub Remote Repository
- Advantages and Importance of Git Branches
- File Check in and Resolving Merge Conflicts – Real-Time Example
- Course Code Files on GitHub
- GitHub Project Check-In and Clone
- Chapter 35 : Continuous Integration with Jenkins
- Chapter 36 : Conclusion
Product information
- Title: Selenium WebDriver 4 with Python - Zero To Hero
- Author(s):
- Release date: December 2022
- Publisher(s): Packt Publishing
- ISBN: 9781789131550
You might also like
video
Selenium WebDriver 4 with Java - Zero To Hero
Selenium WebDriver is an open-source automation tool that works easily across multiple OS and browsers and …
book
Hands-On Selenium WebDriver with Java
Get started with Selenium WebDriver, the open source library for automating tests to ensure your web …
video
Browser Automation with Python and Selenium
Python is one of the most popular languages in the world and its demand is only …
video
Selenium Python Automation Testing from Scratch and Frameworks
Python is a popular choice for implementing Artificial Intelligence and web security in any application. This …