Selenium Design Patterns and Best Practices
- Length: 225 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2014-09-23
- ISBN-10: 1783982705
- ISBN-13: 9781783982707
- Sales Rank: #1497583 (See Top 100 Books)
Build a powerful, stable, and automated test suite using Selenium WebDriver
About This Book
- Keep up with the changing pace of your web application by creating an agile test suite
- Save time and money by making your Selenium tests 99% reliable
- Improve the stability of your test suite and your programing skills by following a step-by-step continuous improvement tutorial
Who This Book Is For
Whether you are an experienced WebDriver developer or someone who was newly assigned a task to create automated tests, this book is for you. Since the ideas and concepts are described in simple terms, no previous experience in computer coding or programming is required.
In Detail
Selenium WebDriver is a global leader in automated web testing. It empowers users to perform complex testing scenarios with its simple and powerful interface.
This guide will provide you with all the skills you need to successfully create a functional Selenium test suite. Starting from the very beginning of the Selenium IDE, this book will show you how to transition into a real programing language such as Ruby or Java. You will quickly learn how to improve your code quality with refactoring and the skills needed to plan for the future development of your website to future-proof your test suite. With ample test examples running against a life-like e-commerce store and detailed step-by-step code review and explanations, you will be ready to test any challenge web developers might throw your way.
This book is intended for anyone who wants to create a test suite that is easy to maintain by expanding your knowledge until you feel truly confident and comfortable with Selenium.
Table of Contents
Chapter 1. Writing the First Test
Chapter 2. The Spaghetti Pattern
Chapter 3. Refactoring Tests
Chapter 4. Data-driven Testing
Chapter 5. Stabilizing the Tests
Chapter 6. Testing the Behavior
Chapter 7. The Page Objects Pattern
Chapter 8. Growing the Test Suite