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:
-
Open the implementation of the keyword.
-
Open the project in which the keyword is implemented.
-
Open the
Keywords window.
-
In the
Keywords window, select the keyword.
-
Click
Go to implementation.
-
To add all methods in a class to the keyword group, add the keyword group before the start of the class.
For example, to add the group calculator to the keywords, type:
@KeywordGroup("Calculator")
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.