Software Testing
Testing Retail Point Of Sale(POS) Systems: Example Test Cases
What is POS Testing? POS Testing is defined as Testing of a Point of Sale Application. A POS or...
Keyword Driven Framework is a functional automation testing framework that divides test cases into four different parts in order to separate coding from test cases and test steps for better automation. Keyword driven testing framework divides the test cases as test steps, objects of test steps, actions on test steps and data for test objects for better understanding.
Keyword Driven Testing is a scripting technique that uses data files to contain the keywords related to the application being tested. These keywords describe the set of actions that is required to perform a specific step.
A keyword-driven test consists of high and low-level keywords, including the keyword arguments, which is composed to describe the action of a test case. It is also called table-driven testing or action word based testing.
In Keyword Driven Testing, you first identify a set of keywords and then associate an action (or function) related to these keywords. Here, every testing action like opening or closing of browser, mouse click, keystrokes, etc. is described by a keyword such as openbrowser, click, Typtext and so on.
For Example:
We will see some more example further in the article.
Example of keywords
| Keywords | Description |
| Login | Login to gtupapers bank demo site |
| Emails | Send Email |
| logouts | Log out from gtupapers bank demo site |
| Notifications | Find unread notifications |
In order to create a Keyword driven framework, you need following things
In Software Engineering, Keyword Driven Testing is done due to following reason
Keyword based testing can be done in both ways, manually as well as automated. But usually, it is used with automated testing.
The objective behind automating Keyword based testing is
With keyword driven testing, you can create a simple functional tests in the earlier stages of development, testing the application piece-by-piece. The simplest way to compose keyword driven test is to record them. After recording, the test can be modified and customized as per the requirement.
Each keyword needs to be linked with atleast one command, test scripts or function, which implement the actions related to that keyword.
When test cases are executed, keywords are interpreted by a test library, which is called by a test automation framework.
The major activities involved in keyword driven testing are
Few tools which are extensively used for Keyword driven testing.
Summary:
What is POS Testing? POS Testing is defined as Testing of a Point of Sale Application. A POS or...
What is Correlation? Correlation, as the name suggests, is a mechanism of defining a relationship between...
Tests are grouped together based on where they are added in SDLC or the by the level of of...
Operational Acceptance Testing Operational Acceptance Testing (OAT) is a software testing...
Orthogonal Array Testing Orthogonal Array Testing (OAT) is software testing technique that uses...
What is CSTE? Full Form of CSTE is "Certified Software Test Engineer." The Certified Software...