CFileAttachment

Stores data for a specific file attachment. When retrieving a CFileAttachment from the Helix ALM Server, the operation must create a file and copy the data from mpFileData to the file. When saving a CFileAttachment to the server, the operation must copy the data from the file and add it to the mpFileData field.

Extends

CFile

Fields

Field Type Description
mpFileData byte[] Contains the binary data for the file attachment. The data in and out of mpFileData must be base64Binary encoded.
mstrFileName string Attachment file name.
mrecordid long Unique file record ID.
mstrArchiveName string Archive file name on the server.
mstrType string Attachment type. Valid values: Standard, Script, or Run Result. Use getAttachmentTypes to retrieve a list of attachment types.
mscriptOrder long Order that the script is displayed on the Scripts tab in the test case or test run.
mstrScriptState string Current script status during playback. Updated when a script is running from a client computer.

Returned by

Used in