How can I get the attachments for a Step result added during execution?

Mi5trB December 16, 2019

I am trying to get the 'attachment' that can be added to a step result during execution, not the 'Step Attachement' that can be added to the base test case.  I can find the 'Step Attachment', using zapi (rest/zapi/latest/stepResult?executionId=), in the 'attachmentMap' shown below but I don't know where the ones that are added during execution are found.  Can someone help me out?

"attachmentsMap": [
{
"fileName": "OPQTC_7.1.PNG",
"dateCreated": "3 days ago 10:31 AM",
"fileSize": "58605",
"fileIcon": "image.gif",
"author": "<user>",
"fileIconAltText": "PNG File",
"comment": "",
"fileId": "106"
}

1 answer

0 votes
Deleted user March 31, 2020

I'm trying to figure this out as well. The attachment map I'm getting back is empty and using attachmentsByEntity comes back empty as well.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events