Python Automation and Testing

Python Automation and Testing

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 16m | 150 MB

Do you spend too much time manually testing your user interfaces? Automation is the answer. Python and Selenium offer a simple but powerful framework to script any testing. Here, instructor Bhoomika Agarwal shows how to use the combination of Selenium WebDriver and Python code to automate web UI tests. Follow along and learn how to locate elements, navigate pages, test user interactions with forms and drag-and-drop elements, and use waits to control test timing and execution. The lessons are practical and can be immediately applied to your development workflow. Take the challenges included along the way to practice your new skills.

Topics include:

  • What is automated testing?
  • Python-Selenium bindings
  • Parsing the DOM structure
  • Locating elements in the DOC
  • Navigating and interacting with pages
  • Explicit and implicit waits
Table of Contents

Introduction
1 Welcome
2 What you should know
3 Using the exercise files

What Is Automation Testing and Python-Selenium Framework
4 What is automated testing
5 Python-Selenium bindings
6 A simple code example
7 Cross-browser support

Parsing the HTML DOM Structure
8 What is the HTML DOM structure
9 Locating elements by ID
10 Locating elements by name
11 Locating elements by XPath
12 Locating elements by class
13 Challenge
14 Solution

Navigating through Pages
15 Page interaction
16 Filling forms
17 Drag and drop elements
18 Challenge
19 Solution

Waits
20 What are waits and why do we need them
21 Explicit waits
22 Implicit waits

Conclusion
23 Next steps