ATF Test result showing an error message but test runs successfully

snow_beginner
Mega Guru

Hi,

I created an ATF test and its basically a test for requesting new software (so atf test for a catalog item). It runs fine and is successful, but when I check the test results it says 'Success with warning(s)' against the result. What does that mean? Is it concerning or not? I have read the docs (Allow client errors from step results (servicenow.com)) about ATF but I am not really understanding what they mean.

1 ACCEPTED SOLUTION

Hi,

it's a warning and should be fine

Had it been an error the step would have failed.

Regards
Ankur

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

View solution in original post

9 REPLIES 9

@snow_beginner 

you can also ignore the warnings and add it to exclusion list so that it doesn't come again

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

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

SumanthDosapati
Mega Sage
Mega Sage

Hi,

Share your result screenshots and logs.

 

Regards,

Sumanth

Hello, here are screenshots of the test results

find_real_file.png

 

find_real_file.png

The test steps are as follows:

 

1) create a user with role snc_internal

2) open a catalog item (sp)

3) set variable value (sp)

4) validate variable values (sp) 

5) click component (custom UI) - (add to cart button)

6) checkout shopping cart

7) record query - validate there 1 sc_task created with the assignment group

😎 same as step 7 but with different assignment group.

suvro
Mega Sage
Mega Sage

Sometimes client errors come as a warning which you can later configure whether to consider them as error or ignore for the next run

Please mark my answer as correct and helpful If it resolved your issue.