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

1 ACCEPTED SOLUTION

Kindly mark it as solution and close this thread please.


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

Shaqeel

View solution in original post

5 REPLIES 5

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]

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

Shaqeel
Mega Sage

Hi @skhatri3 

 

Have you used multiple Variable state validation step?

step for each validation separately.

 


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

Shaqeel

skhatri3
Tera Contributor

Yes later on I tried this, and it worked..