Python Testing with Selenium
- Author: Sujay Raghavendra
- ISBN: 1484262484
- Year: 2020
- Pages: 191
- Language: English
- File size: MB
- File format: PDF, ePub
- Category: Python
Book Description:
Employ different testing techniques using Selenium WebDriver using the Python programming language. This quick reference provides simple functional test instances with a syntax-based approach for Selenium WebDriver.
You’ll start by reviewing the basics of Selenium WebDriver and its architectural design history and then move on to the configuration and setup of the Selenium library to get various web browsers, for instance, basic commands needed to begin test scripts in various browsers. You will review action commands of mouse and keyboard for analyzing consumer interactions in a web page and see how hyperlinks are analyzed.
The publication also examines various web elements using eight different locators supplied by Selenium that will assist you opt for the one best suited to your requirements. All of Python scripts are all set to test actual examples, all which can be explained thoroughly with difficulty statements. You will use different Python design patterns to automate test scripts that could be integrated with Selenium.
In the end, Python Testing with Selenium will provide you with the skill to write your own test cases in future.
What You Will Learn
- Install and configure Selenium WebDriver using Python for distinct web-browsers
- Review fundamental controls of Selenium
- Find web components
- Use UI based internet elements
- Assert web elements and manage exceptions
- Write test scripts in Page Object Model
- Write test instances with Unittest framework
Who This Book Is For
Python developers/testers who Wish to Check their web applications