Set Variables in ATF test step for Service Catalog

Vishnu Prasad
Kilo Contributor

Hi Friends,

 

When we try to set a variable value ( choice list variable ) in ATF step for Service Catalog, we are not able to set those choice list values which are populated through Catalog client script addOption method.

The reason might be choice list values added through addOption are not stored in sys_choice table and the step is referring to sys_choice table

Is there any alternative to achieve this, The requirement is choices added through CCS should also be there in Set Variable step in ATF

 

Thanks & regards

Vishnu Prasad

2 REPLIES 2

Arnoud Kooi
ServiceNow Employee
ServiceNow Employee

I have added an upddateset that adds a new server step named Create String Variable, that lets you enter a string.

If you add this step before the Set Variable Values, you should be able to pick the entered bvalue, using the Pill icon

 

 

 

Arnoud Kooi
ServiceNow Employee
ServiceNow Employee

I have added an updateset that adds a new server step named Create String Variable, that lets you enter a string.

If you add this step before the Set Variable Values, you should be able to pick the entered value, using the pill icon.

 

 find_real_file.png