Sujay Raghavendra

Python Testing with Selenium

Learn to Implement Different Testing Techniques Using the Selenium WebDriver

1st ed.
Sujay Raghavendra
Dharwad, Karnataka, India
ISBN 978-1-4842-6248-1e-ISBN 978-1-4842-6249-8
© Sujay Raghavendra 2021
Apress Standard
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 1 New York Plaza, Suite 4600, New York, NY 10004-1562, USA. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

To my Baba

Late Raghavendra A S

Introduction

This book focuses on how to implement testing techniques using Selenium WebDriver with the Python programming language. This quick reference provides simple, functional test cases with a syntax-based approach for Selenium WebDriver.

You’ll begin by reviewing the basics of Selenium WebDriver and its architectural design history. Next, you move on to the configuration and installation of the Selenium library in various web browsers, including the basic commands needed to start test scripts. You’ll review keyboard and mouse action commands for testing user interactions on a web page and see how hyperlinks are tested.

The book examines various web elements using the eight different locators provided by Selenium to help you choose the one best suited to your needs. All Python scripts are real ready-to-test examples that are explained thoroughly in problem statements. You’ll use different Python design patterns to automate test scripts that can be incorporated with Selenium.

Python Testing with Selenium teaches the expertise to write your own test cases.

Acknowledgments

The person behind who I am today is my mother, Mrs. Indumati Raghavendra.

Table of Contents
Index 165
About the Author
Sujay Raghavendra
../images/494993_1_En_BookFrontmatter_Figb_HTML.jpg
works primarily in data science, machine/deep learning, and artificial intelligence. He is currently the Executive Director of Raghavendra Training & Consultancy (RTC), a startup company based in Dharwad, Karnataka, India. He co-founded RTC with Sumedh Raghavendra, his brother, in 2014. He plans and evaluates new technology projects in research and product development. His projects include analyzing a pap smear filter for microscopic medical images, thermal heat sensing in hospitals, OCR for handwritten characters, satellite image analysis, and network automation for maps, forecasting models, text analytics, predictions, and more.

Raghavendra is also a consultant on building research centers for technical universities and colleges. His recent interests include automating test cases through machine learning. He has published numerous research articles in international journals and has been on reviewer committees for various journals and conferences.

 
About the Technical Reviewer
Supreeth Chandrashekhar
../images/494993_1_En_BookFrontmatter_Figc_HTML.jpg

is a seasoned software technology professional associated with Philips Healthcare, Bangalore. He has more than eight years of architect experience in building/running highly robust, massively scalable, and extremely secure systems, as well as setting up and managing mid-sized tech teams. He is extremely passionate about building great products that exceed customer expectations.

 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.33.87