Jump to ratings and reviews
Rate this book

Learning Selenium Testing Tools with Python

Rate this book
A practical guide on automated web testing with Selenium using Python About This Book Write and automate tests for your applications with Selenium Explore the Selenium WebDriver API for easy implementations of small to complex operations on browsers and web applications Packed with easy and practical examples that get you started with Selenium WebDriver Who This Book Is For

If you are a quality testing professional, or a software or web application developer looking to create automation test scripts for your web applications, with an interest in Python, then this is the perfect guide for you. Python developers who need to do Selenium testing need not learn Java, as they can directly use Selenium for testing with this book.

What You Will Learn


Create Selenium WebDriver tests using the Python unittest module


Use Selenium WebDriver for cross-browser testing


Build reliable and robust tests using implicit and explicit waits


Set up and use Selenium Grid for distributed run


Test web applications on mobile platforms such as iOS and Android using Appium


Utilize various methods provided by Selenium WebDriver to locate web elements and interact with them


Capture screenshots and videos of the test execution


In Detail

Selenium WebDriver is a popular automated testing tool for web applications. Python is one of the top programming languages and when used with Selenium it can automate and test web applications. Using Python's unittest module, you can write test cases in Selenium. Over the years, Selenium has become a very powerful testing platform and many organizations are adopting Selenium WebDriver for creating automated user interface tests.

The book's main aim is to cover the fundamentals related to Python Selenium testing. You will learn how the Selenium WebDriver Python API can be integrated with CI and Build tools to allow tests to be run while building applications. This book will guide you through using the Selenium WebDriver Python client library as well as other tools from the Selenium project. Towards the end of this book, you'll get to grips with Selenium Grid, which is used for running tests in parallel using nodes for cross-browser testing. It will also give you a basic overview of the concepts, while helping you improve your practical testing skills with Python and Selenium.

216 pages, Kindle Edition

First published December 29, 2014

9 people are currently reading
49 people want to read

About the author

Unmesh Gundecha

6 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
7 (22%)
4 stars
13 (41%)
3 stars
9 (29%)
2 stars
2 (6%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
3 reviews
March 20, 2015

I got the free copy of the book "Learning Selenium Testing Tools with Python" from Packt publishers for a review. I really thank the publisher for giving me the opportunity to have a good read on this book and I really appreciate the work done by the author "Unmesh Gundecha". The following is the brief snapshot of my review.

To say the foreword about the book, the know-how of "Selenium" is presented from the roots to the use case of smart phone environment.

Chapters 1 - 2
-----------------
The first two chapters describe the tools set-up and basic environment of selenium test case. PyCharm with Eclipse environment is used as the platform for the entire book. But, readers need not be confined to the same, it depends on the use case.

Chapters 3 - 6
-----------------
The later chapters from 3 onwards have put essence of selenium especially giving the scope of webdriver concept for various browsers and common utilities of it. The author is very clever in presenting the chapter - 6 on cross browsing platforms. This broadens the readers usage of selenium for any browsers.

Chapter 7
------------------
This chapter is very brief but gives motivation and scope to adapt smart devices. Both Android and iOS are given equal importance and Appium test automation tool interface for both is explained with adequate examples.

Chapters 8 - 10
-----------------

The data driven testing is explained in chapter - 8 and various types of data formats/files are briefly covered. The page object concept is the high light of this chapter. Chapters 9 & 10 explains the advance techniques Selenium webdriver frame work and the scope of integration with other tools. I feel chapter 9 should have been put in early chapters.

All in all, this book keeps "Python" again as live wire with "Selenium" webdriver scope in the smart era of technology.
Profile Image for * ^.
10 reviews
February 17, 2015
This is the perfect book for someone who start with selenium using python.

All the fundamentals are very well explain. This book is the best way to get
started quickly and correctly.

The way to find and wait for elements in the DOM is very well explained.

I wish I had a book like this one when I started 2 years ago!
1 review
March 25, 2015
This is a great guidebook for learning about Testing in general, though even for the more experienced QA and Testing Professional, there willl still be some nice tricks to add to your arsenal. If you are coming from using Selenium with Java, the book can help you start using Selenium via Python, which in my personal opinion, is much clearer.

There are plenty of Python examples, helpful diagrams, and the tempo of the book is perfect.

After a few chapters, I was able to write a few automatic tasks for a web-based Administration tool I'm responsible for. You have many of the API or class methods listed in their appropriate chapter, which is great for referencing even after you finish the book.

Overall, if you want to take your Python skills to start doing some great Web Automation, this is the book to go with.
Profile Image for Paul Childs.
183 reviews3 followers
July 5, 2015
Was a very good intro to using Selenium with Python. Code samples from the book could be downloaded so you could spend your time understanding the code instead of retyping it in all. In addition to covering some of the basics such as how to locate elements and use the WebDriver API other chapters covered things that I thought were pretty helpful, such as explaining Page Object Pattern and Data Driven Testing.

This should be a good reference book for someone that is building up their knowledge of how to use Selenium.
Profile Image for Lata Sati.
1 review
July 23, 2015
Nice book
This entire review has been hidden because of spoilers.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.