Access the icons on incident fields in ATF

Alia
Tera Contributor

Hi Team, 

 

I want to access the icons for caller and business service to validate it using ATF. Is there a way we can do it?

Please share your thoughts into it.

 

Thank You.

3 REPLIES 3

iekosmadakis
Mega Sage

Hello @Alia !

Those are field decorations (things added with g_form.addDecoration() / reference icons). ATF can assert values, mandatory/read-only/visible and field messages, but it doesn’t expose or validate decorations/icons directly.

 

Please consider marking my answer as helpful and accepting it as the solution if it assisted you in any way.

Ankur Bawiskar
Tera Patron
Tera Patron

@Alia 

Not possible to test this using ATF.

ATF has it's own limitations.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Alia No, ATF is used to test business logic. Could you please clarify what exactly you want to test in 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
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]

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