Selenium Design Patterns and Best Practices: Build a powerful, stable, and automated test suite using Selenium WebDriver

· Packt Publishing Ltd
5 reviews
Ebook
270
Pages
Tools

About this ebook

Key Features
    Book DescriptionSelenium 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.What you will learn
    • Control Selenium WebDriver within any major programing language such as Java, Ruby, Python, and .NET
    • Learn how to implement a simple test script or a complex Page Objects framework
    • Set up each test to automatically deal with AJAX and jQuery
    • Remove test instabilities by blocking thirdparty services
    • Deal with data uncertainties by using fixtures, JSON APIs, and API stubbing
    • Improve your test suite continuously by refactoring code and using the DRY principle
    • Stabilize your tests by using patterns such as the Action Wrapper and Black Hole Proxy patterns
    Who this book is for

    Key Features Book DescriptionSelenium 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 su...

    Discover more

    Ratings and reviews

    5 reviews
    Yev Pod
    November 23, 2014
    To begin with, in my opinion this book is for more experienced developers who are ready to take Selenium testing to the next level. I’ve been exposed to programming for about 2 years, starting with Ruby and currently learning some Java. While this book focuses primarily on using Ruby as the preferred language, have no doubt that Selenium can be used with Java as well. One of the strongest points of this technical book is that the author can convey advantages as well as disadvantages in a clear and concise manner. I have found that this helps greatly to see what is important and seeing possible downsides to a chosen path. Through showing us how software testing works from the first chapter, the author leads us through various examples and patterns in the current world of testing. It is up to date and includes relevant information now in 2014. In addition to explaining testing with the Selenium suite, the author also focuses on code reuse and refactoring, which will further help you grow as a programmer/developer. In Chapter 4, he also explains in depth test data and the various nuances associated with it. As the author states, you should be able to follow along the examples in this
    Did you find this helpful?

    About the author

    Dima Kovalenko started his career in 2003 as a quality assurance intern during his summer internship at Rosetta Stone. Since then, he has spent many years testing software in both a manual and automated fashion in companies such as ThoughtWorks, Groupon, and many others. He has participated in many different types of projects, including language-learning software, web e-commerce stores, and legacy maintenance for telecommunication and airline companies. His experience includes support to Ruby, Java, iOS, Android, and PHP projects as an automated tester and software developer. His first real experience with computers was at the age of 14, shortly after moving to the United States of America from Russia; this encounter has sparked a lifelong passion for technology.

    Dima Kovalenko started his career in 2003 as a quality assurance intern during his summer internship at Rosetta Stone. Since then, he has spent many years testing software in both a manual and automated fashion in companies such as ThoughtWorks, Groupon, and many others. He has participated in ma...

    Rate this ebook

    Tell us what you think.

    Reading information

    Smartphones and tablets
    Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
    Laptops and computers
    You can listen to audiobooks purchased on Google Play using your computer's web browser.
    eReaders and other devices
    To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.