Can attachment functionality be tested with the ATF?

RJordan
Kilo Contributor

I want to create a test that checks if attachments are successfully being added and submitted with an incident using ATF? Is there a test step for adding attachments or can it not be tested automatically? Thanks in advance.

1 ACCEPTED SOLUTION

mishu1
Tera Guru

Hi Jordan,

The test step to validate the functionality for adding attachments cannot be tested via Automated test framework application using form side validation, however it may be possible via server side validation (Jasmine scripting).

 

Regards,

Mishu

 

Note: Please mark this response as "Helpful", if in case it has resolved your query. 

 

View solution in original post

11 REPLIES 11

Hi srinivasthelu,

Can you explain how you create test Config?

because  in my instance i am not able select the  step environment UI.

joel_fischer
ServiceNow Employee
ServiceNow Employee

There are new steps to support the following cases in the New York release:

- Form - Add Attachments to Form

- Server - Add Attachments to Existing Record

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

Hi,

I want to add attachment to record producer before submission

Any idea on how this can be done via ATF?

Regards

Ankur

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

Trupti2
Kilo Expert

Is there any solution to add attachment before submission on record producer?

Hi Trupti,

As mentioned in previous comment alternative is to create custom step but the custom step configuration is allowed only for 2 categories and not for UI steps

screenshot below:

find_real_file.png

Regards

Ankur

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