Keyword Driven Testing

Keyword Driven Testing

More than just a few Words

The basic idea of Keyword Driven Test is to define reusable elements – keywords – that can then be used to create test cases. The set of keywords defines an easy-to-learn and easy-to-use language for testing in your domain. Using keywords facilitates communication between subject matter experts, testers, and automation engineers.

What is Keyword Driven Test?

Keyword Driven Test is an approach to applying modularization to software testing. In Keyword Driven Test, keywords are the building blocks from which you create your test cases. Well-described keywords are easy to understand, and therefore test cases created from known keywords are also easy to understand. If you are aiming for test automation, link each keyword to a small script in a test automation framework of your choice. This way you reduce the maintenance effort to a minimum.

Advantages of Keyword Driven Testing

Sustainable

Your test surface changes? Adjust a keyword. Done! The workflow changes? Adjust a few keywords. All tests are updated. Immediately.

Clarity

Very quickly, everyone knows exactly what each keyword means. You don't have to guess anymore: Did the test designer want me to do this or that? Is "user log in" the same as "user log in"?

Reusability

Each keyword can be used as many times as you want. If you spend some time to make it good, it is time well spent.

Efficiency

It is easy and fast to compile test cases from keywords. And it is easy to create keywords first.

Speed

You will be surprised how much faster you can create test cases from keywords. It's because of the clarity, the reusability, the efficiency - you get it!

When is Keyword Driven Testing recommended?

Keyword Driven Test works best at the system or acceptance test level. Use it to document your test cases. Use the terms that your subject matter experts use. They will be able to read your test cases.

Use it when you want to automate your test cases. There is no better way to stay in control.

Further Benefits

Keyword Driven Test is independent of industry or domain context, and can deliver its benefits in all domains.

Analogous to the composite interactions, composite data types are also available, which can be used to similarly represent complex data sets as simple test elements.

Tests specified using the interaction method thus consist of a sequence of interactions with parameters and a table with concrete values for the parameters.

Interaction sequence and parameter table together are called test case set. To add further concrete test cases to test case sets, one simply creates another row in the parameter table. To extend the test logic of all test cases, interactions are added to the interaction sequence.

The iTORX also provides the test designer with a convenient preview tool for the test specification. This allows him to view how the test sequence is specified in detail at any time in the case of multi-nested interaction sequences and data types.

Compound interactions again consist of a sequence of interactions. In composite interactions, you can encapsulate the complexity of certain test sequences: you combine a sequence of many test steps in one element with a meaningful name such as “Establish default state”.
This makes your test specification enormously more readable without sacrificing the level of detail. This composition of interactions can be nested to any depth, with maximum added value achieved at a nesting depth of 2-3 levels. This allows you to describe a test sequence very simply in technical terms at the top level, which in turn builds on technical interactions at the lower levels that describe the elements of a user interface in more detail, for example.

And this is how all the Functions interlock:

Testautomation

Connect your test automation solutions to TestBench or build a robust testautomation architecture. Ensure that all test results are automatically submitted to TestBench.

Read more!

Data Driven Test

Data Driven Test enables the reuse of test flows by using test data for variation. This allows different scenarios with different input values to be tested efficiently, increasing test coverage and accelerating test development.

Read more!

Integration

Seamless tool integration into your test landscape - we have the individual solution you need!

Read more!