'Uncaught SyntaxError: Unexpected token 'export'' error occuring when running an ATF

matthew_hughes
Kilo Sage

I'm trying to create an ATF that will automatically open a dashboard e.g Under the 'Application Portfolio Management' application menu in the application navigator, I'm wanting to open the 'Dashboard' module.

 

However, as I apply this as an ATF test step and run my client test runner, I get the following error message:

This step failed because the client error 'Uncaught SyntaxError: Unexpected token 'export'' 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.

 

I was just wondering why this error is generated and what can be done to prevent it.

1 REPLY 1

Hemant Goldar
Mega Sage
Mega Sage

Hi @matthew_hughes,

 

I hope you are using the below step to open the Application Portfolio Management- Dashboard module.

HemantGoldar_0-1677154410315.png

 

If you still struggling with the error. You can use the link below which will help you 'Add all client errors to the warning/ignore list.

How to use the Client Error Inclusion list in the Automated Test Framework 

 

I hope this helps!

 

Regards,

Hemant 

**Please mark my answer correct or helpful based on the impact**