Getting an Error in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2026 05:56 AM
Getting this error "This step failed because the client error 'GlideAjax.getXMLWait is no longer supported' was detected on the page being tested. See failing Test Logs. To ignore these errors in the next test run, use 'Add all client errors to warning/ignored list' links."
What is the issue? How to get rid of this? Currently test is not passing.
Note - I am able submit Record Producer manually, no error is appearing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2026 06:00 AM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725054
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
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2026 06:12 AM - edited 06-10-2026 06:14 AM
Hi @KS86
Refer:
How To: Async GlideAjax in an onSubmit script
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2026 02:45 AM
Hi @KS86
Open the failed step and click on "Add all error to ignored list"
&
In your test uncheck "Fail on server error"
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2026 02:57 AM
Your code uses GlideAjax.getXMLWait(), which is a synchronous function that freezes the browser
Find the Client Script running on that Record Producer and change getXMLWait() to an asynchronous getXML() call with a callback function:
// Change this:
ga.getXMLWait();
var ans = ga.getAnswer();
// To this:
ga.getXML(callbackFunction);
function callbackFunction(response) {
var ans = response.responseXML.documentElement.getAttribute("answer");
}
Try this approach