{"id":608,"date":"2015-08-04T09:55:36","date_gmt":"2015-08-04T09:55:36","guid":{"rendered":"http:\/\/www.gallop.net\/blog\/?p=608"},"modified":"2018-10-05T14:23:52","modified_gmt":"2018-10-05T08:53:52","slug":"keyword-driven-test-automation-for-mobile-apps-2","status":"publish","type":"post","link":"https:\/\/www.cigniti.com\/blog\/keyword-driven-test-automation-for-mobile-apps-2\/","title":{"rendered":"Keyword-driven Test Automation for Mobile Apps"},"content":{"rendered":"

The mobile application market is experiencing explosive growth both in terms of the sheer number of apps available to users and also in the logical complexity of their design. As the frequency of apps being released increases, the resulting product release cycles are shortened, and therefore automated methods of testing are the need of the hour. An automated testing method enables companies to perform consistent and repeatable tests, thereby improving efficiency and saving time and money. This is where keyword-driven testing comes in to play.<\/p>\n

What is keyword-driven testing?<\/h3>\n

Keyword-driven testing is a method of software testing that can be used for both manual and automated processes. In keyword-driven testing, a keyword is used to represent an individual testing action; for example, a single mouse click, keystrokes, selection of an object, etc. It is basically used to construct a sequence of operations, in a specific keyword format, which are used to simulate the actions a user is likely to go through while using the application. Therefore, when it comes down to testing actions, a tester can just select the predefined keyword that represents a specific action or just record their actions on the fly, depending on the software, and the keyword-driven test is generated.<\/p>\n

Since it is a method where the actions required to perform a specific operation are used to simulate tests, it is an extremely low maintenance process of testing, as any changes to the GUI of the application do not affect the testing process. It also allows the testing of applications to be performed at earlier stages of its development cycle as, again, it isn’t dependent on the UI of the application in question. The end result, therefore, is a technically sound product.<\/p>\n

The benefits of keyword-driven testing<\/h3>\n