- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2022 06:45 PM
Hello,
is it possible to test adding the attachment to a file attachment field type using ATF.
I need to add an attachment to a field and verify it gets stored on the record.
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2022 09:47 PM
Hi,
If the OOB step doesn't allow you to select any file to be added to that Attachment field then possibly it's not supported.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2022 08:50 PM
Hi,
Did you try to use Set Field value step and check if it is supported?
If it not then you cannot test it using ATF.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2022 09:24 PM
Thank you, yes, I did try using Set Field value step. It has allowed me to get passed it, by typing in some text. However, it did not save it to the database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2022 09:47 PM
Hi,
If the OOB step doesn't allow you to select any file to be added to that Attachment field then possibly it's not supported.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader