Data-Driven Testing in Selenium

Data-Driven Testing in Selenium

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 1h 58m | 473 MB

Build your own data driven automation testing framework for web and mobile with Selenium WebDriver, Java, and TestNg

Selenium is one of the most popular engines for UI test automation. It is available for many different programming languages. At the same time, the data-driven approach is one of the most popular approaches for optimizing tests, making them compact, and easily extensible just by adding some new data.

In this course, you’ll practice the data-driven approach using Selenium, Java, and TestNG/JUnit. We’ll start with basic samples and then go through the major steps to abstract application pages using a page object model. After that, we’ll exercise different ways to make our tests data-driven.

We’ll start with basic out of the box abilities and then practice more complicated samples to operate with external data from Excel, databases, Spring injection, and more. We’ll go through various improvements to make tests run in parallel. In particular, we’ll explore different options to run data-driven tests in parallel.

At the end, you’ll discover the good practices when testing framework designs. You’ll also get a deep understanding of the data-driven approach and various ways to apply it to our tests.

This course delivers a pragmatic approach to using Selenium for testing. This is a step by step guide in designing your own automation testing framework with Selenium Web Driver

What You Will Learn

  • Understand the idea behind the data-driven approach
  • See an approach to build a framework in Java for web and mobile applications
  • Get major solutions to make data-driven tests for JUnit and TestNG
  • Discover some advanced techniques to get test data from external sources
  • Get to know additional solutions that can help you inject test data into tests
  • See patterns and approaches to run tests in parallel
  • Get a general understanding of test infrastructure setup
Table of Contents

01 The Course Overview
02 Introduction to Approaches to Be Used
03 Environment Setup
04 Sample Test Creation
05 Adding Configuration
06 General Idea, Overview, and Main Design
07 Wrapping Controls
08 Wrapping Pages
09 Adding PageFactory
10 Generating Screenshots
11 General Ideas and Principles
12 Basic Data Parameters
13 Using Data Provider
14 Configuring Data Parameters from XML
15 Getting Data from External Resources
16 Getting Data from Excel
17 Getting Data Using Spring Dependency Injection
18 Data-Drive Cucumber-JVM Tests
19 Core Test Design Updates
20 Setting up Selenium Grid
21 Run Data-Driven Tests in Parallel
22 Final Overview