ATF test error 'TypeError: Cannot read properties of undefined (reading 'toString')' was detected

RenataN
Tera Contributor

Hi everyone,

 

I am running ATF tests, and one of them is showing the following error message: "TypeError: Cannot read properties of undefined (reading 'toString')' was detected on the page being tested."

 

It appears during the step to open an `sc_task`. I analyzed the table configurations but didn't find any code using "toString()" that references an undefined variable.

 

Could someone please help me resolve this issue?

 

Thanks.

1 REPLY 1

Tanushree Maiti
Tera Patron

Hi @RenataN 

 

Which Servicenow Version currently you are using.

 

1. post Australia- it seems to be a known issue. Check following post:

https://www.servicenow.com/community/upgrades-and-patching-forum/atf-on-australia-upgrade-failed-bec...

 

2. ALso refer: https://www.servicenow.com/community/developer-forum/quot-type-error-quot-in-atf-test-execution/m-p/...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti