ATF Submit record producer Query

Sarika_S
Tera Contributor

 Hello ,

     I have created testcase to submit record producer (sp) . but it fails with client error  - unparseable date with some user sys id.  if I uncheck checkbox  - Failed on server error , test runs smoothly without failing. 

My doubt is that is it recommendable to uncheck -failed on server error to pass test ? or Will it create impact on testcase when  further workflow steps are added .  Is there any other way to handle this error?

Thanks in Advance.

 

Sarika S.

1 ACCEPTED SOLUTION

masonreed11
Giga Contributor

I wouldn't recommend unchecking "Fail on server error" just to pass the test. Specific test data or user records likely cause the unparseable date error. It's better to fix the root cause, as hiding the error could affect future workflow steps.

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron

@Sarika_S 

screenshots please of your test steps, error and how your form looks

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

Thank you Ankur  for you response.  But yesterday evening testcase executed successfully with checked  Failed on server error checkbox. I tried to increase timeout seconds for 2-3 steps . It worked.

@Sarika_S 

Glad to know.

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Tera Patron

Hi @Sarika_S 

 

I guess your test script contains date parsing which is throwing error.  Share that code snippet .

 

 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti