Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Add output variables to scripted steps

Execute the following steps to add additional outputs in Run Server Side Script and Custom Scripted StepConfig test steps.

Parent Topic:Step configurations

Adding outputs in Run Server Side Script test step

Modify the test scripts of Run Server Side Script test step to create additional outputs of your choice.

Before you begin

Role required: admin or atf_test_admin

Procedure

  1. Navigate to All > Automated Test Framework (ATF) > Administration > Step Configurations.

  2. Search and select Run Server Side Script.

    The read-only Test Step Config form shows up.

    Note: Although the form is read-only, new output variables can be created.

  3. Scroll down to the Output Variables related list.

    The list of default output variables shows up.

  4. Click New to create a new output variable.

FieldInput Value
TypeType of output variable
ApplicationScope of the user
LabelUser-facing name of the output variable
Column nameVariable name used in the script
Max lengthLength of the data type.Note: This field doesn't show up for all data types.
Image omitted: run\_server\_side\_script.gif
Gif showing creating new output variables
The new output variable gets added to the Output Variable related list.
  1. Navigate to Automated Test Framework (ATF) > Tests.

  2. Select the test where you want to implement the new output variable.

  3. Click Add Test Step.

  4. Search and select Run Server Side Script test step.

  5. Follow the instructions to change outputs mentioned in the Test script.

    outputs.<column_name> = "<desired value>";
    
  6. Click Submit.

    The newly created output variables are now ready to be used in any subsequent steps of the test.

Adding outputs in Custom Scripted StepConfig test step

Copy the Custom Scripted StepConfig test step and customize the copied version by adding additional outputs.

Before you begin

Role required: admin or atf_test_admin

Procedure

  1. Navigate to All > Automated Test Framework (ATF) > Administration > Step Configurations.

  2. Search and select Custom Scripted StepConfig.

    The read-only Test Step Config form shows up.

    Note: Since the form is read-only, you must copy the test step to customize it to add more output variables.

  3. Select Copy to have a copied version of the test step.

    Note: The copied version is no longer read-only.

  4. Add additional output variables in the copied version by implementing the following steps:

    1. Select New under Output Variables related list.

    2. Modify Step execution script to add more output variables.

    See Adding outputs in Run Server Side Script test step to add more output variables.

    Note: You can use these steps to customize the test step only in the copied version.

  5. Reuse the copied version of the test step in any test whenever required.

Image omitted: custom\_scripted\_test\_config-p.gif
Gif showing reusing of Custom Scripted StepConfig test step