| WANT TO: |
By Hans BuwaldaIntroduction Keyword driven methodologies like Action Based Testing (ABT) are usually considered to be an automation technique. They are commonly positioned as an advanced and practical alternative to other techniques like to "record & playback" or "scripting". You can read a lot about ABT on the LogiGear web site or in LogiGear's Newsletter Archives. To see ABT as an automation technique is not incorrect. We do it ourselves at LogiGear in marketing. Some parts of ABT, and the supporting toolset TestArchitect, are very technical and would not fit in a manual process. However, in this article I want to show that the core ideas of ABT are not specifically about automation at all, they are merely a style of test design. ABT as a Style for Writing a Test Consider, for example, this small manual test instruction regarding a registration dialog (see Example 1). I found this instruction in one of our earlier projects:
Example 1 - Manual Test Instruction At first glance, there does not appear to be a lot wrong with this instruction. It is a proper and very common instruction in a manual test suite. However, when examined more closely a few things can be noted:
In general manual instructions tend to be verbose, voluminous, and hard to create and maintain. Executing manual instruction costs a lot of time and labor, often when a project is already under time pressure. Using ABT the same test would be written in a spreadsheet, and typically look like this:
Example 2 - ABT Test Instruction Compared to the earlier version (Example 1) a number of differences can be seen:
Notice that the action based format used here does not assume automation at all. It is just another way of writing a test. The test case can be executed equally well manually as it can be with automation. An experienced tester, who is familiar with operating the system under test, can follow this instruction and execute the test case manually. However, two considerations remain for use of the short action based format for manual tests:
The way around these limitations is to let the test designer spend time to define the "check registration" action in more detail, just like would be done when automating this test. And just like with automation, this specification, which we call "action definition", will only have to be done once, thus also improving maintainability. For a manual test this definition will be specified as template text, with place holders for the arguments for which the manual tester will need to supply the actual values. In TestArchitect we even have added a function that will do this automatically - it will generate a document in which all actions are re-placed with the template texts specified in their definitions, and the place holders replaced by the actual argument values. Conclusion What I hope I have illustrated in this article is that Action Based Testing, and keyword based methods in general, are not necessarily automation techniques. They are most of all an economic way of describing tests. They are a style or a format for writing a test instruction. More Information on Action Based Testing
Other Articles by this Author
|
||||||||
| Back Top |
