Hybrid Framework (Data & Keyword Driven)
This framework is a combination of frameworks. The one mentioned here is a combination of Keyword driven and Data driven framework:
1. Keyword Driven:
The Keyword-Driven (aka Table-Driven framework) requires the development of data tables and keywords, independent of the test automation tool used to execute them. Tests can be designed with or without the Application. In a keyword-driven test, the functionality of the application-under-test is documented in a table as well as in step-by-step instructions for each test.
There are 3 basis components of a Keyword Driven Framework viz. Keyword , Application Map , Component Function.
Keyword:
Keyword is an Action that can be performed on a GUI Component. Ex . For GUI Component Textbox some Keywords ( Action) would be InputText, VerifyValue, VerifyProperty and so on.
Application Map:
An Application Map Provides Named References for GUI Components. Application Maps are nothing but “Object Repository” which are properties to locate the web elements.
Component Function:
Component Functions are those functions that actively manipulate or interrogate GUI component. An example of a function would be click on web button with all error handling , enter data in a Web Edit with all error handling. Component functions could be application dependent or independent.
2. Data Driven: This is used to fetch data from data files.
Platform: Selenium
Versions: 2
Tags: Data Driven Framework, Selenium frameworks, Testing automation frameworks