The CreatorCon Call for Content is officially open! Get started here.

ATF

Parag7
Tera Contributor

Hello community, 

 

I have one error in ATF. 

Scenario: When I create a Normal change request from a Project task(Using Click on the UI action step) that time change is created but the following error is populating. I have done All client errors in Ignore/Warning list then also error is comingimage.pngimage.png

  

Is there any solution to this? 

 

Error: This step failed because the client error 'com.snc.planned_task.core.PlannedTaskAPI: PPM Unable to Recalculate Task: 0a7d14671b729550ea51cb72604bcb23 null: no thrown error' 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 attached a screenshot of the steps which I followed. 

6 REPLIES 6

Parag7
Tera Contributor

Please reply with any solution.

 

Go to test result of that particular step there you will find Add all client errors to warning list and Add all client errors to ignored list in related list click on these links.

 

saivishwajaval_0-1669829836594.png

For more details, check this article https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725054 

Swetha_88
Giga Contributor

Hi @Parag7 , I'm facing the same error also I have added all the errors to warning list and ignored list. Still it's the same. Did you got any solution to this? Please help.

Goose 25
Tera Contributor

Hello,

I just got the same issue and I just found the solution.

Under Automated test Framework -> Run -> Allowed Client Errors

You can find all client errors you decided to ignore / warn.

In your error and so in mine, there is a sys_id from a record probably generated by the ATF (same story in mine)

When I went to whitelist table (sys_atf_whitelist) and removed the sys_id from it (in error_message), it solved my issue.

So your whitelisted error probably looks like this "com.snc.planned_task.core.PlannedTaskAPI: PPM Unable to Recalculate Task: 0a7d14671b729550ea51cb72604bcb23" and you just have to change it into this "com.snc.planned_task.core.PlannedTaskAPI: PPM Unable to Recalculate Task: "

 

For those interested to know more about this table, this is the documentation I found about it How to use the Client Error Inclusion list in the Automated Test Framework - Support and Troubleshoo...

 

I hope it will help all those with the same issue.