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

 
Yes Ankur is Correct. I tried to enable the UI Step environment but its not allowed for users to Create Test Step Config.

Refer the below img.

find_real_file.png


Attachment test step Available in newyork version and Above.

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

i tried using business rule to copy attachment once we start the testing set the business rule on and copy attachment. but later business user told we will do manually  for this request. so skip it. if your form have validation this need to look one more time.

Hope in Community people will find the solution soon. 
 

Trupti2
Kilo Expert

Thanks Jayesh & Ankur.