While running ATF getting an error, This step failed because a client-side Javascript error was detected on the page being tested. See the logs and screenshots on the test result for details.

kvamsikrishna
Mega Expert

Hi All

Can You please help on this

In Automated test framework i am getting some issue This step failed because a client-side JavaScript error was detected on the page being tested. See the logs and screen shots on the test result for details.

EX: Time sheet

My steps Are :

1) Impersonate (End User)

2) Open a New Form

3)Set field values

4) Submit the record

5)Impersonate(Project manager)

6) open existing record(4th Step record)

7)Click UI Action "accept"

passed test cases up to 5th step

in 6th step getting this issue (This step failed because a client-side JavaScript error was detected on the page being tested. See the logs and screen shots on the test result for details.)

 

 

2 REPLIES 2

Jon Barnes
Kilo Sage

can you post the screen shot that shows the javascript error? Is the issue that you don't want the test to stop if it sees errors, or is the issue that there is a javascript error present? which are you trying to solve?

Nia McCash
Mega Sage
Mega Sage

There is a HI Known Error KB article on this: https://hi.service-now.com/kb_view.do?sysparm_article=KB0623238