Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Kindle Price: £20.39

Save £7.60 (27%)

includes VAT*
* Unlike print books, digital books are subject to VAT.

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

Deliver to your Kindle or other device

Selenium Testing Tools Cookbook by [Gundecha, Unmesh]
Kindle App Ad

Selenium Testing Tools Cookbook Kindle Edition

3.7 out of 5 stars 3 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"

Length: 326 pages Enhanced Typesetting: Enabled Page Flip: Enabled

Kindle Books from 99p
Load up your Kindle library before your next holiday -- browse over 500 Kindle Books on sale from 99p until 31 August, 2016. Shop now

Product Description

About the Author

Unmesh Gundecha

Unmesh Gundecha has a Master's Degree in Software Engineering and around 10 years of experience in Software Development and Testing. Unmesh has architected functional test automation projects using industry standard, in-house and custom test automation frameworks along with leading commercial and open source test automation tools. Presently he is working as Test Architect with a multinational company in Pune, India.

Product details

  • Format: Kindle Edition
  • File Size: 6103 KB
  • Print Length: 326 pages
  • Publisher: Packt Publishing (23 Nov. 2012)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Enabled
  • Average Customer Review: 3.7 out of 5 stars 3 customer reviews
  • Amazon Bestsellers Rank: #475,746 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images or tell us about a lower price?

Customer Reviews

3.7 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See all 3 customer reviews
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback Verified Purchase
“Selenium Testing Tools Cookbook” by Unmesh Gundecha is one of those books that is worth reading twice. It’s worth reading before starting work with Selenium WebDriver, then reading again after doing some real-life WebDriver test automation. Hit the difficult bits to automate, work out your own solution, then on second reading of this book see if there are any bits that with hindsight you could use to improve your solution.

This book contains enough information to automate cross-browser and mobile-browser testing, although to do it well it does help to have a strong background in asynchronous systems, HTML and GUIs. There are a few errors in the book, but they are things that the reader should spot quickly enough to not waste much time on.

The book is written for people developing automation in a number of languages. I am currently working in C#, but it also covers Java, Python and Ruby. Subject matter includes the various methods of identifying controls, working with common controls, synchronisation, the Page Object Model, data-driven testing, performance testing, HTML5 and mobile browsers (most using emulators and devices). It covers use of some other tools for extending the use of WebDriver, and it also includes some reasonable examples of extensions. It’s a good range of material, written in a way that is easy for anybody with reasonable coding experience to follow and utilise.

Whilst it could have gone into a little more depth on best practices, particularly around synchronisation, this is a very useful book that I would recommend to anybody working with Selenium. It’s not perfect, but it’s better than the other Selenium-related books I have looked at.
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Kindle Edition Verified Purchase
In my opinion this book should be a 3 stars because it contains some incorrect examples. However this is the best book I've found on Selenium WebDriver and if one wants to learn this technology, then this book has definitely everything that's required. Most of the examples are correct, but others don't work, especially when it comes to more advanced stuff, such as BDD with Selenium (Cucumber and JBehave).

The book covers the basics very well and it also provides some good solutions and patterns for more advanced stuff, and that's why I'm giving it 4 stars.
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This book is a reasonable introduction to Selenium, it covers a fair amount but could be simpler. It tries to be too geeky in its approach rather than be factual in what it is trying to get across.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: HASH(0x9cefb2ac) out of 5 stars 16 reviews
21 of 22 people found the following review helpful
HASH(0x9cdbf0e4) out of 5 stars The "What's Next" After You Have Learned The Basics 21 Jan. 2013
By Michael Larsen - Published on Amazon.com
Format: Paperback
As the experience level with Selenium and other open source automation tools grows, naturally there will also develop more questions. How would I effectively access elements? What's a good way to compartmentalize tests? How can I make my tests extensible? What's the best way to parallelize tests? What if my project doesn't use a standard approach like so many others? What if I'm not on Linux, or don't use Java?

The idea and benefit of a "Cookbook" approach is that it allows developers and testers to look at the aspects that they need at that time, and see how they work in example formats, and then see how they relate to other topics. Packt has decided to take this approach with Selenium by publishing the Selenium Testing Tools Cookbook. In it, author Unmesh Gundecha has broken down thirteen areas of interest (eleven in the book itself, plus two additional areas as bonus download sections), and presents small sections and ideas to allow the developer or tester to leverage the ability to create tests, use the Selenium API, and test applications such as browsers and mobile applications. The book demonstrates examples primarily in Java, but several are provided that use C#, Python and Ruby.

For the tl;dr crowd, if you have never used Selenium before, this should not be the book to start your exploration. I would suggest reading David Burns "Selenium 2 Testing Tools Beginner's Guide" or Alan Richardson's "Selenium Simplified" first. David's book is also a Packt Publishing title, and uses many of the same documentation standards, so it would feel very natural looking at section's of David's book, and then coming back to try out more examples in Unmesh's Cookbook here.

As this is a Cookbook style title, I must give a disclaimer that I have not yet tried every single example in the book. For that matter, I haven't gone through even a minority of the examples, and that's OK. Cookbook's are not designed to be read from cover to cover, and neither is this one. It is expected, and intended, that the user pick an area that interested them, and explore that area. Different projects have different needs, and being able to skip around will help focus the reader's time on the areas that matter most to them at that given time.

Each chapter uses a similar structure, with an introduction to explain the tools and calls that will be used in that section. The given recipe is described and gives the reader an idea as to what can be done (along with sample code for each of the recipes, which can be downloaded from Packt's site if you prefer to see the projects in their entirety, and would rather not have to type out the examples from the book directly. Each item then goes through and describes what you will need to accomplish the project at hand (if you need tools like Firebug or Intellij IDEA, it tells you what you need and where to get them). The recipe concludes with a How it Works section, and in many cases, additional recipes that relate to the one you are working with.

The book starts out with locating elements, and the different ways in which that can be accomplished (CSS, XPath, text values, jQuery, locating table rows and cells, etc.).

Next the Selenium API is explored and the various methods available to examine and determine what you are looking at (text, attributes, CSS values, interacting with the mouse and keyboard, using JavaScript, capturing screenshots, drop downs and menu items, even going in and changing values in the Windows Registry if desired).

Chapters Three and Four will be important to testers especially, since these chapters deal with test flow and ways to create data driven tests. Topics such as waiting for elements, handling pop-ups, determining if elements are the correct state, working with JavaScript alerts, handling frames and iFRAME's, plus using a variety of frameworks to interact with tests and set up data driven tests in these frameworks are explored, with examples for Java, win32, Ruby and Python.

Chapter Five talks about the Page Object model and how to use it when developing your tests in the languages covered in the book (Java especially, but examples also show how to use .NET, Python and Ruby).

Chapter Six gets into some examples of how to extend selenium and shows some in depth examples using Java (examples include making an extension class for web tables, jQueryUI Tab widget, creating an object map for Selenium tests, capturing screenshots and comparing images).

Chapter Seven Shows how to perform mobile testing using Selenium, and some of the tools and ways to automate tests on iPhone an Android devices using RemoteWebDriver and other tools, such as the iWebDriver App to be used on a simulator or real device, or AndroidDriver on an android Simulator or device)

Chapter Eight demonstrates some examples of how to get a handle on the Performance aspects of your sites or applications. Using timers, accessing and using BrowserMob proxy, and integrating with dynaTrace or HttpWatch are likewise covered. For the Ruby users among us, an example with Watir-WebDriver-Performance is demonstrated.

Chapter Nine covers HTML5 and some of the unique tools provided with HTML5, JavaScript and CSS3, such as video widgets, canvas and web storage, and how to interact with those elements.

Chapter Ten shows a number of ways in which a user could Record a Video of a Test (not record and playback of a test, actually recording an instance of the test being run as a video file, so it can be reviewed later. Tools such as the Monte Media Library (Java), Microsoft Expression Encoder (.NET) and Castro (Python) are demonstrated.

Chapter Eleven discusses Behavior Driven Development (BDD). There are several different books that go into this topic at length, so for more on how this works and how to leverage that aspect, you will definitely want to read more than this single chapter. Still, if you are interested in how BDD can be performed in different environments, this will be of interest. The goal of TDD is meant to be a way to write test cases in a more natural language that those who do not program can both read and, in some cases, create themselves. Ruby users will find examples using Cucumber and Cabybara. Java users will see examples using Cucumber-JVM and JBehave. .NET uses will see examples using SpecFlow.NET.

Two additional chapters, Integration with Other Tools and Distributed Testing with Selenium Grid are not included with the book itself, but can be downloaded from the Packt site. these deal with integrating with tools like Eclipse and IntelliJ IDEA, as well as using Ant and Maven for Continuous Integration, as well as parallelization of tests using Selenium Grid.

Bottom Line:

We now have a number of titles to help users get into the world of Selenium and SeleniumWebDrier. Each of these titles, by necessity, can only go so deep and with so many examples. For many, that would be fine. For those who want to know "what's next" or "where could I take these ideas and expand on them" or even "can you give me some ideas as to where I might use the variety of options?", then Selenium Testing Tools Cookbook may be a great next step to explore. One thing's for sure, there's plenty in this book to keep the Selenium enthusiast busy for quite some time.
7 of 7 people found the following review helpful
HASH(0x9da295ac) out of 5 stars Great for Experts, Average for Beginners 25 Jan. 2013
By Juho Vepsäläinen - Published on Amazon.com
Format: Paperback
Disclaimer: I received a digital review copy of this book from the publisher, Packt Publishing.

Selenium Testing Tools Cookbook by Unmesh Gundecha contains a massive amount of recipes. There are two digital bonus chapters even. It is clear this guy knows what he is talking about. The examples provided are comprehensive and straight to the point.

I found it a bit disappointing that the supplementary material didn't contain the markup in which the book refers to. At times the examples referred to files at Dropbox. I don't think this is a particularly good strategy.

I wasn't entirely thrilled about the fact that most examples were based on Java. Fortunately the ideas are quite easy to transfer from platform to other. Besides there were times when examples were provided in multiple languages, perhaps excessively even.

Overall I was pleasantly surprised by the book. If you use Selenium actively you'll find this book invaluable. For others the value proposition is bit of so-so. You'll likely serve yourself better by picking up some other book aimed more towards beginners.

*** for beginners, ***** for experts
1 of 1 people found the following review helpful
HASH(0x9cea9054) out of 5 stars what you didn't know about selenium 26 May 2014
By Jeanne Boyarsky - Published on Amazon.com
Format: Paperback Verified Purchase
“Selenium Testing Tools Cookbook” covers a lot of ground. I've written some Selenium tests and still learned new things in chapter 1.

It's not meant to be an introduction book so you should have written a test before. I like the depth on foundations though. From browser plugins to advanced selectors, there is a lot to see. I particularly liked the CSS selector syntax summary.

It was good to see JSExecutor covered – I wasted a good amount of time with this on a problem in the past. I liked seeing the page object pattern (which looks like a DSL) and the Actions framework. I like the example of a parameterized test case in chapter 4. I would have liked to see it broken up so not a ton of code in a row though.

There are warnings as needed when showing a feature that you might not want to use. Or when showing a feature that is only available in some cases. For example, the HtmlUnitDriver doesn't support taking screenshots.

I could write a review without mentioning the JDBC example has a resource leak. It may be “just” test code, but I still remember the time (a decade ago) that I locked out the test database server because my integration test had a resource leak in it.

I was skeptical when the book said it covered Java, C#, Python and Ruby. But it really does. This book is going to be a helpful reference to have around when I'm writing future tests.
1 of 1 people found the following review helpful
HASH(0xa31659c0) out of 5 stars Good book for experienced users 7 April 2014
By Pavan Darji - Published on Amazon.com
Format: Paperback Verified Purchase
I was new to selenium and trying to learn selenium. This book is good for experienced users who already know selenium.
For new beginners also it is helping but rather go for a beginner book. There are many recipes given in this book which can help to create a scripts. Useful book.....
3 of 4 people found the following review helpful
HASH(0x9da2945c) out of 5 stars I have been waiting for a book like this. 10 Jan. 2013
By Amazon Customer - Published on Amazon.com
Format: Paperback
In the past two years as I have used Selenium WebDriver, I have used the web to find all sorts of solutions for using WebDriver. And my list of bookmarks in my browser continues to grow. As I have gathered these solutions, I have often wished for a book that contained a collection of solutions in one place. And now the book is finally here.

I like the recipe format of identifying the task, showing how to accomplish the task, and then detaling how the solution works. The examples are mostly in Java, which I am happy about, but it also gives examples of using other languages.

As an experienced Selenium WebDriver user, this book validates what I already know. But this book also contains a lot solutions for tasks that I have been wondering how to do. As a mentor for my team members, I look forward to using this book as a source of solutions and to use as a common source of understanding of how to accomplish tasks, and why things work the way they do.

I bought this book as an ebook. The formatting is great. I'll probably always keep this book on my device and never move it to my archive.
Were these reviews helpful? Let us know
click to open popover