The CreatorCon Call for Content is officially open! Get started here.

Use AT to validate a choice is NOT in a list

George P
Tera Guru

Hello,

I have a use case for the Assigned to field where it is filtered based on several criteria.  I would like to create an ATF Test to validate that the invalid options are not in the list.  There does not seem to be an assert type associated with setting values on the form, it either succeeds and passes the test or does not succeed and fails the test.  I can't tell it to expect a failure and continue the test.

 

Any ideas?

6 REPLIES 6

AT limitation is the crux of the issue.  The server script runs in the background, but the filter is based on changes to the Assignment Group, so I really need this in the UI, not the backend.  May be a fruitless effort, but I was hoping for any ideas before giving in.

 

Thanks for your thoughts.

@George P 

Glad to help.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader