- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 01:35 AM
Hi Everyone,
I have created a ATF having two different test under test suite. When I run the test suite
(i) At the time of running 1st test---It ran successfully
(ii) At the time of running 2nd test--It failed
Error---This step failed because the client error 'TypeError: Cannot read properties of null (reading 'hopscotch')' 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 have not used any JavaScript in the ATF.
Please provide me some solution so that the ATF can be run smoothly.
Thanks & Regards
Utsav
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 04:48 AM - edited 09-25-2023 04:48 AM
Hi @Community Alums
Just ignore the error and run.
Steps:
Open the test result.
ignore the error from Related Links.
Run the test again.
Regrds
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 04:54 AM
@Community Alums
It's available on docs as well
How to use the Client Error Inclusion list in the Automated Test Framework
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 01:58 AM
@Community Alums
So did it run after adding the error to ignore list?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 02:36 AM
Hi @Ankur Bawiskar
Please share me the steps to "adding the error to ignore list"
Thanks
Utsav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 04:54 AM
@Community Alums
It's available on docs as well
How to use the Client Error Inclusion list in the Automated Test Framework
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 04:48 AM - edited 09-25-2023 04:48 AM
Hi @Community Alums
Just ignore the error and run.
Steps:
Open the test result.
ignore the error from Related Links.
Run the test again.
Regrds
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