Data-Driven Testing in Selenium [Video]

More Information
  • 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

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.

Style and Approach

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

  • Get to know about data-driven Cucumber-JVM tests
  • Understand the benefits that the right design patterns can offer to your toolkit
  • Design a Selenium Grid to enable faster and parallel running of tests, increasing test coverage, and reducing test execution time
Course Length 1 hour 58 minutes
ISBN 9781788476430
Date Of Publication 28 Dec 2017


Mykola Kolisnyk

Mykola Kolisnyk has been working in test automation since 2004. He has been involved with various activities including creating test automation solutions from scratch, leading test automation teams, and working as a consultant with test automation processes. During his working career, he has had experience with different test automation tools such as Mercury WinRunner, MicroFocus SilkTest, SmartBear TestComplete, Selenium-RC, WebDriver, Appium, SoapUI, BDD frameworks, and many other different engines and solutions. He has had experience with multiple programming technologies based on Java, C#, Ruby, and so on, and with different domain areas such as healthcare, mobile, telecoms, social networking, business process modelling, performance and talent management, multimedia, e-commerce, and investment banking.