ATF Configuration to add attachments to a record producer in Employee center portal does not work

Susmitha Ramay2
Tera Contributor

We are trying to create a Test in ATF with following Test steps :
Impersonate
1.Open a Record Producer (SP)
2.Set Variable Values (SP)
3.Add Attachments to Form (SP)
4.Submit Record Producer (SP)

On running the test the test fails at step 3 with the following error :

SusmithaRamay2_0-1743757646477.png

 

Can someone please help me fixing this.

Thank you in advance!

12 REPLIES 12

Shivalika
Mega Sage

Hello @Susmitha Ramay2 

 

This is a known error in servicenow. Refer this KB Article by them - 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0832273

 

You need to add this as manual step for testing. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Hi Shivalika,
Thank you for your quick response!
Applied the solution in kb article yesterday but did not work.
Regards,
Susmitha.R

Ankur Bawiskar
Tera Patron
Tera Patron

@Susmitha Ramay2 

are you running this test as an admin?

Are you opening that record producer in custom portal or an OOB one?

if it's for custom portal then ServiceNow won't help and seems some issue with your portal.

Try to give some timeout for Step 3 (10/20 seconds)

It worked for me with in sp portal

 

AnkurBawiskar_0-1743762510612.png

 

add attachment form sp.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Susmitha Ramay2 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi Ankur

Good Evening and Thank you for your quick response! ATF test configuration for Service portal works fine the issue is mainly with the Employee centre portal.

I am mainly looking into ATF Test configuration for  the attachment upload for a record producer that is opened in Employee center portal that does not work as expected. This is reproducible in OOTB instance where Employee center portal is not customized.
Can you help me with this please!

 

Thank you  in advance!