On the running the test of ATF error is coming

Community Alums
Not applicable

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

2 ACCEPTED SOLUTIONS

Shaqeel
Mega Sage

Hi @Community Alums 

 

Just ignore the error and run.

Steps:

Open the test result.

ignore the error from Related Links.

Run the test again.

Shaqeel_0-1695642518794.png

 

 

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

View solution in original post

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

So did it run after adding the error to ignore list?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Community Alums
Not applicable

Hi @Ankur Bawiskar 
Please share me the steps to "adding the error to ignore list"

Thanks
Utsav

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Shaqeel
Mega Sage

Hi @Community Alums 

 

Just ignore the error and run.

Steps:

Open the test result.

ignore the error from Related Links.

Run the test again.

Shaqeel_0-1695642518794.png

 

 

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