We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

“How to parameterize the ATF ‘Set Variable Values’ step for catalog items with different variables?

BhagyashriS4766
Tera Contributor

Hi Community,

I’m building an ATF test case where I:

  1. Order a catalog item

  2. Check if approval is created

  3. Reject the approval 

  4. Verify the RITM is set to Closed Skipped

This test applies to multiple catalog items, so I wanted to have single test that works for all those, just by-passing catalog item name and variable key-value dictionary as input to the test.
But the challenge is with the “Set Variable Values” step in ATF:

  • Each catalog item has different variables, and I am not able to find a way to configure this step dynamically.

0 REPLIES 0