Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

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

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

This use case illustrates assigning a form field the value of an output variable from a previous step.

About this task

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

Procedure

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

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

    Screenshot of form for Field Values Validation

This site is scheduled for a small content update on Wednesday, December 12th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 13 00:00 – Dec 13 4:00 UTC). Access to this site may be slightly delayed during that time.