Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Testing Field Visibility & Fields Editability using ATF is possible?

Krishnakant Arv
Tera Expert

Hello Everyone,

 

For a example, In Incident table, Many fields I  have made read only and some fields are not read only so those are editable based on different roles. And I have also made few fields hidden based on different state. So I wanted to know that can I check fields visibility & fields editability using ATF. 

 

Is that possible using ATF to test above scenarios? If possible what steps I can follow to achieve this?

 

Thanks in Advance,

Krishnakant Arvind Yadav

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Krishnakant Arv 

yes you can check if field is visible or not, mandatory or not, readonly or not etc using OOB step

Name of Step: Field State Validation

Check below screenshot

AnkurBawiskar_0-1676272617674.png

Ensure before using this step you need to have a form opened

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

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

@Krishnakant Arv 

Thank you for marking my response as helpful.

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

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