ATF yes/no variable type not available as a parameter?

Kalalicious
Tera Contributor

Hello all,

I'm losing my mind over the apparent inability to set a "Yes/No" variable as a parameter in an ATF for testing a service catalog item.  Just to be clear, this is when trying to set as a Parameter Variable, as we have different approval routes for Yes or No from this question, and I wanted to use parameterized testing to, well, test the form and workflow/flow with different answers.  

When trying to create a new Parameter, there literally is no "Yes/No" type available, and I can't seem to divine another type that would work.  I've tried Choice for example, including the various Choice options, but trying to set a value for this in the Test Run Datasets, the only option for this question is --None--.  

Am I approaching this the wrong way?  Or am I blind or ignorant to the correct option to use?  Please help, I don't have that much hair left to keep pulling it out like I have!  

Thanks for your time!

Jacob

2 REPLIES 2

SANDEEP DUTTA
Tera Patron
Tera Patron

Hi @Kalalicious ,

You can add that data type variable pararmeter , use the following link :

https://www.servicenow.com/docs/bundle/yokohama-application-development/page/administer/auto-test-fr...

 

Thanks,
Sandeep Dutta

Please mark the answer correct & Helpful, if i could help you.

Som4
Tera Contributor

As a workaround, You can have two String types parameters and set their values as "Yes" and "No".