Creating a Keyword-Driven Test in Silk4J

Use the Keyword-Driven Test Editor to combine new keywords and existing keywords into new keyword-driven tests. New keywords need to be implemented as automated test methods in a later step.

  1. Click Silk4J > New Keyword-Driven Test. The New Keyword-Driven Test dialog box opens.
  2. Type a name for the new test into the Name field.
  3. Select the project in which the new test should be included. By default, if a project is active, the new test is created in the active project.
    Note: To optimally use the functionality that Silk4J provides, create an individual project for each application that you want to test, except when testing multiple applications in the same test.
  4. Click Finish to save the keyword-driven test.
  5. Click No to create an empty keyword-driven test. The Keyword-Driven Test Editor opens.
  6. Perform one of the following actions:
    • To add a new keyword, type a name for the keyword into the New Keyword field.
    • To add an existing keyword, expand the list and select the keyword that you want to add.
  7. Press Enter.
  8. Repeat the previous two steps until the test includes all the keywords that you want to execute.
  9. Click File > Save.

Continue with implementing the keywords or with executing the test, if all keywords are already implemented.