Grouping Keywords

To better structure the keywords in a library, you can group them.

This topic shows how you can add a keyword to a specific group These group names are also used by Silk Central and your keywords are grouped accordingly.

To add a keyword to a specific group:

  1. Open the implementation of the keyword.
    1. Activate the project in which the keyword is implemented.
    2. Open the Keywords window.
    3. In the Keywords window, select the keyword.
    4. Click Go to implementation.
  2. If the keyword is implemented in a VB .NET script, add the keyword group to the start of the script. For example, to add the group calculator to the keyword, type:
    <KeywordGroup("Calculator")>
  3. If the keyword is implemented in a visual test, add the keyword group to the properties of the visual test.
    1. Select the start step of the visual test.
    2. Open the Properties pane.
    3. Type the name of the group into the Keyword group property.
In the Keywords window, the displayed keyword name now includes the group. For example, the keyword Addition in the group Calculator is displayed as Calculator.Addition.