ATF Error: Uncaught TypeError: Cannot read property 'parentNode' of null

bbf3562
Kilo Guru

 I am testing catalog item using ATF. I am using Replay Request Item step and then when I open a catalog task form using Open an Existing Record, I get a javascript error on client side specifically "Uncaught TypeError: Cannot read property 'parentNode' of null". There is a screenshot showing that I was successfully opened the task form but I don't know why I ended up getting the error. Can anyone tell me why? Here are screenshot examples,

find_real_file.png

and successfully opened task form even though javascript error,

find_real_file.png

1 ACCEPTED SOLUTION

Try this link https://docs.servicenow.com/bundle/london-application-development/page/administer/auto-test-framework/reference/whitelisted-client-errors.html

View solution in original post

4 REPLIES 4

dave_edgar
Mega Guru
Atf seems to hate client scripts running. If you go into the error you should be able to set error to be ignored Hope that helps

Unfortunately, I don't see an option under Related Links to click set error to be ignored,

find_real_file.png

Try this link https://docs.servicenow.com/bundle/london-application-development/page/administer/auto-test-framework/reference/whitelisted-client-errors.html

Thanks for the link! I figured out why I couldn't find to set ignored. It was because I was using Kingston version but when I export and import into London, I was able to set to ignore.