O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Selenium WebDriver With Python 3.x - Novice To Ninja

Video Description

Join the best course to learn how to implement an automation framework from scratch using real web application

About This Video

  • Step into the automation industry with the latest technologies in the market.
  • Learn GUI automation using Selenium WebDriver with Python programming language and the other latest framework technologies.
  • Interested in learning how Selenium WebDriver is used in projects? Then this is for you.

In Detail

This course includes a wide range of topics from Selenium WebDriver basics and advanced, Python programming concepts, Unittest and Pytest frameworks, automation framework design (Page Objects, Data Driven, Reading CSV Files), logging infrastructure, cross-browser testing, interview preparation. All the materials are provided including the code files. You achieve two targets with one single course - The complete Python programming language and Selenium WebDriver automation. We start from beginners' level and go through to advanced level. This is a single course for everything you need to know related to Web UI automation.

Table of Contents

  1. Chapter 1 : Introduction
    1. Introduction 00:01:27
    2. How to reach me anytime and ask questions? 00:03:40
  2. Chapter 2 : Setup and Configuration
    1. Python Installation – Windows 00:03:52
    2. Configuration of Python – Windows 00:04:20
    3. Python Installation and Setup – Mac 00:09:17
    4. Must Watch Lecture Before Moving Forward 00:06:56
    5. Package Management Using PIP 00:08:05
    6. IDE Options for Python Development 00:05:46
    7. Installing iPython 00:03:41
  3. Chapter 3 : Understanding Variables and Data Type
    1. Python Terminal Walkthrough 00:11:45
    2. Understanding Objects and References 00:12:01
    3. Variables Rules 00:07:24
    4. Numbers Data Type and Math Operations 00:07:26
    5. Numbers - Exponentiation And Modulo 00:05:45
    6. Arithmetic Order of Precedence 00:06:51
    7. Boolean Data Type 00:06:02
    8. Working with Strings 00:09:33
    9. String Methods - Part 1 00:10:59
    10. String Methods - Part 2 00:08:10
    11. More String Slicing and Indexing 00:07:41
    12. Strings Formatting 00:05:10
  4. Chapter 4 : Advanced Data Types
    1. List and Accessing the Elements 00:07:54
    2. List Methods 00:10:54
    3. Working with Dictionary 00:10:34
    4. Nested Dictionary 00:07:03
    5. Dictionary Methods 00:06:41
    6. Working with Tuple 00:06:28
  5. Chapter 5 : Comparison and Boolean Operators
    1. Working with Comparators 00:09:49
    2. Understanding Boolean Operators 00:07:10
    3. Boolean Operators - Order of Precedence 00:07:41
  6. Chapter 6 : Program Control Flow
    1. Conditional Logic - If Else Conditions 00:11:20
    2. While Loop Demo 00:07:49
    3. Break Continue and While/Else 00:09:42
    4. For Loop Demo 00:11:25
    5. Iterating Multiple Lists - Using the Zip Function 00:03:49
    6. Using Range Function In For Loop 00:08:36
  7. Chapter 7 : Functions/Methods - Working With Reusable Code
    1. Understanding Methods 00:10:27
    2. Working with Return Values 00:12:30
    3. Working With Positional / Optional Parameters 00:07:21
    4. Understanding Variable Scope 00:10:16
    5. More Built-In Functions 00:09:45
    6. Practice Exercise with Solution Homework 00:10:33
  8. Chapter 8 : Classes - Object Oriented Programming
    1. Understanding Objects / Classes 00:09:15
    2. Create Your Own Object 00:12:37
    3. Create Your Own Methods 00:08:59
    4. Inheritance 00:08:07
    5. Method Overriding 00:08:48
    6. Practice Exercise with Solution Homework 00:04:02
  9. Chapter 9 : Exception Handling
    1. Exception Handling Demo 00:10:18
    2. Finally and Else Block 00:07:39
    3. Practice Exercise with Solution Homework 00:03:28
  10. Chapter 10 : Modules
    1. Builtin Modules 00:08:54
    2. Create Your Own Modules 00:06:42
  11. Chapter 11 : Working with Files
    1. How to Write Data to a File 00:08:48
    2. How to Read a File 00:06:24
    3. File Handling Using "With" And "As" Keywords 00:09:32
  12. Chapter 12 : How to Inspect Elements Different Browsers - Add-Ons
    1. Introduction 00:04:04
    2. How to Inspect Elements Using Firefox DevTools 00:12:41
    3. Firefox Add-On - Try XPath 00:06:58
    4. How to Inspect Elements Using Chrome DevTools 00:10:08
    5. Chrome Extension - Part 1 00:07:16
    6. Chrome Extension - Part 2 00:04:43
    7. Tricks to Generate XPath 00:10:10
    8. FirePath Fans -> If you want to use FirePath 00:05:57
  13. Chapter 13 : Selenium WebDriver -> Setup and Installation
    1. Selenium WebDriver Installation – Mac 00:04:17
    2. Selenium WebDriver Installation – Windows 00:03:01
    3. Selenium 3.x Update 00:08:06
  14. Chapter 14 : Selenium WebDriver -> Running Tests on Various Browsers
    1. Running Tests on Firefox 00:08:48
    2. Running Tests on Google Chrome - Mac 00:06:21
    3. Running Tests on Google Chrome – Windows 00:05:52
    4. Requirements to Run Tests On IE 00:03:44
    5. Running Tests on Internet Explorer 00:02:31
    6. Running Tests on Safari 00:04:47
    7. Interview Questions 00:04:30
  15. Chapter 15 : Selenium WebDriver -> Finding Elements
    1. Understanding Elements and DOM 00:08:37
    2. Find Element by Id and Name 00:10:20
    3. Understanding Dynamic Ids and Selenium Exception 00:08:03
    4. Find Element by XPath and CSS Selectors 00:07:10
    5. Find Element by Link Text 00:06:22
    6. Find Element by Class Name and Tag Name 00:15:31
    7. Understanding "By" Class 00:07:24
    8. How to Find List of Elements 00:11:55
    9. Interview Questions 00:06:05
  16. Chapter 16 : CSS Selectors - Advanced Locators
    1. Using Ids with CSS Selectors to Find Elements 00:09:55
    2. How to Use Multiple CSS Classes to Find Elements 00:11:27
    3. Using Wildcards with CSS Selectors 00:11:28
    4. How to Find Child Nodes Using CSS Selectors 00:07:10
  17. Chapter 17 : XPath - Advanced Locators
    1. Difference between Absolute and Relative XPath 00:12:28
    2. How to Build an Effective XPath 00:05:31
    3. Using Text to Build an Effective XPath 00:07:45
    4. Build XPath Using Contains Keyword 00:06:24
    5. Build XPath Using Starts-With Keyword 00:08:02
    6. How to Find Parent and Sibling Nodes 00:07:38
    7. Practice Exercise with Solution + Interview Question 00:11:40
  18. Chapter 18 : Selenium WebDriver -> Working with Web Elements
    1. Browser Interactions Introduction 00:08:22
    2. Browser Interaction Practical Implementation 00:10:58
    3. How to Click and Type on a Web Element 00:15:54
    4. How to Find the State of a Web Element (Disabled and Enabled Elements) 00:10:29
    5. Radio Buttons and Checkboxes 00:14:18
    6. Working with Elements List 00:10:01
    7. Understanding Dropdown Elements 00:05:10
    8. Working With A Dropdown Element Practical Example 00:07:30
    9. How to Work With Hidden Elements 00:07:44
    10. Working With Hidden Elements - Practical Example 00:10:41
    11. Interview Questions 00:04:41
  19. Chapter 19 : Selenium WebDriver -> Useful Methods and Properties
    1. How to Get the Text on Element 00:04:37
    2. How to Get Value of Element Attribute 00:05:04
    3. Generic Method to Find Elements 00:14:45
    4. How to Check If Element Is Present 00:12:57
    5. How to Build Dynamic XPath 00:10:02
    6. Interview Questions 00:04:26
  20. Chapter 20 : Selenium WebDriver -> Wait Types
    1. Implicit Wait Vs Explicit Wait 00:12:48
    2. Implicit Wait Practical Example 00:04:29
    3. Explicit Wait Practical Example 00:08:48
    4. Generic Method to Work with Explicit Wait 00:11:19
    5. Interview Questions 00:04:06
  21. Chapter 21 : Selenium WebDriver -> Advanced
    1. Calendar Selection Introduction 00:08:47
    2. Calendar Selection Practical Example 00:04:28
    3. Calendar Selection Real Time Example 00:08:15
    4. AutoComplete Introduction 00:07:59
    5. AutoComplete Practical Example 00:04:50
    6. How to Take Screenshots 00:09:27
    7. Generic Method to Take Screenshots 00:06:41
    8. Executing JavaScript Commands 00:07:23
    9. How to Find Size of the Window 00:03:20
    10. How to Scroll Element into View 00:11:06
    11. Interview Questions 00:05:06
  22. Chapter 22 : Selenium WebDriver -> Switch Window and Iframes
    1. How to Switch Window Focus 00:09:41
    2. Switch to Window Practical Example 00:06:02
    3. How to Work With Iframes 00:11:08
    4. Switch to Iframe Practical Example 00:07:39
    5. Handling JavaScript Popup 00:08:56
  23. Chapter 23 : Selenium WebDriver -> Working with Actions Class
    1. Mouse Hover Actions 00:11:07
    2. How to Drag and Drop Element on a Web Page 00:07:28
    3. Working With Sliders Actions 00:05:50
  24. Chapter 24 : Logging Infrastructure
    1. Introduction to Logging Infrastructure 00:10:50
    2. Changing the Format of Logs 00:08:40
    3. Logger - Console Example 00:09:03
    4. Logger - Configuration File Example 00:12:27
    5. How to Write a Generic Custom Logger Utility 00:14:09
  25. Chapter 25 : Unittest Infrastructure
    1. Unittest Introduction 00:05:36
    2. Writing First Test Case 00:11:00
    3. How to Implement Class Level SetUp and TearDown Methods 00:05:47
    4. How to Assert a Test Method 00:17:03
    5. How to Run Code from Terminal 00:08:34
    6. How to Create a Test Suite 00:09:41
  26. Chapter 26 : Pytest -> Advanced Testing Framework
    1. Pytest Installation and First Script 00:09:10
    2. How to Work With PyTest Fixtures 00:04:47
    3. Multiple Ways to Run Test Cases 00:08:29
    4. Conftest -> Common Fixtures to Multiple Modules 00:11:00
    5. How to Maintain Run Order of Tests 00:09:07
    6. Running Tests Based On Command Line Arguments 00:11:43
    7. Structure Tests in a Test Class 00:11:28
    8. How to Return a Value from Fixtures 00:06:59
    9. How to Generate HTML Test Report 00:05:21
  27. Chapter 27 : Automation Framework - Part 1
    1. Automation Framework Introduction 00:10:26
    2. Understanding Framework Structure 00:05:04
    3. Test Scenario without Framework 00:10:58
    4. Convert Test Case to Page Object Model Framework 00:08:58
    5. Refactor Your Page Object Class - Part 1 00:11:27
    6. Build Your Custom Selenium Driver Class 00:10:32
    7. Refactor Your Page Object Class - Part 2 00:11:31
  28. Chapter 28 : Automation Framework - Part 2
    1. Add Logging to Automation Framework 00:11:08
    2. How to Verify Test Case Result 00:07:09
    3. Complete Login Page Test Cases 00:10:28
    4. Create Conftest to Implement Common Setup Methods 00:11:00
    5. Refactor Conftest Make Framework More Readable 00:08:11
  29. Chapter 29 : Automation Framework - Part 3
    1. How to Assert Without Stopping Test Execution 00:09:06
    2. How to Assert Without Stopping Test Execution Practical Example Part – 1 00:10:26
    3. How to Assert Without Stopping Test Execution Practical Example Part – 2\ 00:09:50
    4. Implement Screenshots in a Framework 00:10:54
    5. Taking Screenshots on Test Failure 00:07:17
    6. BasePage and Util Concept Introduction 00:14:42
    7. Inheriting BasePage Class 00:04:05
  30. Chapter 30 : Automation Framework -> Practice Exercise
    1. CustomDriver -> Additional Methods before Exercise 00:07:08
    2. Practice Exercise Question 00:08:06
    3. Find Element Locators -> Solution Part 1 00:04:59
    4. Create Register Courses Page Class -> Solution Part 2 00:11:46
    5. Create Register Courses Test Class -> Solution Part 3 00:11:03
  31. Chapter 31 : Data Driven Testing
    1. Setup and Configuration 00:04:34
    2. Data Driven Testing Practical Implementation 00:11:28
    3. Utility to Read CSV Data 00:07:57
    4. Multiple Data Sets Test Case Practical Example 00:08:01
  32. Chapter 32 : Running Complete Test Suite
    1. How to Manage Navigation in Framework 00:09:37
    2. Refactor Login Tests 00:08:27
    3. How to Run a Test Suite 00:05:21
    4. Running Test Suite on Chrome 00:10:55
  33. Chapter 33 : Conclusion
    1. BONUS: What's next and other cool free stuff? 00:03:42