Keyword-Driven Testing

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?

Keyword-Driven Testing is an approach to apply modularization in software testing. In Keyword-Driven Testing, Keywords are the building blocks from which you create your Test Cases. Well described Keywords are easy to understand, and thus Test Cases build from familiar Keywords are easy to understand, too. If you are aiming for test automation, link each Keyword to a tiny script in the test automation framework of your choice. This way you reduce the maintenance effort to a minimum.

Sustainable

Clarity

Reusability

Efficient

Collaborative

Simple

Fast

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.

 

Keyword-Driven Scenarios

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.

Less Maintenance in The Long Run

Spend Less Time Find More Bugs

Start creating great Test Cases from little building blocks right away!

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.

Tester

"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"

Software Developer

"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."

Project Manager

“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.”

Tester

"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."

Data-Driven Testing - Smart test management tool

The Smart Test Management Tool

Sign up for the free TestBench Basic Version and start Keyword-Driven Testing right now.