Build a powerful, stable, and automated test suite using Selenium WebDriverAbout This BookKeep up with the changing pace of your web application by creating an agile test suiteSave time and money by making your Selenium tests 99% reliableImprove the stability of your test suite and your programing skills by following a step-by-step continuous improvement tutorialWho This Book Is ForWhether 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.
What You Will LearnControl Selenium WebDriver within any major programing language such as Java, Ruby, Python, and .NETLearn how to implement a simple test script or a complex Page Objects frameworkSet up each test to automatically deal with AJAX and jQueryRemove test instabilities by blocking third-party servicesDeal with data uncertainties by using fixtures, JSON APIs, and API stubbingImprove your test suite continuously by refactoring code and using the DRY principleStabilize your tests by using patterns such as the Action Wrapper and Black Hole Proxy patternsIn DetailSelenium 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.
Very good one in fact. It's not giving the depth of actual implementation details and not answering all of the typical questions anyone who developing test harness would raise, that's true. But it gives very good and structured strategy to approach such task, gives informative references to related design patterns and is pretty up to date on technology stack.
Topics I really miss here: test data management strategies in more details, use of third party wrapper libraries and how it changes general approaches, specifics of testing not so typical of the past projects like single page application and multi web app systems, how to address mismatches in functionality when using BDD frameworks for cross application testing.
I am in the midst of learning the best ways to do testing in Selenium and I found this book to be pretty helpful. The code samples where all in Ruby, which is unfortunate since I am working in Python, but I was able to follow along well enough.
That said, the reason I read the book was not because of the code used. I was more interested in the ideas of what one should do in order to implement automated testing with selenium in a reasonably competent manner. In this respect I feel the book did a pretty good job.
Topics such as Refactoring, Data Driven Testing, use of Page Objects, and more are covered. Methods of coding that should be avoided and why they will cause longer term problems are also covered.