- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2020 08:12 PM
I am getting below error while executing the test cases:
This step failed because the client error 'Uncaught ReferenceError: current is not defined' 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 got this error in the test step 'click a UI action' where I am clicking on a button to perform a few tasks.
It was working fine earlier. But, not sure why suddenly getting this error. Even in the ATF screenshot, I could see that on click of UI action, it navigated to the next screen. But, still got the error.
Please advise.
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2021 02:17 AM
It got automatically resolved and I didn't do anything to fix it. Thanks everyone for your response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2020 08:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2020 08:51 PM
Hi Sachin,
Thank you for your response!!
I already had a look at that link and I have already mentioned that it was working fine earlier. Also, I am not getting any error while creating the record manually.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2020 12:57 AM
Hi,
Can you try running it manually i.e. click the UI action and check any logs
Also can you share the UI action code?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2020 09:01 PM