add_attachment_to_run
Attach a file or directory to a test run. Directories are automatically zipped, with a maximum upload size of 256MB.
Instructions
Add an attachment to a test run in TestRail. If the file_path points to a directory, it will be automatically zipped before uploading. Maximum upload size is 256MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The ID of the test run to attach the file to | |
| file_path | Yes | The path to the file or directory to attach. Directories will be automatically zipped. |