We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Hi @rachna56 

 

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

*************************************************************************************************************
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/dratulgrover [ 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...

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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