Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Invalid Reference Validation in ATF

rachna56
Tera Contributor

Hi Team,

 

I want to validate scenario where I set invalid value to a field and validate the error message, but in ATF this field appear with a search icon next to it to select valid value, and in custom ui set its not identifying the value in catalogue form. Is there a way to automate this in ATF.

 

 

 

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @rachna56 

 

ATF not support wrong value in Reference. For this write a script or test it manually if possible. 

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

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

Write a Scrip as in Selenium?

Hi @rachna56 

 

https://docs.servicenow.com/bundle/utah-application-development/page/administer/auto-test-framework/...

https://www.servicenow.com/community/developer-forum/need-help-with-atf-run-server-script-step/m-p/1...

https://www.servicenow.com/community/developer-forum/automated-testing-framework-atf-server-side-scr...

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

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