- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
screenshots please of your test steps, error and how your form looks
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Glad to know.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Sarika_S
I guess your test script contains date parsing which is throwing error. Share that code snippet .
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti