Data-Driven Testing in Selenium

Data-Driven Testing in Selenium

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

Bestseller
Created By: Mykola Kolisnyk
15.87 9.52

About This Course

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.

Other Information

  • Certificate will provided in this course on Completion
  • Full lifetime access
  • Available on Mobile & Laptop

What Students Will Learn In Your Course?

  • 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

Are There Any Course Requirements Or Prerequisites?

Experience as software tester.

Who Are Your Target Students?

This video course is for software quality assurance/testing professionals, software project managers, or software developers with prior experience using Selenium and Java to test web-based applications.

Course Content

  • 22 lectures
  • 01:58:30
  • The Course Overview
    00:03:03
  • Introduction to Approaches to Be Used
    00:08:05
  • Environment Setup
    00:05:24
  • Sample Test Creation
    00:06:53
  • Adding Configuration
    00:07:56
  • General Idea, Overview, and Main Design
    00:06:27
  • Wrapping Controls
    00:05:48
  • Wrapping Pages
    00:05:14
  • Adding PageFactory
    00:06:24
  • Generating Screenshots
    00:03:15
  • General Ideas and Principles
    00:04:11
  • Basic Data Parameters
    00:04:11
  • Using Data Provider
    00:05:00
  • Configuring Data Parameters from XML
    00:03:50
  • Getting Data from External Resources
    00:09:16
  • Getting Data from Excel
    00:04:15
  • Getting Data Using Spring Dependency Injection
    00:04:16
  • Data-Drive Cucumber-JVM Tests
    00:10:07
  • Core Test Design Updates
    00:03:41
  • Setting up Selenium Grid
    00:03:28
  • Run Data-Driven Tests in Parallel
    00:03:56
  • Final Overview
    00:03:50
Image

Packt Publication

  • 4.48 (0)
  • 13 Reviews
  • 0 Students
  • 935 Courses