QMetry: Export HTML Report
qmetry_export_html_reportExport HTML content as a downloadable report file for sharing and archiving test results.
Instructions
Export HTML content as a downloadable report file via the backend.
Toolset: AI Agent
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
baseUrl (string): The base URL for the QMetry instance (must be a valid URL)
htmlContent (string) required: HTML content to be exported as a report.
fileName (string) required: Name for the exported report file (without extension).
Use Cases: 1. Export a generated release readiness report as an HTML file 2. Save AI-generated quality gate analysis as a downloadable report 3. Create a shareable HTML document from report content
Examples:
Export a release readiness report
{
"htmlContent": "<h1>Release Readiness Report</h1><p>Generated by AI Agent.</p>",
"fileName": "release-readiness-report"
}Expected Output: Report file generated and returned by the backend.
Hints: 1. REQUIRED: 'htmlContent' is the full HTML string to export. 2. REQUIRED: 'fileName' is the report file name (without extension). 3. Typically called after generating report content from 'Execute Quality Gate Report' results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | The base URL for the QMetry instance (must be a valid URL) | |
| fileName | Yes | Name for the exported report file (without extension). | |
| projectKey | No | Project key - unique identifier for the project | default |
| htmlContent | Yes | HTML content to be exported as a report. |