Selenium is a the most popular open-source test automation tool. Its widely used in Industry to automate web and mobile projects. Selenium can be used to test across different browsers and platforms.
Its flexible enough to allow you to code your automation scripts in languages like Java, C#, Python etc.
Selenium primarily has 3 components
- Selenium Integrated Development Environment (IDE)
- Selenium WebDriver
- Selenium Grid
This book covers tutorials and training to teach you Selenium 2 as well Selenium 3. The book uses Java as the scripting language.
Table Of Contents
Chapter 1: Introduction to Selenium
Chapter 2: Install Selenium IDE and FireBug
Chapter 3: Introduction to Selenium IDE
Chapter 4: Creating your First Selenium IDE script
Chapter 5: How to use Locators in Selenium IDE
Chapter 6: How to enhance a script using Selenium IDE
Chapter 7: Introduction to WebDriver & Comparison with Selenium RC
Chapter 8: Guide to install Selenium WebDriver
Chapter 9: Creating your First Script in Webdriver
Chapter 10: Accessing Forms in Webdriver
Chapter 11: Accessing Links & Tables using Selenium Webdriver
Chapter 12: Keyboard Mouse Events , Uploading Files – Webdriver
Chapter 13: How TestNG makes Selenium tests easier
Chapter 14: Introduction to Selenium Grid
Chapter 15: Parameterization using XML and DataProviders: Selenium
Chapter 16: Cross Browser Testing using Selenium
Chapter 17: All About Excel in Selenium: POI & JXL
Chapter 18: Creating Keyword & Hybrid Frameworks with Selenium
Chapter 19: Page Object Model (POM) & Page Factory in Selenium: Ultimate Guide
Chapter 20: PDF, Emails and Screenshot of Test Reports in Selenium
Author(s): Krishna Rungta
2. Absolute Beginner (Part 1) Java 4 Selenium WebDriver: Come Learn How To Program For Automation Testing (Black & White Edition) (Practical How To Selenium Tutorials) (2016)
Are You Interested in Selenium WebDriver?
This is one of the best Java books specifically for Selenium
Note: Book available on your tablet, phone, PDF, PC, Mac, and paperback (Black/White & Color). You will find details of downloading the PDF document inside the book.
3 Tips To Master Selenium Within 30 Days
Copy and paste this URL http://tinyurl.com/3-Tips-For-Selenium into your browser to receive your tips
Why You Will Like Part 1 – Java 4 Selenium WebDriver?
Part 1 – Java 4 Selenium WebDriver contains valuable information for testers without previous programming knowledge. The book is written with the absolute beginner in mind, so that they may gain a thorough understanding of Java. Important Java concepts are explained in a very simple, insightful, and easy to understand manner through straightforward definitions, explanations, and examples.
Most instructional Java books provide good information, but some of the information is not significant to automation testers. Moreover, there are Selenium books that do not offer adequate information regarding Java. The focus of Selenium books is to learn the tool rather than learn the programming language. Part 1 – Java 4 Selenium WebDriver will fill this gap by offering pertinent information to help automation testers become effective using Java in Selenium.
Beginners (Minimum to no knowledge of programming)
Don’t Miss Out! You Need To Read This Book So You Can Learn:
- ✓ Variables
✓ Data Types
✓ Branch Control Structures
✓ Loop Control Structures
Scroll Up and Order Your Copy
Author(s): Jones II, Rex Allen
3. Software Quality and Java Automation Engineer Survival Guide: Basic Concepts, Self Review, Interview Preparation (500+ Questions & Answers) (2016)
Author(s): Jagadesh Babu Munta
By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You’ll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The result? Clean code that works.
In the process, you’ll learn the basics of Django, Selenium, Git, jQuery, and Mock, along with current web development techniques. If you’re ready to take your Python skills to the next level, this book—updated for Python 3.6—clearly demonstrates how TDD encourages simple designs and inspires confidence.
- Dive into the TDD workflow, including the unit test/code cycle and refactoring
- Use unit tests for classes and functions, and functional tests for user interactions within the browser
- Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests
- Test and automate your deployments with a staging server
- Apply tests to the third-party plugins you integrate into your site
- Run tests automatically by using a Continuous Integration environment
- Use TDD to build a REST API with a front-end Ajax interface
Author(s): Harry J. W. Percival
5. Selenium Webdriver: Book1 (2015)
Author(s): E, Rajan
Solve your Selenium WebDriver problems with this quick guide to automated testing of web applications with Selenium WebDriver in C#. Selenium WebDriver Recipes in C#, Second Edition contains hundreds of solutions to real-world problems, with clear explanations and ready-to-run Selenium test scripts that you can use in your own projects.
- How to locate web elements and test functions for hyperlinks, buttons, TextFields and TextAreas, radio buttons, CheckBoxes, and more
- How to use Selenium WebDriver for select lists, navigation, assertions, frames, file upload and pop-up dialogs
- How to debug test scripts and test data
- How to manage and deal with browser profiles and capabilities<
- How to manage tests for advanced user interactions and experiences (UX)
- How to work with and manage tests and testing using Selenium Remote Control and Selenium Server
This book is for experienced .NET and C# Windows application programmers/developers.
Author(s): Zhimin Zhan
7. Selenium Testing Tools Cookbook (2012)
Unlock the full potential of Selenium WebDriver to test your web applications in a wide range of situations. The countless recipes and code examples provided ease the learning curve and provide insights into virtually every eventuality.
- Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real world problems and their workarounds
- Each sample demonstrates key concepts allowing you to advance your knowledge of Selenium WebDriver in a practical and incremental way
- Explains testing of mobile web applications with Selenium Drivers for platforms such as iOS and Android
Web technologies are becoming increasingly complex and there is a need to test your web applications against a vast number of browsers and platforms, so you need to build highly reliable and maintainable test automation. This book will help you test your web applications effectively and efficiently with Selenium WebDriver.
“Selenium Testing Tools Cookbook” is an incremental guide that will help you learn and use advanced features of Selenium WebDriver API in various situations for building reliable test automation. You will learn how to effectively use features of Selenium using simple and detailed examples. This book will also teach you best practices, design patterns, and how to extend Selenium.
“Selenium Testing Tools Cookbook” shows developers and testers who already use Selenium, how to go to the next step and build a highly maintainable and reliable test framework using advanced features of the tool.
The book starts with tips on advanced location strategy and effective use of Selenium WebDriver API. Then it demonstrates the use of design patterns such as Data Driven Tests and PageFactory for building maintainable test automation.
It also explains extending Selenium WebDriver API along with implementing custom tasks and setting up your own distributed environment to run tests in parallel.
It concludes with tips on integrating Selenium WebDriver with other popular tools, testing mobile web applications, and capturing videos of test runs. This books provides examples in Java, C#, Ruby, and Python.
“Selenium Testing Tools Cookbook” will help you in building a highly robust and maintainable test automation framework from start to finish.
What you will learn from this book
- Understand Locators and use various locator methods to build reliable tests
- Build reliable and maintainable tests with Selenium WebDriver API
- Use PageFactory Pattern to build a robust and easy- to-maintain test framework
- Build data driven tests and extend Selenium API to implement custom steps and checks
- Learn to integrate and use ATDD/BDD tools such as JBehave, SpecFlow, and FitNesses with Selenium WebDriver
- Set up iPhone/iPad & Android simulators and devices for testing your mobile web application
- Set up Selenium Grid for faster and parallel run of tests, increasing test coverage and reducing test execution time
- Capture screenshots and videos of test runs
This is a cookbook packed with code examples and step-by-step instructions to ease your learning curve.
Who this book is written for
This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java for testing web-based applications. This book also provides examples for C#, Python, and Ruby users.
Author(s): Gundecha Unmesh
8. Practical Web Test Automation: Automated test web applications wisely with Selenium WebDriver (2014)
While few people deny the benefits of test automation, comprehensive automated testing via UI (browser for web applications) is rarely implemented in software projects. Common reasons for projects’ failed attempts on test automation are:
- Difficult to learn – test scripts are complex and testing tools are not easy to use
- Hard to maintain – UI tests are vulnerable to application changes
- Long feedback loop – automated tests take too long to run
To succeed in automated testing via UI, software projects need to overcome all these 3 chellenges.
This book presents a practical approach to implementing test automation for web applications. Topics include:
- Developing easy to read and maintain Watir/Selenium tests using next-generation functional testing tool
- Page object model
- Functional Testing Refactorings
- Cross-browser testing against IE, Firefox and Chrome
- Setting up continuous testing server to manage execution of a large number of automated UI tests
- Requirement traceability matrix
- Strategies on team collaboration and test automation adoption in projects and organizations
Author(s): Zhimin Zhan
9. Selenium WebDriver Recipes in Python: The problem solving guide to Selenium WebDriver in Python (Test Recipes Series) (Volume 5) (2015)
Author(s): Zhimin Zhan
Author(s): Narayanan Palani
About the Book
Test Automation using Selenium WebDriver, is the latest book released on Selenium 2.0 using Java as a programming language. This Selenium book has been designed with the objectives of simplicity and ease of understanding.
After huge success of author Navneesh Garg’s first book (Test Automation using Unified Functional Testing) this book follows a similar step by step approach to Install, configure and design automation framework using Selenium WebDriver and it components.
Who is this book for?
This book is recommended both for those who are beginning to learn test automation (using Selenium WebDriver) and for advanced automation users. It follows a unique training based approach instead of a regular text book approach. Using a step by step approach, it guides the students through the exercises using pictorial snapshots.
It includes many practical examples and issues which most of the automation testers encounter in day-to-day automation. These experiences will give you an insight into what challenges you could face with automation in the real world. Practical examples cover how to use most of the features within Selenium WebDriver.
No Programming Background?
A major fear amongst functional testers who want to learn Selenium is of programming language and coding. As a part of this we will cover just enough basics on Java programming language that will give the readers confidence to use Selenium WebDriver.
This book cover Selenium Webdriver integration with independent components to be installed like Java, FireBug, Firepath, Eclipse, TestNG, ANT and Jenkins (Continuous Integration tool) We will cover step by step installation, configuration and use of each of these components.
Those want to know about Cross Browser testing, it covers how to use Selenium WebDriver to run o IE, Firefox and Chrome browsers.
It also covers Selenium components like Selenium IDE and Selenium Grid. We will cover setup of Selenium Grid and perform parallel execution of Selenium WebDriver scripts on multiple browsers.
It also covers aspects of Continuous Integration tool Jenkins so that Selenium WebDriver scripts can be integrated with the development environment and run on nightly builds.
Quotes from Reviewers
“Terrific follow-up to previous book on automation tool HP UFT… this time on Selenium! Step-by-step setup of the tool and scripting tasks are both explained using easy to understand language. Automation concepts, processes, and real-life scenarios are also provided to enhance the tester’s technical skills.”
“A great hands-on guide to learn Selenium WebDriver with Java. Real-life examples and experiences are great help to understand objectives and issues with automation. A great recommend for everyone”
Author(s): Mr Navneesh Garg
12. Selenium Framework Design in Data-Driven Testing: Build data-driven test frameworks using Selenium WebDriver, AppiumDriver, Java, and TestNG (2018)
Take a deep dive into building data-driven test frameworks using Selenium WebDriver
- A comprehensive guide to designing data-driven test frameworks using the Selenium 3 WebDriver API, AppiumDriver API, Java-Bindings, and TestNG
- Learn how to use Selenium Page Object Design Patterns and D.R.Y. (Don’t Repeat Yourself) Approaches to software development in automated testing
- Discover the Selenium Grid Architecture and build your own grid for browser and mobile devices
- Use third party tools and services like ExtentReports for results processing, reporting, and SauceLabs for cloud-based test services
The Selenium WebDriver 3.x Technology is an open source API available to test both Browser and Mobile applications. It is completely platform independent in that tests built for one browser or mobile device, will also work on all other browsers and mobile devices. Selenium supports all major development languages which allow it to be tied directly into the technology used to develop the applications. This guide will provide a step-by-step approach to designing and building a data-driven test framework using Selenium WebDriver, Java, and TestNG.
The book starts off by introducing users to the Selenium Page Object Design Patterns and D.R.Y Approaches to Software Development. In doing so, it covers designing and building a Selenium WebDriver framework that supports both Browser and Mobile Devices. It will lead the user through a journey of architecting their own framework with a scalable driver class, Java utility classes, JSON Data Provider, Data-Driven Test Classes, and support for third party tools and plugins.
Users will learn how to design and build a Selenium Grid from scratch to allow the framework to scale and support different browsers, mobile devices, versions, and platforms, and how they can leverage third party grids in the Cloud like SauceLabs.
Other topics covered include designing abstract base and sub-classes, inheritance, dual-driver support, parallel testing, testing multi-branded applications, best practices for using locators, and data encapsulation.
Finally, you will be presented with a sample fully-functional framework to get them up and running with the Selenium WebDriver for browser testing.
By the end of the book, you will be able to design your own automation testing framework and perform data-driven testing with Selenium WebDriver.
What you will learn
- Design the Selenium Driver Class for local, remote, and third party grid support
- Build Page Object Classes using the Selenium Page Object Model
- Develop Data-Driven Test Classes using the TestNG framework
- Encapsulate Data using the JSON Protocol
- Build a Selenium Grid for RemoteWebDriver Testing
- Construct Utility Classes for use in Synchronization, File I/O, Reporting and Test Listener Classes
- Run the sample framework and see the benefits of a live data-driven framework in real-time
Table of Contents
- Building a Scalable Selenium Test Driver Class for Web and Mobile Applications
- Selenium Framework Utility Classes
- Best Practices for building Selenium Page Object Classes
- Defining WebDriver and AppiumDriver Page Objects Elements
- Building a JSON Data Provider
- Developing Data-Driven Test Classes
- Encapsulating Data in Data-Driven Testing
- Designing a Selenium Grid
- Third-Party Tools and Plugins
- Working Selenium WebDriver Framework Samples
Author(s): Carl Cocchiaro