Reduce testing time by creating a template containing a list of steps to add all at once to an automated test.

Before you begin

Role required: atf_test_admin or atf_test_designer

About this task

Many tests follow similar patterns. One common pattern, for example, is to open a form, set some field values, validate some field values, click a UI action, open a record producer, open a catalog item, and submit the current form. If a template exists containing these steps, you can add them to a test all at once. The Automated Test Framework comes with default templates in the base system. With this procedure, you create your own templates.

Procedure

  1. Navigate to All > Automated Test Framework > Administration > Test Templates.
    The system displays the Test Templates list.
  2. Click New.
    The system displays the Test Template form.
  3. In the Name field, enter a name for your template.
  4. In the Test Template field, click the lock icon (Lock icon).
    The Test Template field unlocks and expands to allow editing.
  5. In the Test Template field, enter the name of the first test step to add to this template.
    The system adds the test step to the Test template list.
  6. Continue adding test steps – in the order that you want them to appear – until you've added all the steps that you want to include in the list.
    Note: The test template supports tables, catalog items, and the record producer.
  7. In the Description field, enter a description for this template.
  8. Click Submit.