---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/application-development

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Add a template to an automated test

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

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

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.

## Antes de Iniciar

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

Role required:
atf_test_admin or atf_test_designer

## Por Que e Quando Desempenhar Esta Tarefa

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/1nGhemZR8bTWJ4hVsTf3Jw "Reduce testing time by creating a template containing a list of steps to add all at once to an automated test.").

## Procedimento

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}

## O que Fazer Depois

Proceed to edit or save the test as you normally would.
**Tarefas relacionadas**   

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

