Portability
Portability
Section titled “Portability”This page is generated from the live QualityMax MCP registry. Examples use placeholders; replace them with values for your workspace.
convert_qtml_to_playwright
Section titled “convert_qtml_to_playwright”Purpose
Section titled “Purpose”Persist all QTML contracts as projects/test cases, then request model-assisted Playwright generation that persists automation scripts. This is not deterministic compilation or a file-only editor action. Generation may enqueue asynchronous jobs; poll check_generation_status. Import is non-atomic and reports each contract/intent; partial imports skip generation.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
source |
string |
Yes | QTML source text |
project_id |
integer |
No | Existing project ID (omit to create a new project from QTML contract) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "source": "your-source" }, "tool": "convert_qtml_to_playwright"}export_project_as_qtml
Section titled “export_project_as_qtml”Purpose
Section titled “Purpose”Export a QualityMax project and its test cases as a QTML document string.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
project_id |
integer |
Yes | Project ID to export |
test_case_ids |
array |
No | Optional list of specific test case IDs to include (omit for all) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "project_id": 1 }, "tool": "export_project_as_qtml"}import_qtml
Section titled “import_qtml”Purpose
Section titled “Purpose”Import a QTML source string into QualityMax, creating a project and/or test cases from the QTML contract and intents.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
source |
string |
Yes | QTML source text to import |
project_id |
integer |
No | Existing project ID to import into (omit to create a new project) |
create_project |
boolean |
No | Create a new project from the QTML contract (default: true) |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "source": "your-source" }, "tool": "import_qtml"}parse_qtml
Section titled “parse_qtml”Purpose
Section titled “Purpose”Parse a QTML (Quality Testing Meta Language) source string and return its structured representation as JSON. Use this to inspect the contents of a QTML document.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
source |
string |
Yes | QTML source text to parse |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "source": "your-source" }, "tool": "parse_qtml"}validate_qtml
Section titled “validate_qtml”Purpose
Section titled “Purpose”Validate a QTML source string. Returns whether it is valid and any errors found.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
source |
string |
Yes | QTML source text to validate |
Return shape
Section titled “Return shape”The live registry does not declare a response schema. Expect a tool-specific JSON result and handle success, error, and result fields defensively.
Worked example
Section titled “Worked example”{ "arguments": { "source": "your-source" }, "tool": "validate_qtml"}