Identify and resolve client errors
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Automated Test Framework
Identify client errors and resolve them in client-side scripts.
Before you begin
About this task
When client errors occur, the Automated Test Framework fails the test on the step that was executing when the error occurred. Even though client-side scripts can fail silently on JavaScript errors while procedures are executing, the error may still impact data, and the procedure being executed. The Automated Test Framework considers these errors as validation failures.
Procedure
What to do next
Example client errors
There are several types of common client error.
Client JavaScript errors
When a client script causes an error, the browser console displays an error similar to the following example:
In this example, the client script Modify Comments Label caused the error.
Other client script errors
Any other type of script error reports directly to the browser console with any formatting upon occurrence.
TypeError: callbacks(id) is undefined
Script resource links by Sys ID
In some cases, the console error provides a link to the script resource file using its Sys ID. Following this link may give context to which script had executed it.
Script access permissions
- Access control rule permissions for tables and fields.
- Application access permissions if the script accesses applications in a private scope.
- Domain separation permissions if domain separation is configured.
On this page
Related Content
- Allowed client errors
Add known client errors to the allowed client errors list to allow tests and steps to continue running when a specific error occurs. Set the report level to specify what the Automated Test Framework does when the error occurs in future tests.