Python Automation and Testing
1h 27mIntermediate2018-06-01
Authors

Bhoomika Agarwal
Associate Software Developer at SAP Labs
Course details
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:
Identify the steps for installing Python.
Recognize the browsers supported by Selenium.
Explain how to find an element when a unique ‘id’ is not available.
Understand the purpose of the “send_keys.”
Recall which exception is raised when a function tries to locate an element not yet loaded into the DOM.
Topics include:
Identify the steps for installing Python.
Recognize the browsers supported by Selenium.
Explain how to find an element when a unique ‘id’ is not available.
Understand the purpose of the “send_keys.”
Recall which exception is raised when a function tries to locate an element not yet loaded into the DOM.
Skills covered
SeleniumSoftware TestingPythonProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
1. What Is Automation Testing and Python-Selenium Framework
- 04 - What is automated testing
- 05 - Python-Selenium bindings
- 06 - A simple code example
- 07 - Cross-browser support
2. Parsing the HTML DOM Structure
- 08 - What is the HTML DOM structure
- 09 - Locating elements by ID
- 10 - Locating elements by name
- 11 - Locating elements by XPath
- 12 - Locating elements by class
- 13 - Challenge
- 14 - Solution
- 15 - Challenge
- 16 - Solution
3. Navigating through Pages
- 17 - Page interaction
- 18 - Filling forms
- 19 - Drag and drop elements
- 20 - Challenge
- 21 - Solution
4. Waits
- 22 - What are waits and why do we need them
- 23 - Explicit waits
- 24 - Implicit waits
Conclusion
- 25 - Next steps
Related courses
- Learning Selenium: Structure, Scale, Run, and Optimize Automated Tests
- Test Automation Foundations
- Test Automation with Selenium WebDriver for Java
- Learning TestNG
- Learning Selenium with Node.js
- Robot Framework Test Automation: Level 1 (Selenium)
- Test Automation with Python: 10 Additional Appium Modes and Features
- Test Automation with Python: 9 Designing Your Test Suite