All operations and instructions in a Keyword Driven Framework are written in an external Excel file. Let's have a look at the flow of the procedure to see how it works. The automation script will read the Excel sheet's instructions or test input data. The data is entered into the application that is being tested.
Keyword-driven testing, also known as table-driven testing or action word based testing, is a sort of functional automation testing framework. In keyword-driven testing, we create keywords or action words for each function we want to run in a table format, usually a spreadsheet.
The Keyword-Driven framework is a strategy for externalising script keywords/actions in a distinct Object Repository (in this case, a Java Class file), resulting in benefits such as better code reusability, lower script maintenance, and more portability.
Data-driven testing involves running tests with a variety of stored data, values, and variables. Keyword-driven testing involves running tests with specific keywords.
These terms refer to the sequence of events that must occur in order to complete a task. A keyword-driven test is made up of high-level and low-level keywords, as well as keyword arguments, that describe the action of a test case. It's also known as action word based testing or table-driven testing.