ATF test to validate reference qualifier

davidandrik
Tera Contributor

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?

 

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

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]

****************************************************************************************************************

Shaqeel
Mega Sage

Hi @davidandrik 

 

You could do validation something like this:

Shaqeel_0-1741176418465.png

 


***********************************************************************************************************************
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