Test Step Config ATF

skhatri3
Tera Contributor

Hi,

I am facing issue in ATF Variable state validation, the test is getting failed since there are 4-5 dependable field as there are UI Policies applied for each field due to which ATF doesn't wait till the form gets validated. So I was trying to use Test Step Config (so that ATF can wait 5 sec to complete the UI policies on SP).

Pls is the code in used. How its not working.

Pls let me know if anyone have the solution.

 

Regards,

Saurabh

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@skhatri3 

I don't think this can be achieved as you have multiple UI policies or logic to show the dependency

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Dr Atul G- LNG
Tera Patron

Hi @skhatri3 

I doubt this can be done easily, as it involves many UI policies that must run in sequence. ATF is designed to handle simple cases with minimal dependencies. For more complex scenarios, you would need to write custom code to fully test it.

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

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