Regarding (ATF) test failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 03:50 AM
Hey ServiceNow community,
When running a ATF test I am encountering an issue '
This step failed because the client error 'SyntaxError: "" string literal contains an unescaped line break' 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. |
It happens on 'Open Service Portal Page' or 'Open a Form (SP)' steps
Has anyone encountered a similar issue? Can't run the TEST, DEBUG or continue with other steps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 07:13 AM
If this happens with an OOB page, and the error has no relation to your test, you may really consider clicking one of the "Add all client errors to..." Related Links. It will make the system ignore this message in future runs, and only throw a warning (or even ignore it, depending on your choice).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 07:22 AM
Hi @karolismick
It is something fields error you can simply ignore it and run.
Open the failed test result, in the related link click Add all client errors to.
Now you wont get this error.
And uncheck the following form the test.
Regards
Shaqeel
***********************************************************************************************************************
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