--- title: Pass values from one automated test step to another description: Assign a form field the value of an output variable returned from a previous step. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/application-development/automated-test-framework-atf/atf-retrieve-value.html release: australia product: Automated Test Framework \(ATF\) classification: automated-test-framework-atf topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Passing data from one automated test step to another, Building and running automated tests with the Automated Test Framework, Automated Test Framework \(ATF\) test building and execution, Automated Test Framework \(ATF\), Testing and debugging applications, Building applications] --- # Pass values from one automated test step to another Assign a form field the value of an output variable returned from a previous step. ## Before you begin You must have a previous test step that returns an appropriate output variable. Role required: admin, atf\_test\_admin and atf\_test\_designer ## Procedure 1. To the right of the field whose value you want to assign, click the input value icon \( \[Omitted image "rem-value-icon.png"\] Alt text: Input value icon\) The input value mapping control lists previous steps that create an output variable. If no previous steps create an output variable, the control displays the message: There are no elements to show. 2. Click the row for the step that contains the output variable you want to use as an input. 3. Click the output variable you want to use. If the output variable is an id for a glide record, the control displays a tree picker providing access to fields for this record. 4. Navigate through the tree picker hierarchy until you find and select the value you want. **Parent Topic:**[Passing data from one automated test step to another](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-passing-data.md) **Related topics** [Automated Test Framework use case: reference a value from a previous step](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/automated-test-framework-atf/atf-use-backref.md)