Adding attachment to record producer in ATF

Ankur Bawiskar
Tera Patron
Tera Patron

I am unable to add attachment to record producer in ATF.

The record producer requires attachment so as to get submitted. How can I add attachment to the record producer via ATF?

Went through this link but could not get much details on this.

https://docs.servicenow.com/bundle/newyork-application-development/page/administer/auto-test-framewo...

Also went through the below link which says some custom script to be created:

https://community.servicenow.com/community?id=community_question&sys_id=22c2f94cdb971b00fece0b55ca96197f

 

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

Ankur Bawiskar
Tera Patron
Tera Patron

Hi All,

I checked with ServiceNow and it is not possible to attach files as an attachment to record producer.

Regards

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

View solution in original post

11 REPLIES 11

Hi Sai,

Since those are from UI macro possibly only using custom UI you can fill the values.
but as you said set component value from custom UI is not working so not sure any other way to do this

Regards

Ankur

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

Hi Ankur,

Did you get any resolution for adding attachments to the record producer? via server side script or any test step configuration? 

Please let me know if you have solution for the same.

Regards,

Neha 

Starting from Paris/Quebec I think they have added test step to Add Attachment to form.

you can explore on that.

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

Hi Ankur,

I am trying to add attachments to the record producer via ATF in Quebec Version using the "Add Attachment to form" step. But I am unable to execute that step as it is throwing an error.

Is there any proper solution for this? Kindly let us know.

 

Regards,

Darshan

Hi,

Can you post this as separate question so that members can help you as this is quite older thread?

Regards
Ankur

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