A way to attach a file to the attachment field on the form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 03:53 AM
Hello All,
I work on a framework that tests our instance of ServiceNow using REST API and Selenium framework. In my case I have a form in Catalog Items with a mandatory attachment field. To test that form I have to attach a file and than proceed the form further. I know that there is REST API for making attachments on the records in the table, but is there a way to make an attachment on the form using the REST API?
Thank you.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 04:27 AM
Hello Dmitry,
You can use the attachment API to achieve this. Please have a look at Attachment API and you should be able to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 04:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 04:41 AM
Have you been looking into the Automated Test Framework(ATF) that came with Istanbul?
docs: Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2017 07:19 PM
I've been looking at using ATF to add an attachment to an incident form and haven't found a way. Any ideas on how to do it?