ATF test to validate reference qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 03:23 AM
Hello there!
I am working on the automation of some manual test cases for Service Portal catalog items.
In some cases, the requirement is to check if only valid options are available as choices for reference/list type variables.
My first thought was try and set the variable to an invalid value, and then validate the variable value, but it seems like the reference qualifier is ignored.
I have also tried to get the choices to show on the page with the Click Component step, so I can check for one valid and one invalid option with Assert Text on Page step, but it seems like I cannot click the entry field for the variables.
Do you have any tips for how this could be automated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2025 05:45 AM
Hi @davidandrik
I think it is not possible in ATF to validate the reference qualifier.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2025 04:07 AM
Hi @davidandrik
You could do validation something like this:
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel