Use AT to validate a choice is NOT in a list

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Glad to help.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader