ATF Choice Exclusive Parameter Cannot Add Choices?

lucianod
Tera Contributor

When creating an Exclusive Parameter with type Choice in an automated test, I am unable to add Choices to the parameter. If I create a Shared Parameter with type Choice in an automated test, I am able to add Choices as I would expect. I am using the Utah release of ServiceNow and a PDI (Personal Developer Instance) to test this.

 

Prerequisite:

  1. Ensure you have enabled the Automated Test Framework

Steps to reproduce:

  1. Create a new Test checking the Enable parameterized testing option
  2. Open the Test and navigate to the Parameter Definitions tab
  3. Click Add Exclusive Parameter
  4. Set type to Choice and enter any name of your choosing (e.g. My Choice)
    1. Note that right now you cannot enter Choices for the parameter
  5. Submit the parameter
  6. Re-open the parameter

Observed:

There is nowhere to add Choices for your parameter despite being of type Choice. If you repeat these steps for a Shared Parameter you are able to add Choices.

 

Does anyone know if this is intentional? If not, is there somewhere I can submit this as an issue to ServiceNow?

1 REPLY 1

sushmapinapati
Tera Contributor

Adding Choice list to the parameter
Open an Parameter definition created.

PP2.JPG

Right click on the header, hover on configure and then click on related lists.

PP3.JPG

Select “Variables choice List” and move to selected column, click on save.

PP4.JPG

After save, choice list would be available on the form.

PP5.JPG