Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

ATF – How to set dynamically populated Select Box variable in Service Portal?

kwija
Kilo Explorer

Hi,

I’m working on an ATF test for a Service Catalog item in Service Portal and have an issue with the Set Variable Values (SP) test step.

The catalog item contains a Select Box variable called request_type_choices. The choices for this variable are not configured statically on the variable itself. They are populated dynamically by an existing Catalog Client Script.

When I configure the standard Set Variable Values (SP) ATF step, I cannot select any of these dynamically generated values.

The value is available on the actual Service Portal form, but it is not available when configuring the ATF step.

I cannot modify the existing Catalog Client Script, so I’m looking for an ATF-side solution.

kwija_0-1788853108499.png

 

 

0 REPLIES 0