Keyword View helps to create and view the steps of testing in a keyword driven format, by selecting the 'items' and 'operations' we can create or modify the tests. This view will be helpful for the testers, who are not familiar with the VBScript language. We use the step generator or insert step to add the additional steps in the test script.

qtp-child-name-keyword.gif

Columns in keyword view

The Keyword Driven framework consists of the basic components given below:

  1. Control File
  2. Test Case File
  3. Test Execution Tool
  4. Driver Script
  5. Library Files

Control File

Test Case File

Test Execution Tool

Driver Script

Library Files

Benefits of keyword driven framework

  1. A Keyword-based software test automation framework can reduce the cost and time of a test design, automation and execution. It allows members of a testing team to focus on what they do best, but also allows non-technical testers and business analysts to write automated tests.
  2. Building of Test Scenarios and execution of the Functional Test Suite was feasible without QTP and scripting knowledge.
  3. When properly implemented and maintained, keywords present a superior return on investment because each business event is designed, automated and maintained as a discrete entity.
  4. Re-usability significantly increased over a period of time.
  5. We can write the detailed test plan having desired inputs and verification data in the form of simple and convenient spreadsheets.
  6. Greater traceability to manual test cases. Given the fact that keyword data tables so closely resemble a manual test procedure, it becomes simpler to trace actions in automated tests to actions in manual tests. In addition, there will be a greater reuse of manual test procedures.