Testing web applications using Selenium is made simple with this tutorial. Written for those with no prior experience, it helps you learn through practical exercises and code samples. The perfect entry point to Selenium 2.
- Automate web browsers with Selenium WebDriver to test web applications
- Set up Java Environment for using Selenium WebDriver
- Learn good design patterns for testing web applications
In Detail
Selenium automates browsers. It is primarily used for automating web applications for testing purposes.
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
”Selenium 2 Testing Tools: Beginner’s Guide" will help you begin with testing web applications using Selenium from scratch. From setting up the Java environment to running tests on mobile devices, it contains all the information to get a novice up and running on using Selenium..
You will also learn some advanced concepts such as testing complex web applications and running tests in parallel towards the end of the book.
This book is your answer to getting started with Selenium.
This is a good technical book that walks readers through how to break down a web application to being confident to automate your favorite web application.
You start with installing Selenium and the basics, and then move on to using Selenium IDE for bug replication. An overview of the WebDriver is presented next followed by migrating your tests from Selenium RC to Selenium WebDriver. You will then learn to find elements on a webpage from both the driver object as well as the element object and work with the Firefox driver. You will scan through mobile support and Selenium Grid. Design patterns and advanced topics are also covered.
By the end of the book, you will feel extremely confident with tackling websites on a number of different platforms.
What will you learn from this book
- Learn the basics of breaking down a web application for testing
- Understand AJAX calls and how they work with your tests
- Create basic scripts that allow you to recreate issues quickly
- Set up Firefox Driver, Firefox profiles, and extensions
- Get your tests working on mobile devices
- Migrate your tests from Selenium RC to Selenium WebDriver
- Handle tests quicker by running them in parallel and reduce build time
Approach
This book is written in Beginner's Guide style which emphasizes the concept of learning by doing. The book is packed with examples and code so that you can get the best out of this book.
Who this book is written for
If you are a Software Quality Assurance professional, Software Project Manager, or a Software Developer interested in automated testing using Selenium, this book is for you. Web-based application developers will also benefit from this book.