Software testing can be either performed as manual testing or automation testing. There are different automation testing frameworks like: data driven testing, keyword driven testing and hybrid framework. In keyword driven testing, the keywords or actions are created for automation testing.
A keyword or an action is defined as a combination of test objects which explains how the test lines should be executed. An action word contains many arguments and is defined by the test analysis. The keyword driven testing is also known as table driven or action word testing which is software testing process that is usable for both manual and automated testing. The process uses keywords or action words to symbolise the functionality which is to be tested such as ‘enter client’. The keyword ‘enter client’ is to be defined as a set of actions that must be executed to enter the new client in the database. The keyword documentation contains
- The initial state of the system under the test
- The main window or any menu to start
- The keys or mouse clicks to get the correct data entry
- The proper names of the fields to find out which arguments to be entered
- What actions to be performed in case the additional dialogs pop up
- The button to click for submission
In the keyword driven testing you first identify all the keys and then make connection between the key and its action. Here every testing action is like opening and closing of the browser like mouse click, key strokes etc. for example:
The login keyword to any website is used to test the login function and action associated with it.