My Account Log in

3 options

Selenium design patterns and best practices : build a powerful, stable, and automated test suite using Selenium WebDriver / Dima Kovalenko ; foreword by Jim Evans ; cover image by Jeremy Segal.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Kovalenko, Dima, author.
Evans, Jim, author of introduction, etc.
Contributor:
Segal, Jeremy, cover designer.
Series:
Community experience distilled.
Community Experience Distilled
Language:
English
Subjects (All):
Application software--Testing.
Application software.
Scripting languages (Computer science).
Web site development.
Physical Description:
1 online resource (270 p.)
Edition:
1st edition
Place of Publication:
Birmingham, England : Packt Publishing, 2014.
Language Note:
English
System Details:
text file
Biography/History:
Kovalenko Dima: 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.
Summary:
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.
Contents:
Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Writing the First Test; Choosing Selenium over other tools; Right tool for the right job; Price; Open source; Flexibility; The Record and Playback pattern; Advantages of the Record and Playback pattern; Disadvantages of the Record and Playback pattern; Getting started with the Selenium IDE; Installing the Selenium IDE; Recording our first test; Saving the test; Understanding Selenium commands; Reading Selenese; Comparing Ruby to Selenese
Comparing Selenium commands in multiple languagesWriting a Selenium test in Ruby; Introducing Test::Unit; Introducing asserts; Interactive test debugging; Summary; Chapter 2: The Spaghetti Pattern; Introducing the Spaghetti pattern; Advantages of the Spaghetti pattern; Disadvantages of the Spaghetti pattern; Testing the product review functionality; Starting a product review test; Locating elements on the page; Using a browser''s element inspector; Introducing locator strategies; Using advanced locator strategies; Writing locator strategy code; Using chained selector strategy methods
Using the CSS selectorUsing XPath; Implementing clicks and assertions; Duplicating the product review test; Reasons for failures; The Chain Linked pattern; The Big Ball of Mud pattern; Summary; Chapter 3: Refactoring Tests; Refactoring tests; The DRY testing pattern; Advantages of the DRY testing pattern; Disadvantages of the DRY testing pattern; Moving code into a setup and teardown; Removing duplication with methods; Removing external test goals; Using a method to fill out the review form; Reviewing the refactored code; The Hermetic test pattern; Advantages of the Hermetic test pattern
Disadvantages of the Hermetic test patternRemoving test-on-test dependence; Using timestamps as test data; Extracting the remaining common actions to methods; Reviewing the test-on-test dependency refactoring; Creating generic DRY methods; Refactoring with generic methods; The random run order principle; Advantages of the random run order principle; Disadvantages of the random run order principle; Summary; Chapter 4: Data-driven Testing; Data relevance versus data accessibility; Hardcoding input data; Hiding test data from tests; Choosing the test environment; Introducing test fixtures
Parsing fixture dataUsing fixture data in the tests; Using fixtures to validate products; Testing the remaining products; Using an API as a source of fixture data; Using data stubs; The default values pattern; Advantages of the default values pattern; Disadvantages of the default values pattern; Merging the default values pattern and the faker library; Implementing faker methods; Updating the comment test to use default values; Summary; Chapter 5: Stabilizing the Tests; Engineering the culture of stability; Running fast and failing fast; Running as often as possible
Keeping a clean and consistent environment
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed September 29, 2014).
ISBN:
9781783982714
1783982713
OCLC:
893919724

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account