| WANT TO: |
Downloadable documents on this page are in PDF format. Download Acrobat Reader to view them.
By Hans Buwalda, Chief Technology Officer, LogiGear CorporationIntroduction Keyword driven testing is a software testing technique that separates much of the programming work of test automation from the actual test design. This allows tests to be developed earlier and makes the tests easier to maintain. Some key concepts in keyword driven testing include:
Keyword driven testing is a very powerful tool helping organizations to do more automated testing earlier in the testing process and making it easier to maintain tests over time. As with any complex undertaking, there are "success factors" that can determine whether or not a testing effort will be successful. This paper will outline key success factors for keyword driven testing including base requirements, the vision for automation, success factors for automation, and how to measure success. Base Requirements There are numerous requirements that I consider to be "base requirements" for success with keyword driven testing. These include:
Vision for Automation It is also important to have a clear vision for automation. Such a "vision" should include things such as:
Success Factors for Automation Test Design Test design is more important than the automation technology. Design is the most underestimated part of testing. It is my belief that test design, not automation or a tool, is the single most important factor for automation success. To understand more about test design see these previous articles:
Comprehensive Automation Architecture An automation architecture should emphasize methodology over technology, manageability, and maintainability. The methodology should control and drive the technology so that technology supports the methodology and the importance of manageability and maintainability. Organization and management Organization and management are also very important. Success is highly dependent on how well you organize the process including:
A plan of approach should be written for test development and automation. In it should be items such as:
The "right" team must also be assembled. This team should include:
For the team there should be a clear division of tasks and responsibilities as well as well defined processes for decision making and communication. Some Tips to Get Stable Automation
How to Measure Success With any major undertaking, it is important to define and measure "success". There are two important areas of measurement for success - progress and quality. Progress You should measure test development against the test development plan. If goals are not reached, act quickly to find the problems. Is the subject matter clear? Are stake holders providing enough input? Is it clear what to test (overall, per module)? Is the team right (enough, right skill set mix)? You should measure automation and look at things such as implemented keywords (actions) and interface definitions (defined interface dialogs, pages, etc). You should measure test execution looking at things such as how many modules are executed and how many executed correctly (without errors)? Quality Some of the key quality metrics include:
Conclusion It is important to understand that keywords are not magic, but they can serve you well. What is more important is to take the effort seriously and "do it right". Doing it right means that test design is essential, both global test design and the design of individual test cases. Automation should be done but it should not dominate the process. Automation should flow from the overall strategy, methodology, and architecture. It is also very important to pay attention to organization - the process, team, and project environment. Following the success factors outlined in this paper can lead to a successful implementation of keyword driven testing. Other Articles by this Author
Download free articles, white papers, templates and more! |
| Back Top |
