Hybrid-Driven framework

A combination of the Data-Driven and Keyword-Driven (or Modular-Driven) frameworks is commonly said to be a Hybrid-Driven framework. In general, a Hybrid-Driven framework is a collection of two or more frameworks that can be customized and accessed by any user. For example, a combination of PageObjects, a Keyword-Driven framework, a Data-Driven framework, an object repository, and reporting listeners provides a powerful Hybrid framework.

Let's take a tour of the framework that can be helpful as a part while building a Hybrid approach.

Create a driver class (loadDriver.java) that loads user-defined methods by invoking Selenium WebDriver functions:

public class loadDriver { private static WebDriver driver; public static void ...

Get Selenium Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.