How to add Multi-row Variable Set to ATF for auto populated values?

dinesh thirugna
Tera Contributor

I have a catalog item which is having a variable called "Select type"(Select lookup box) and a multivariable set.
Multivariable set have another four variables,
1.Country- Select lookup box--This working as expected

2.Entity name- Select lookup based on country values ---It is not populating when i use "set variable values(SP)

3.Entity number-string

4.Entity Type-string

find_real_file.png

Script:

find_real_file.png

12 REPLIES 12

dinesh thirugna
Tera Contributor

Hi Team,

This is the solution proposed by SNOW team for my ticket

Solution Proposed:
- ATF tests will only be able to set values for List Collector if the "Variable attributes" is set to glide_list : KB0692076 - Automated Test Framework (ATF) can not set catalog variable values with field type as 'L...
- ATF does not support reference qualifiers : KB0825602 - Automated Test Framework does not support reference qualifier conditions
- Here are some other ATF limitations you should consider : KB0952466 - Limitations and unsupported features in Automated Test Framework (ATF)

Unfortunately we are using "reference qualifiers" does some one have the solution when SNOW plan to  support reference qualifiers???

OR

Is there any other way to use ATF to  support reference qualifiers?

 

Hello @dinesh thirugna ,

 

Have you found a way to test reference qualifiers?
I have the same problem now and have no idea how to handle it.

Thanks in advance

Dinuthiru
Tera Contributor

This solution propesd by @Markus Kraus  Try it and let me know it is working for you

I created a workaround for the "Set Variable Value" Service Catalog Step which allows you to effectively set List Collector Variable Values without having to add the "glide_list" attribute.

See this KB https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0713770

 

Fork this repository: https://github.com/kr4uzi/ServiceNow-ATF-Plus
And import your newly forked repository to a instance of your likings.

 

The following new ATF Step will be available:

Dinuthiru_0-1699538444813.png

 

 

I plan on adding more "Bug Fix" steps in the future, so stay tuned.