Info
Keywords
Keywords are like building blocks for your test. Use small keywords to create bigger keywords, and so on.
Reusing Test Cases
Reusing (referencing) Test Cases makes your tests easy to maintain, which ensures that your tests are always up to date.
Test design
A good rule of thumb: anything you need to do the same way more than once should be made into a keyword. Set data and component details that will remain the same, and parameterize anything which will change.
First Steps Overview Test Structure

The way to maintainable tests

Tests through the GUI (black box tests) are made up of many repeated actions, such as entering or checking text, clicking buttons, etc.

If you write a new Test Case for each click or sequence, test maintenance will be a nightmare. To avoid redundancy in your tests, (and to make maintenance more easy) we support wide reusability of Test Cases by letting you reference the Test Cases you have created.

Use our library of Test Cases (the unbound modules) to get started. Simply reference the Test Cases you want to use from this library to create your own Test Cases.

Give your Test Cases meaningful names (keywords) so that your tests are easy to read and understand.

Think about structure - which data or component names can you set in a Test Case because they will not change? Which data or component names should you parameterize so that you can change them each time you reference a Test Case?

Create keywords for actions or sequences that you need to carry out frequently. If you are specifying something for the second time, think about refactoring your test to create a keyword to do the action / sequence, and reference it each time you need it instead.

The more you reuse, the easier it is to keep your tests up to date!