---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Add a predefined list of steps (template) to an automated test

# Add a predefined list of steps (template) to an automated test {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

With test templates you can add a predefined list of steps to a test. Any list of
steps that follows a set pattern makes a good candidate for a template.

## Before you begin

You must have created the test to which you want to add steps.

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, 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. You can also [create custom test
templates](https://servicenow-prod.fluidtopics.net/9BI7xX~umS~NQGUecA0awg "Reduce testing time by creating a template containing a list of steps to add all at once to an automated test.").

## Procedure

1. Navigate to AllAutomated Test FrameworkTests. {#atf-use-template__f5w_2mh_xw}
2. Click the row for the test to which you want to add steps.  
   The system displays the Test form. {#atf-use-template__g5w_2mh_xw}
3. On the Test Steps related list, click Add Test Template.  
   The system displays the Add a test template dialog. {#atf-use-template__k5w_2mh_xw}
4. From the Table field, select the table you want to test with these steps. {#atf-use-template__pj5_nmh_xw}
5. From the Template field, select the template containing the steps you want to add. {#atf-use-template__a1r_qmh_xw}
6. Click Add.  
   The system adds the template steps to the test. It also adds to the test description a set of instructions on how to complete the test from this template. {#atf-use-template__hk3_rmh_xw}
7. Following the instructions in the test description, edit each step added by the template to include the necessary information. {#atf-use-template__vrf_1nh_xw}

## What to do next

Proceed to edit or save the test as you normally would.
**Related tasks**   

* [Create an automated test steps template](https://servicenow-prod.fluidtopics.net/9BI7xX~umS~NQGUecA0awg "Reduce testing time by creating a template containing a list of steps to add all at once to an automated test.")

*[\>]: and then


