Implementing a Keyword in Silk Test Workbench

Before implementing a keyword, define the keyword as part of a keyword-driven test.

To implement a keyword for reuse in keyword-driven tests:

  1. Open a keyword-driven test that includes the keyword that you want to implement.
  2. In the Keyword-Driven Test Editor, click Implement Keyword to the left of the keyword that you want to implement. The Implement Keyword dialog box opens.
  3. Select which type of asset the new keyword should be:
    • To implement the keyword as a .NET method, click .NET Script. You can add the new keyword to an existing .NET script or create a new .NET script for the keyword by typing a name into the Asset Name field.
    • To implement the keyword as a keyword sequence, click Keyword. You cannot record a mid-level keyword, as it is a sequence of other keywords.
    • To implement the keyword as a visual test, click Visual Test.
  4. Type a name for the keyword into the Asset Name field.
  5. Optional: To record the keyword, check the Start Recording check box.
  6. Click OK.
  7. Click Record.
    For additional information on recording, see Recording a Keyword.