Video description
Python is a popular choice for implementing Artificial Intelligence and web security in any application. This made the Quality Assurance (QA) industry shift its focus to Python for implementing test automation to support AI projects. This course will help you perform testing with Python automation using Selenium WebDriver.
The course begins with the installation process of Python and Selenium. Next, you will cover the basics of Python and move on to grasp the important topics that will help you write flawless programs in Python. Moving ahead, you will run tests in different browsers with the help of the Selenium Python package. Next, you will run a unit test in Pytest testing framework and develop an end-to-end Selenium Python framework from scratch. Then, you will integrate the Selenium Python framework into the Jenkins Continuous Integration (CI) tool and read and write data from Excel to the Selenium Python framework.
Toward the end, you will get an overview of Git and learn the importance of GitHub and its uses. You will understand staging and commit in Git as well as learn to resolve merge conflicts with Git.
By the end of this course, you will be able to use Python and Selenium for performing automation testing of applications.
What You Will Learn
- Become familiar with data types, variables, and program flow of Python
- Build logic to automate Hyper Text Markup Language (HTML) web tables using Selenium Python
- Handle auto-suggestive dynamic dropdowns using Selenium WebDriver
- Handle advance user interactions, child windows, and frames with Selenium
- Log and generate HTML reports in the Python framework
- Implement data-driven mechanism by removing hard coding data from tests
Audience
If you are new to testing, or an experienced manual tester, who wants to use Selenium and Python for automation testing, then this course is for you. No prior Python programming or automation testing experience is required for getting started on this course.
About The Author
Rahul Shetty: Rahul Shetty is the founder and trainer at Rahul Shetty Academy. He is a passionate software tester and has 13 years of rich experience in the IT industry. He has completed more than 300 offline training batches. Rahul has extensive knowledge in web automation testing, mobile automation testing, and API automation testing. He has also worked with various CMM-level organizations and managed the set-up of QA processes for projects.
Table of contents
- Chapter 1 : Python Testing and its Importance
- Chapter 2 : Complete Installation Guide for Python and Selenium Learning
- Chapter 3 : Getting Started with Python Basics
- Chapter 4 : Understanding Python Data Types and Variables
- Chapter 5 : Program Flow Control in Python
- Chapter 6 : Understanding Object-Oriented Principles of Python
- Chapter 7 : Reading and Writing Files in Python
- Chapter 8 : Exception Handling Mechanism
- Chapter 9 : Selenium Python Package Setup with Different Browser Execution
- Chapter 10 : Different Types of Locators in WebDriver API with Examples
-
Chapter 11 : Techniques to Automate Web Elements
- Web Applications to Practice Selenium Automation
- Identifying Static Dropdowns Using Select Class of Selenium
- Handling AutoSuggestive Dynamic Dropdowns Using Selenium Webdriver
- Get Attribute of Values to Validate Dynamic Texts on the Browser
- Handling CheckBox Dynamically Using Selenium Python Programming
- Understand radiobutton Automation Methods with Examples
- Handling Java / JavaScript Alert Popups Using Selenium
- Chapter 12 : Synchronization (Explicit and Implicit Waits) in Selenium Web Driver
- Chapter 13 : Deep Dive into Functional Automation Using Python
- Chapter 14 : Handling Advanced User Interactions and Child Windows, Frames
- Chapter 15 : Selenium Python – Miscellaneous Features
- Chapter 16 : End-to-End Practice Project with Complete Methods
- Chapter 17 : Framework Design Plan
-
Chapter 18 : Part I – Unit Testing Framework
- Pytest and Its Advantages
- Running Pytests from the Terminal with Different Command Flags
- Running Selected Pytests from a Set of Tests
- Grouping Tests with Pytest Marks to Run Selected Groups
- Fixtures and Their Importance in Pytest Framework
- Importance of Conftest File
- Introduction to Data-Driven Fixtures
- Parameterizing Tests with Multiple Datasets Using Fixtures
- Generating HTML Reports for Pytest Test Cases
- Chapter 19 : Part II – Logging and Generating HTML Reports in Python Framework
-
Chapter 20 : Part III – Developing End-to-End Selenium Python Framework from Scratch
- Must-Watch Lecture on How Selenium Updated Its Version
- Standards of Writing Selenium Tests in Framework
- Generalizing Browser Invocation Code
- Creating Setup Fixtures and Passing Class Objects to Test
- Passing Command-Line Options to Select a Browser at Runtime
- Page Object Design Pattern and Its Importance
- Implementing Page Objects Mechanism into Framework Tests
- Optimizing Page Objects
- Creating Custom Utilities
- Implementing Framework Standards
- Debugging and Developing Custom Utilities
- Implementing Data-Driven Mechanism
- Parameterizing the Tests with Multiple Datasets
- Implementing Logging into Framework Tests
- Generating HTML Reports with Logging Integration
- Chapter 21 : Part IV – Integrating Framework to Jenkins
- Chapter 22 : Part V – Reading and Writing Data from Excel to Selenium Python Framework
- Chapter 23 : Important Tips for Your New Job
-
Chapter 24 : Understanding Version Control System GIT
- Introduction to GIT
- Importance of GitHub and Its Uses
- Creating Git Config and Repositories
- Understanding Staging and Commit in Git
- Add Remote Repository and Push the Committed Code
- End-to-End Working Example on Git Commands - 1
- End-to-End Working Example on Git Commands - 2
- Importance of Branching in GIT
- How to Resolve Merge Conflicts with GIT
Product information
- Title: Selenium Python Automation Testing from Scratch and Frameworks
- Author(s):
- Release date: January 2021
- Publisher(s): Packt Publishing
- ISBN: 9781800567733
You might also like
video
Complete Python Scripting for Automation
Over the last few years, Python has gained immense popularity. The demand for the programming language …
video
Browser Automation with Python and Selenium
Python is one of the most popular languages in the world and its demand is only …
video
Learn Automation Testing with Java and Selenium WebDriver
Writing your first automation test with Java and Selenium Webdriver is a lot of fun. Java …
video
Selenium WebDriver 4 with Python - Zero To Hero
Are you looking to step into the automation industry with the latest technologies available in the …