---
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


---

# Automated Test Framework use case: reference a value from a previous step

# Automated Test Framework use case: reference a value from a previous step {#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

This use case illustrates assigning a form field the value of an output variable from a
previous step.{#atf-use-backref__usm_bzh_vw}

## Antes de Iniciar

Role required: atf_test_admin

## Por Que e Quando Desempenhar Esta Tarefa

Automated Test Framework: In this example, the
second step references an output value from the first step. Pass values from one step to
another example.

## Procedimento

1. Insert a record into the incident table.  
   This example inserts a record into the Incident table.  
   Figura 1. Step 1 - Record Insert   

2. Open the record just inserted by assigning to the Record field the output variable from Step 1.  
   Figura 2. Step 2 - Specify the record
3. Validate that fields on the open record have the values you expect.  
   Figura 3. Step 3 - Field Values Validation   

{#atf-use-backref__ssj_cyw_4x}
**Tarefas relacionadas**   

* [Pass values from one automated test step to another](https://servicenow-prod.fluidtopics.net/p2mib9yUK3ExWJr7VPJuGg "Assign a form field the value of an output variable returned from a previous step.")

