'Uncaught SyntaxError: Unexpected token 'export'' error occuring when running an ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:10 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 04:17 AM
Hi @matthew_hughes,
I hope you are using the below step to open the Application Portfolio Management- Dashboard module.
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**