Add an attachment
qtest_add_attachmentAttach a base64-encoded file to a qTest artifact such as a test case, requirement, defect, or test log by specifying the project ID, artifact type, and artifact ID.
Instructions
Attach a file (provided as base64 content) to a qTest artifact such as a test case, requirement, defect, or test log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | File name including extension. | |
| objectId | Yes | Artifact ID to attach to. | |
| projectId | Yes | Numeric project ID. | |
| objectType | Yes | Artifact type to attach to. | |
| contentType | No | MIME type (default application/octet-stream). | |
| base64Content | Yes | File content, base64 encoded. |