Book Image

Selenium Essentials

By : Prashanth Sams
Book Image

Selenium Essentials

By: Prashanth Sams

Overview of this book

Table of Contents (12 chapters)

Keyword-Driven framework


A Keyword-Driven test is a kind of functional automation testing, where keywords are used instead of scripts. Since all the required Selenium functions and operations are prewritten in an external user-defined driver, basic knowledge of the framework's workflow is more than enough to learn and maintain tests. Furthermore, a fully developed Keyword-Driven framework reduces a tester's scripting effort. Let's take a look at Open2Test, which is purely a Keyword-Driven framework that supports Selenium WebDriver too. This framework handles the Binary Excel sheet through JExcel API.

The Open2Test components, namely Selenium_Utility, ObjectRepository, TestSuite, and Test_Script are the source files used to perform Keyword-Driven tests. See the following screenshot to get an idea about the framework structure:

These components are available in the form of Excel sheets, where Utility Excel stores all the location paths of the object repository, test suite, test script, and report...