Selenium Framework Design in Data-Driven Testing

Take a deep dive into building data-driven test frameworks using Selenium WebDriver

Selenium Framework Design in Data-Driven Testing

Carl Cocchiaro

Take a deep dive into building data-driven test frameworks using Selenium WebDriver
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Selenium Framework Design in Data-Driven Testing Book Cover
Selenium Framework Design in Data-Driven Testing
$ 35.99
$ 10.00
Learning Continuous Integration with Jenkins - Second Edition Book Cover
Learning Continuous Integration with Jenkins - Second Edition
$ 35.99
$ 10.00
Buy 2 for $20.00
Save $51.98
Add to Cart

Book Details

ISBN 139781788473576
Paperback323 pages

Book Description

The Selenium WebDriver 3.x Technology is an open source API available to test both Browser and Mobile applications. It is completely platform independent in that tests built for one browser or mobile device, will also work on all other browsers and mobile devices. Selenium supports all major development languages which allow it to be tied directly into the technology used to develop the applications. This guide will provide a step-by-step approach to designing and building a data-driven test framework using Selenium WebDriver, Java, and TestNG.

The book starts off by introducing users to the Selenium Page Object Design Patterns and D.R.Y Approaches to Software Development. In doing so, it covers designing and building a Selenium WebDriver framework that supports both Browser and Mobile Devices. It will lead the user through a journey of architecting their own framework with a scalable driver class, Java utility classes, JSON Data Provider, Data-Driven Test Classes, and support for third party tools and plugins.

Users will learn how to design and build a Selenium Grid from scratch to allow the framework to scale and support different browsers, mobile devices, versions, and platforms, and how they can leverage third party grids in the Cloud like SauceLabs.

Other topics covered include designing abstract base and sub-classes, inheritance, dual-driver support, parallel testing, testing multi-branded applications, best practices for using locators, and data encapsulation.

Finally, you will be presented with a sample fully-functional framework to get them up and running with the Selenium WebDriver for browser testing.

By the end of the book, you will be able to design your own automation testing framework and perform data-driven testing with Selenium WebDriver.

Table of Contents

What You Will Learn

  • Design the Selenium Driver Class for local, remote, and third party grid support
  • Build Page Object Classes using the Selenium Page Object Model
  • Develop Data-Driven Test Classes using the TestNG framework
  • Encapsulate Data using the JSON Protocol
  • Build a Selenium Grid for RemoteWebDriver Testing
  • Construct Utility Classes for use in Synchronization, File I/O, Reporting and Test Listener Classes
  • Run the sample framework and see the benefits of a live data-driven framework in real-time

Authors

Table of Contents

Book Details

ISBN 139781788473576
Paperback323 pages
Read More

Read More Reviews

Recommended for You

Learning Continuous Integration with Jenkins - Second Edition Book Cover
Learning Continuous Integration with Jenkins - Second Edition
$ 35.99
$ 10.00
Learning Continuous Integration with Jenkins - Second Edition Book Cover
Learning Continuous Integration with Jenkins - Second Edition
$ 35.99
$ 10.00
Kubernetes for Serverless Applications Book Cover
Kubernetes for Serverless Applications
$ 35.99
$ 10.00
Building RESTful Web Services with Spring 5 - Second Edition Book Cover
Building RESTful Web Services with Spring 5 - Second Edition
$ 35.99
$ 10.00
Data-Driven Testing in Selenium [Video] Book Cover
Data-Driven Testing in Selenium [Video]
$ 124.99
$ 10.00
Building Microservices on AWS [Video] Book Cover
Building Microservices on AWS [Video]
$ 124.99
$ 10.00