Regarding (ATF) test failure

karolismick
Tera Contributor

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.

karolismick_1-1727261299756.png

 

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..


 

 

2 REPLIES 2

Stefan Reichelt
Tera Guru
Tera Guru

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).

Shaqeel
Mega Sage

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.

Shaqeel_0-1727274165142.png

 

 

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