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
- Application Security Testing and Debugging
- Test Automation with Python: 1 Introduction to Automated Testing
- Test Automation with Python: 9 Designing Your Test Suite
- Test Automation with Python: 7 Mobile Automation with Appium
- Test Automation with Python: 8 Additional Appium Features
- Test Automation with Python: 6 Elements and Selectors
- Test Automation with Python: 4 The WebDriver Automation Architecture
- Test Automation with Python: 5 Web Browser Automation with Selenium
Related learn paths
- Advance Your Skills in Python
- Improve Your Test Automation with Python Skills
- Building AI Agents: Advanced Techniques for Developers
- Prepare for the Cisco Certified DevNet Associate (200-901 DEVASC) Certification Exam
- Network Automation Professional Certificate by Arista Networks
- Getting Started with Software Testing
- Getting Started as a Business Analyst
- The Top Skills Project Management Professionals Have Right Now