ATF Choice Exclusive Parameter Cannot Add Choices?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 11:26 AM - edited 11-28-2023 09:12 AM
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:
- Ensure you have enabled the Automated Test Framework
Steps to reproduce:
- Create a new Test checking the Enable parameterized testing option
- Open the Test and navigate to the Parameter Definitions tab
- Click Add Exclusive Parameter
- Set type to Choice and enter any name of your choosing (e.g. My Choice)
- Note that right now you cannot enter Choices for the parameter
- Submit the parameter
- 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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2023 01:15 AM
Adding Choice list to the parameter
Open an Parameter definition created.
Right click on the header, hover on configure and then click on related lists.
Select “Variables choice List” and move to selected column, click on save.
After save, choice list would be available on the form.
