upload-report
Skill10 starsChanged 5 months agoMITView on GitHub
Run automation and upload or verify Katalon Platform reports for Katalon Studio/KRE, JUnit XML, and Playwright reports. Use when you need to combine Katalon MCP project/result discovery with Katalon CLI execution, Katalon Report Uploader, or @katalon/playwright-reporter; configure report folders, report types, Platform/TestOps IDs, verify uploaded runs, handle failed auto-upload, or summarize execution results after automation completes. Written for the automation tester whose framework has already run and whose report is sitting on disk. If the Playwright run has not happened yet, start at playwright-execute.
- Reads credentials
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/analyze-failures.mdcCursor rule
- .cursor/rules/create-test-cases.mdcCursor rule
- .cursor/rules/execute-test.mdcCursor rule
- .cursor/rules/exploratory-charter.mdcCursor rule
- .cursor/rules/get-started.mdcCursor rule
- .cursor/rules/platform-setup.mdcCursor rule
- .cursor/rules/playwright-execute.mdcCursor rule
- .cursor/rules/release-analyze.mdcCursor rule
- .cursor/rules/test-case-to-katalon-studio.mdcCursor rule
- .cursor/rules/test-case-to-playwright.mdcCursor rule
- .cursor/rules/test-data.mdcCursor rule
- .cursor/rules/test-estimation.mdcCursor rule
- .cursor/rules/test-maintenance.mdcCursor rule
- .cursor/rules/test-management.mdcCursor rule
- .cursor/rules/test-plan.mdcCursor rule
- .cursor/rules/test-reporting.mdcCursor rule
- .cursor/rules/test-review.mdcCursor rule
- .cursor/rules/true-platform-testing.mdcCursor rule
- .cursor/rules/upload-report.mdcCursor rule
- llms.txtllms.txt
- analyze-failuresSkill
- create-test-casesSkill
- execute-testSkill
- exploratory-charterSkill
- get-startedSkill
- platform-setupSkill
- playwright-executeSkill
- release-analyzeSkill
- test-case-to-katalon-studioSkill
- test-case-to-playwrightSkill
- test-dataSkill
- test-estimationSkill
- test-maintenanceSkill
- test-managementSkill
- test-planSkill
- test-reportingSkill
- test-reviewSkill
- true-platform-testingSkill
- analyze-failuresSkill
- create-test-casesSkill
- execute-testSkill
- exploratory-charterSkill
- get-startedSkill
- platform-setupSkill
- playwright-executeSkill
- release-analyzeSkill
- test-case-to-katalon-studioSkill
- test-case-to-playwrightSkill
- test-dataSkill
- test-estimationSkill
- test-maintenanceSkill
- test-managementSkill
- test-planSkill
- test-reportingSkill
- test-reviewSkill
- true-platform-testingSkill
- upload-reportSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
38 rules. About 0 are common, 24 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill after or during an automated execution when the user wants Katalon, JUnit, or Playwright reports collected, uploaded to …
- Very specific: line 20
Read references/capability-boundaries.md when tool availability is unclear.
- Distinctive: line 29
Test target when running tests: Katalon test suite/collection path, Playwright project/test command, or explicit command provided by the …
- Distinctive: line 36
Never ask the user to paste secrets into normal chat when a secure secret mechanism exists.
- Distinctive: line 40
When Katalon MCP tools are available:
- Distinctive: line 45
If execution IDs, suite IDs, or project IDs are provided, read them before running.
- Distinctive: line 47
If Katalon MCP tools are missing, continue with CLI-only execution only when all CLI inputs are available, and clearly state that platform …
- Distinctive: line 51
Use this decision order:
- Very specific: line 53
If the user says Playwright or the repo has @playwright/test, use the Playwright flow.
- Very specific: line 54
If the user provides .xml JUnit files or says JUnit, use the JUnit flow.
- Very specific: line 55
If the user provides a Katalon Studio/KRE report folder or .prj run target, use the Katalon flow.
- Very specific: line 56
If unclear, inspect local files for .prj, playwright.config.*, or JUnit XML before asking.
- Distinctive: line 58
Do not convert Playwright to JUnit unless the user already has only JUnit XML output or explicitly requests JUnit upload.
- Very specific: line 64
Verify the required CLI exists: Katalon CLI/KRE, Java/Docker for Report Uploader, or Node/npm/pnpm for Playwright.
- Very specific: line 65
Verify source paths exist: .prj, report folder, JUnit XML, Playwright config, or Playwright output directory.
- Very specific: line 66
Create or clean only a run-specific report folder.
- Distinctive: line 71
When running Katalon Studio/KRE automation, prefer this command shape for current True Platform uploads:
- Very specific: line 89
When uploading an existing Katalon Studio report folder, use Report Uploader with --type=katalon if auto-upload did not happen or the user …
- Distinctive: line 93
Use this flow when the input is JUnit XML from any automation framework:
- Distinctive: line 95
Verify the XML file or report folder exists.
- Distinctive: line 96
Verify the files are JUnit-style XML, not Playwright HTML or trace artifacts.
- Very specific: line 97
Use Katalon Report Uploader with --type=junit.
- Distinctive: line 98
Prefer API key as the uploader password value, sourced from a secure variable.
- Distinctive: line 99
After upload, use MCP result tools to find/read the new run when available.
- Distinctive: line 116
Use this flow when the input is Playwright:
- Very specific: line 118
Verify Node.js, @playwright/test, and Playwright config.
- Distinctive: line 123
Verify uploaded runs through MCP when possible.
- Distinctive: line 148
Run the Katalon CLI command.
- Distinctive: line 153
Check for common artifacts such as execution logs, JUnit XML, HTML reports, screenshots, videos, traces, and attachments.
- Distinctive: line 156
If the CLI run fails before report generation, report the failure and skip upload verification unless a partial report exists.
- Very specific: line 162
Treat Katalon CLI execution with -apiKey, -orgID, and -testOpsProjectId as the Katalon Studio report upload path.
- Very specific: line 163
Treat Report Uploader with --type=katalon or --type=junit as the Katalon/JUnit report upload path when uploading existing reports.
- Very specific: line 164
Treat @katalon/playwright-reporter or playwright-reporter upload as the Playwright report upload path.
- Distinctive: line 165
Use MCP result tools after the run to find/read the new execution or test results.
- Distinctive: line 166
If the platform shows the run as importing, poll practical intervals when a read/poll tool exists.
- Distinctive: line 167
If auto-upload fails but local report files exist, state the available manual upload path and do not claim the upload succeeded.
- Distinctive: line 181
Follow-up needed for missing credentials, import failure, or manual upload.
- Distinctive: line 183
Do not mark the task complete merely because local automation finished.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Katalon Upload Report
Use this skill after or during an automated execution when the user wants Katalon, JUnit, or Playwright reports collected, uploaded to Katalon Platform, and summarized. Use Katalon MCP for platform discovery and post-upload verification; use the report-specific CLI/uploader for local execution and upload.
Capability Boundary
State the boundary before running or uploading:
- Katalon CLI/KRE can run local automation and generate Katalon Studio reports. With Platform/TestOps arguments configured, current Katalon Studio/Runtime Engine executions are expected to upload results automatically to Katalon True Platform.
- Katalon Report Uploader can upload Katalon Studio and JUnit reports to Katalon True Platform with report
typevalues such askatalonandjunit. @katalon/playwright-reportercan generate and upload Playwright report data to Katalon True Platform duringnpx playwright testor through a separateplaywright-reporter uploadcommand.- Katalon MCP can discover projects/repositories, read executions/results, find test results, and fetch quality data when those tools are exposed.
- Katalon MCP does not inspect the live AUT UI, create requirements, guarantee report import completion, or replace Katalon CLI execution.
Read references/capability-boundaries.md when tool availability is unclear. Read references/cli-report-upload.md before composing CLI commands or choosing the Katalon, JUnit, or Playwright upload flow.
Required Inputs
Resolve or ask for only the missing required values:
- Report type:
katalon,junit, orplaywright. - Execution mode: run tests now, upload an existing report, or verify a report that should already be uploaded.
- Report path: Katalon report folder, JUnit XML file/folder, or Playwright reporter output directory.
- Test target when running tests: Katalon test suite/collection path, Playwright project/test command, or explicit command provided by the user.
- Katalon API key through a secure mechanism or existing environment variable.
- Katalon Platform/TestOps project ID.
- Organization ID for Katalon Studio/KRE execution when required.
- Target Platform/TestOps server only when not default or when using a non-production environment.
- Browser/device/execution profile when required by the project.
Never ask the user to paste secrets into normal chat when a secure secret mechanism exists.
MCP Context First
When Katalon MCP tools are available:
- Call
list_projects. - Call
list_repositories. - Resolve the repository/Test Project.
- If execution IDs, suite IDs, or project IDs are provided, read them before running.
If Katalon MCP tools are missing, continue with CLI-only execution only when all CLI inputs are available, and clearly state that platform verification cannot be completed through MCP in this session.
Choose Report Flow
Use this decision order:
- If the user says Playwright or the repo has
@playwright/test, use the Playwright flow. - If the user provides
.xmlJUnit files or says JUnit, use the JUnit flow. - If the user provides a Katalon Studio/KRE report folder or
.prjrun target, use the Katalon flow. - If unclear, inspect local files for
.prj,playwright.config.*, or JUnit XML before asking.
Do not convert Playwright to JUnit unless the user already has only JUnit XML output or explicitly requests JUnit upload.
Preflight
Before running:
- Verify the required CLI exists: Katalon CLI/KRE, Java/Docker for Report Uploader, or Node/npm/pnpm for Playwright.
- Verify source paths exist:
.prj, report folder, JUnit XML, Playwright config, or Playwright output directory. - Create or clean only a run-specific report folder. Do not delete broad
Reports/,test-results/, orplaywright-report/folders. - Build the command with redacted secrets for display.
Katalon Report Flow
When running Katalon Studio/KRE automation, prefer this command shape for current True Platform uploads:
katalonc -noSplash -runMode=console \
-projectPath="<project.prj>" \
-testSuitePath="Test Suites/<suite>" \
-executionProfile="<profile>" \
-browserType="<browser>" \
-apiKey="$KATALON_API_KEY" \
-orgID="<org_id>" \
-testOpsProjectId="<project_id>" \
--config \
-webui.autoUpdateDrivers=true \
-reportFolder="<run_report_folder>"Adapt for katalon.exe, suite collections, mobile, API-only suites, proxy settings, retries, and repository-specific conventions.
When uploading an existing Katalon Studio report folder, use Report Uploader with --type=katalon if auto-upload did not happen or the user explicitly asks for uploader-based upload.
JUnit Report Flow
Use this flow when the input is JUnit XML from any automation framework:
- Verify the XML file or report folder exists.
- Verify the files are JUnit-style XML, not Playwright HTML or trace artifacts.
- Use Katalon Report Uploader with
--type=junit. - Prefer API key as the uploader password value, sourced from a secure variable.
- After upload, use MCP result tools to find/read the new run when available.
Command shape:
java -jar katalon-report-uploader-<version>.jar \
--projectId="<project_id>" \
--path="<junit_report_path>" \
--password="$KATALON_API_KEY" \
--type=junit \
--server="<platform_url>"Omit --server when the default target is correct.
Playwright Report Flow
Use this flow when the input is Playwright:
- Verify Node.js,
@playwright/test, and Playwright config. - Install or verify
@katalon/playwright-reporter. - Configure
playwright.config.tsorplaywright.config.jswith the Katalon reporter and stableoutputDir, typically./reports. - Upload during execution by setting
KATALON_API_KEYandKATALON_PROJECT_ID, or upload separately withplaywright-reporter upload. - Preserve Playwright screenshots, videos, and traces as attachments when configured.
- Verify uploaded runs through MCP when possible.
Upload during execution:
KATALON_API_KEY="$KATALON_API_KEY" \
KATALON_PROJECT_ID="<project_id>" \
KATALON_BASE_URL="<platform_url>" \
npx playwright testSeparate upload:
playwright-reporter upload \
--output "<playwright_report_output_dir>" \
--api-key "$KATALON_API_KEY" \
--project-id "<project_id>" \
--base-url "<platform_url>"Omit KATALON_BASE_URL or --base-url when the default target is correct.
Run And Collect
- Run the Katalon CLI command.
- For JUnit-only uploads, run the producing test command only if requested; otherwise upload the existing report.
- For Playwright, run
npx playwright testor the user's package script when execution is requested. - Preserve stdout/stderr logs, but redact secrets before summarizing.
- Locate the generated report folder.
- Check for common artifacts such as execution logs, JUnit XML, HTML reports, screenshots, videos, traces, and attachments.
- Record local pass/fail/error signals from CLI exit code and report files.
If the CLI run fails before report generation, report the failure and skip upload verification unless a partial report exists.
Upload Or Confirm Upload
For current Katalon True Platform:
- Treat Katalon CLI execution with
-apiKey,-orgID, and-testOpsProjectIdas the Katalon Studio report upload path. - Treat Report Uploader with
--type=katalonor--type=junitas the Katalon/JUnit report upload path when uploading existing reports. - Treat
@katalon/playwright-reporterorplaywright-reporter uploadas the Playwright report upload path. - Use MCP result tools after the run to find/read the new execution or test results.
- If the platform shows the run as importing, poll practical intervals when a read/poll tool exists.
- If auto-upload fails but local report files exist, state the available manual upload path and do not claim the upload succeeded.
Report Back
Always report:
- Report type:
katalon,junit, orplaywright. - CLI command status, with secrets redacted.
- Local report folder path.
- Upload status: verified uploaded, importing, failed, or not verifiable because MCP is unavailable.
- Platform execution/run link when returned.
- Passed, failed, skipped, blocked/incomplete, and error counts when available.
- Failed tests and concise failure reasons.
- Artifacts created: HTML/XML/screenshots/videos/logs.
- Follow-up needed for missing credentials, import failure, or manual upload.
Do not mark the task complete merely because local automation finished; completion requires either verified Platform upload or a clear explanation that upload verification is blocked.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

