Unambiguous. Concise. Readable Test Cases.
The basic idea of Keyword-Driven Testing is to define re-usable elements - Keywords - which then can be used to create Test Cases. The set of Keywords defines a simple to learn and easy to use language for testing in your domain. Using Keywords, communication between domain experts, testers and automation engineers is easy.
Create your short path with Keywords
What is Keyword-Driven Testing?
Get more out of your testing
Benefits of Keyword-Driven Testing
Sustainable: Your test interface changes? Adjust one Keyword. Done. The workflow changes? Adjust a few Keywords. All tests are updated. Instantly.
Clarity: Very quickly everybody knows exactly what each Keyword means. No need to guess: did the test designer want me to do this, or that? Is “Login user” the same like “Log the user in”?
Reusability: Each Keyword can be used as often as you want. If you spend some time making it good, it’s time well spent.
Efficient: It’s easy and fast to compose Test Cases from Keywords. And it’s easy to create Keywords at first.
Collaborative: Using Keywords it’s fun to share work: A domain expert has knowledge about the application, but maybe not on automation technology. The test automation engineer knows how to implement, but maybe not much about the domain. Keywords allow both to work together.
Simplified test automation: Building blocks, again. Only a limited number of tiny scripts need to be implemented and maintained, as opposed to a huge and ever-growing number of scripts for each Test Case. That is: Almost constant effort – instead of constantly increasing effort, that at some point you can no longer control. Instead, keep control.
Speed: You’ll be surprised how much faster it is to create Test Cases from Keywords. This is because of Clarity, Reusability, Efficiency – you get it.
When to use Keyword-Driven Testing?
Keyword-Driven Testing works best on System-Testing or Acceptance Testing level. Use it to document your test cases. Use the terms your domain experts use. They will be able to read your Test Cases. Use it if you want to automate your test cases. There is no better way to stay in control of maintenance efforts.
Who benefits from Keyword-Driven Testing
Same Test Cases can be used for manual and automated testing
Keywords are readable for both, human and machine. In other words, data becomes structured and beneficial for everyone who likes to save time.
"While using keyword driven testing, I can create, maintain and reuse keywords within the product easily. Using keyword parameters makes it even more powerful and saves time"
"When programming, I use functions that allow me to write reusable and easily maintainable code. With TestBench, I can do the same in testing, using Keywords to structure my product's Test Cases."
“For me as a project manager, testing used to be a black box. With keywords, the test cases are finally readable, and I get the transparency I need for my decisions, also in terms of quality.”
"As a tester, I can reuse existing Keywords in new Test Cases, and those Keywords can even be used multiple times within the same Test Case to maximize test coverage."