---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Create a parameterized test

# Create a parameterized test {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Build a test that uses variables to store test data.

## Before you begin

Role required: atf_test_admin, atf_test_designer, or admin

## Procedure

1. Navigate to AllAutomated Test FrameworkTests.
2. Click New.  
   A blank Test record opens.
3. On the form, fill in the fields.  
   {#create-parameterized-test__table_dnb_slz_tfb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Enter a name for the test. |
   | Active | Enable |
   | Enable parameterized testing | Enable |
   | Description | Enter a description for the test. |
   [ ]

   {#create-parameterized-test__table_dnb_slz_tfb}
4. Click Save.  
   Parameterized testing related lists appear.
5. Create a parameter to hold test run data.  
   A parameter is a variable that stores a particular type of test data. Each parameter has a unique label and a data type. For example, you can create a parameter to store the Sys ID of a reference field or the integer value of a choice field.
   1. In the Parameter Definitions related list, add a parameter.  
      * Add Exclusive Parameters: Adds a parameter available to this test only.
      * Add Shared Parameters: Adds a parameter available to any parameterized test.
      {#create-parameterized-test__ul_hxc_qgg_5fb}
   2. Define the name of the variable and the data type.  
      When creating parameters for a form, the parameter data type must match the field data type. For example, if you are creating a parameter to test a reference field on a form, you must create a parameter of type Reference. For more information on ServiceNow AI Platform data types, see [Field types](https://www.servicenow.com/docs/access?context=r_FieldTypes&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US).
   3. Click Submit.
   {#create-parameterized-test__substeps_wxd_c4z_tfb}

## What to do next

[Add a parameter to a test step](https://www.servicenow.com/docs/ftPxMOpBBCMFRHQJtqZ_hw "Add a variable to a test step to hold a particular type of data when the test runs.")

*[\>]: and then


