xcresult_export_attachment
Export a specific attachment from Xcode test results by index, with option to convert App UI hierarchy attachments to JSON for analysis.
Instructions
Export a specific attachment by index - can convert App UI hierarchy attachments to JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xcresult_path | Yes | Absolute path to the .xcresult file | |
| test_id | Yes | Test ID or index number that contains the attachment | |
| attachment_index | Yes | Index number of the attachment to export (1-based, from xcresult-list-attachments) | |
| convert_to_json | No | If true and attachment is an App UI hierarchy, convert to JSON format |