execute-test
Skill10 starsChanged 5 months agoMITView on GitHub
Runs existing Katalon True Platform (formerly TestOps) manual cases and suites as a TestPak, by hand or with Run with AI, starts automated suites on Katalon Test Execution - Cloud (formerly TestCloud), edits schedules, records manual results, and reports pass, fail and blocked counts. Use when the cases exist and the job is to run them. Not for coded Playwright runs (playwright-execute) or report files on disk (upload-report). For the manual tester.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- analyze-failuresSkill
- create-test-casesSkill
- exploratory-charterSkill
- get-startedSkill
- platform-setupSkill
- playwright-executeSkill
- project-memorySkill
- release-analyzeSkill
- test-case-to-katalon-studioSkill
- test-case-to-playwrightSkill
- test-dataSkill
- test-environmentsSkill
- test-estimationSkill
- test-maintenanceSkill
- test-managementSkill
- test-planSkill
- test-reportingSkill
- test-reviewSkill
- true-platform-testingSkill
- truetest-journeysSkill
- upload-reportSkill
- analyze-failuresSkill
- create-test-casesSkill
- execute-testSkill
- exploratory-charterSkill
- get-startedSkill
- platform-setupSkill
- playwright-executeSkill
- project-memorySkill
- release-analyzeSkill
- test-case-to-katalon-studioSkill
- test-case-to-playwrightSkill
- test-dataSkill
- test-environmentsSkill
- test-estimationSkill
- test-maintenanceSkill
- test-managementSkill
- test-planSkill
- test-reportingSkill
- test-reviewSkill
- true-platform-testingSkill
- truetest-journeysSkill
- upload-reportSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. About 0 are common, 10 are distinctive, and 16 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Read AUT environments with read_auts.
- Distinctive: line 25
Read, list, and edit schedules.
- Distinctive: line 26
Read executions, results, and Test Execution - Cloud assets (apps, agents, tunnels).
- Distinctive: line 28
Not available through the MCP (use the web UI):
- Very specific: line 37
Stop a running automated execution.
- Distinctive: line 39
Run manual cases through the automated lane.
- Very specific: line 40
Look up a run by its UI order number.
- Distinctive: line 51
Ask only when several repositories fit equally, a required value is missing, or the next action is destructive.
- Very specific: line 82
Only the person who created the run can start, record, and end it.
- Very specific: line 92
If the AUT is not public, read references/testcloud-and-private-aut.md and settle the private-access choice before the run.
- Very specific: line 94
Call update_test_run with update.action: "START", execution_mode: "KATALON_AI" and the user's browser_profile_mode.
- Distinctive: line 96
Read the results (see "Read results") before you answer.
- Distinctive: line 104
No list set: Linux Chrome only, on the newest stable version, with no OS or browser picker.
- Very specific: line 111
Do not invent an environment field for START.
- Very specific: line 115
Only SEPARATE runs in parallel.
- Distinctive: line 124
Run with AI on a bound case opens one AI session per data row.
- Very specific: line 135
Create the run with create_test_run and mode: "manual" after the consent preview.
- Very specific: line 136
Call update_test_run with START and execution_mode: "MANUAL".
- Distinctive: line 137
Run the steps with your own browser tools, or guide the human and wait for the real outcomes.
- Very specific: line 139
Call update_test_run with END when every case has an outcome.
- Very specific: line 150
After the consent preview, call create_test_run with mode: "automated".
- Very specific: line 151
Read results with read_execution and find_test_results (see "Read results").
- Distinctive: line 157
Never use the automated lane for individual manual cases.
- Very specific: line 178
Run name and link. Links from read tools can use a host that does not resolve for .katalon.io tenants.
- Very specific: line 185
If every case passed, call fetch_test_stability_metrics with filter_type: "EXECUTION", the execution_id, and return_tests set to ["FLAKY", …
- Very specific: line 199
Run with AI runs in a hosted browser that the organization's environment list allows.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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 Execute Test
This skill runs test cases or suites that already exist and reports the outcome. The true-platform-testing skill is the router for work that spans several stages. This skill is the focused execution step.
MCP clients can add a prefix to tool names (Claude Code uses mcp__<server>__<tool>). This skill uses bare names.
Boundary
Available:
- Read AUT environments with
read_auts. Create manual and automated runs withcreate_test_run. - Drive a manual run (a TestPak) with
update_test_run:CONFIGURE,STARTandEND.STARTruns it by hand (MANUAL) or with Run with AI (KATALON_AI). - Poll a Run with AI session with
read_manual_ai_session. - Record manual results with
update_test_resultsand attach evidence. - Read, list, and edit schedules. Rerun a completed automated execution.
- Read executions, results, and Test Execution - Cloud assets (apps, agents, tunnels).
Not available through the MCP (use the web UI):
- Bulk Configure of suites and collections, and the collection Run mode. See
references/executions-and-schedules.md. - Datasets and per-row control of a data-bound run. The dataset, vault and run iteration tools are not in every tool list yet. Use one only if your tool list shows it.
- The AI Test Runner desktop app. It is a separate app, not an MCP surface.
Also not available:
- Inspect the live AUT UI through the MCP. Use a browser tool for that.
- Stop a running automated execution.
update_test_runENDcloses a manual run, including a Run with AI session on it. - Guarantee that Run with AI finishes. The platform can block or fail a run.
- Run manual cases through the automated lane.
- Look up a run by its UI order number. Use
list_executionsandread_execution. - Return the signed-in user. No whoami tool exists. Omit
executorincreate_test_runto use the signed-in user.
Read references/capability-boundaries.md when the scope is unclear. Read references/write-policy.md before any write. Read references/execution-workflow.md for the step order of a manual run and a Run with AI session. Read references/testpak-and-run-with-ai.md for the execution-mode table, the four ID spaces, lifecycle responses, environments, parallel runs and data-bound runs.
Resolve context
- Call
list_projects. - Call
list_repositories. - Pick the repository (Test Project) from the user's words or the single available one.
Ask only when several repositories fit equally, a required value is missing, or the next action is destructive.
Choose the lane
Use the manual lane for manual cases, a manual suite, cases just created in Katalon, or any "Run with AI" request. Use the automated lane only for an automated suite or suite collection. A suite never mixes both types. If the user did not say manual or automated, ask before you call create_test_run.
A TestPak request is a manual run. Creating a suite alone does not create a TestPak. If the user only asks to create a run, call create_test_run, return the run link and its current status, and stop. Do not call update_test_run START and do not poll an AI session. A created run is not evidence that any test executed.
Consent before any run
create_test_run, update_test_run with START and execution_mode: "KATALON_AI", and rerun_execution use Katalon Test Execution - Cloud minutes or a hosted browser, and can change data in the AUT. Before the first of them, show a preview and wait for one yes. An explicit Run with AI request ("run with AI", "execute using AI") selects the executor. It is not consent. Ask only for values still missing, such as browser_profile_mode or the AUT choice. The preview names:
- Lane, run name, and the cases or suites in scope (count and names).
- AUT environment and URL, or the app for mobile native.
- For Run with AI: the
browser_profile_modechoice and the private-access choice. - For a dataset-bound case: the row count, and that each row opens its own AI session.
- The calls you will make, in order.
One yes covers every call in the preview. A rerun_execution needs its own preview and its own yes.
Choose the executor
For a bare "run this test" or a generic "execute now", ask one question and wait: "Run With AI (recommended, fully autonomous), or manual testing in TestPak?" No AI request does not select manual. Never pick AI because your client has no browser tools, and being an AI agent does not select Run with AI. An explicit "run this TestPak" selects manual. An explicit "Run With AI" selects Run with AI. An explicit "do not use AI" wins over every default. A request to create a run, pick an AUT or supply test data does not request AI. references/testpak-and-run-with-ai.md has the table that maps the user's words to MANUAL or KATALON_AI.
TestPak lifecycle
A TestPak is the manual run container. update_test_run drives it with one update.action per call.
CONFIGUREsets the AUT or private access before the run starts. It fails on an ended run and on a run with hosted AI. It cannot clear a saved AUT id or URL. Make a fresh run for that.STARTneeds the execution path first (see "Choose the executor").MANUALis the default andKATALON_AIlaunches the hosted browser. The choice is the user's. A missing AI request does not selectMANUAL. START on a run that already has an AI session returns that session. It does not reset results.ENDcloses the whole run.unfinished_casesdefaults toREJECT, so unfinished cases block the END. Ask whether to skip them and wait. SendSKIPonly after the user says yes. Never retry a blocked END withSKIPon your own.SKIPalso stops hosted AI.- Only the person who created the run can start, record, and end it. Assigning an
executordoes not change that. - On an
unknownoutcome, read the run withread_executionbefore you retry. The other lifecycle outcomes are inreferences/testpak-and-run-with-ai.md. - A lifecycle stage is not a verdict. START and END never set a run to passed. An ended run can hold failed, blocked or skipped results, and its report can still be synchronizing.
Manual lane with Run with AI
- Resolve the cases or suites. For a suite, call
read_test_suite. For single cases, callread_test_caseswithtest_case_idswhen the input is unclear or risky. Passcontent_type: "FLOW"only when you need the steps. - Call
read_autsin the same turn, right before the run. Never reuse an AUT choice from an earlier turn. Reuse an explicit "skip AUT setup" or "no private access needed" answer from this conversation. An explicit skip wins over matching: omit bothaut_environment_idanddefault_aut_environment_url, even when one environment matches. Readingread_autsdoes not authorize choosing an AUT. Do not configure one atSTART. The target must still be clear from the case steps or the user's words. Ask when it is not. - Pick the AUT environment whose name or URL matches the target. If none exists and the user gave a URL, use it as
default_aut_environment_url. Ask only when several AUTs fit equally. - Ask the user for
browser_profile_mode(SHAREDorSEPARATE). Never infer it. The web UI opens withSEPARATEselected since 2026-10-29, and the tool still needs the user's answer.SHAREDcarries login state from case to case and can write to a live AUT. Separate runs in isolated browsers and can run in parallel. Shared runs the cases one after another. The environment is set by the organization, see "Run with AI environment". - If the AUT is not public, read
references/testcloud-and-private-aut.mdand settle the private-access choice before the run. - After the consent preview, call
create_test_runwithmode: "manual"and a run name. See the tool schema for themanualfields. Do not passbrowser_versionoros_versionunless the user gave them, and never passlatestthere. Do not guess a version from memory. Beta builds are replaced at run time, see "Run with AI environment". Omitexecutor. - Call
update_test_runwithupdate.action: "START",execution_mode: "KATALON_AI"and the user'sbrowser_profile_mode. Use the platformexecution_idof the run, nevermanualExecutionIdor the UI order number. The preview already named this call. - Call
read_manual_ai_sessiononce with themanual_execution_idandsession_idthat START returned, before you report any progress. Poll it until every case leaves TODO and IN_TESTING, or the platform returns a timeout or error. There is no push. Polling never launches a new session. Reuse a session you already know. Never callcreate_manual_ai_sessionas a retry over existing results. - Read the results (see "Read results") before you answer.
create_manual_ai_session is the legacy launcher for a subset of cases. Use it only when the user asks for that subset and you did not call START on the run. Never call it before or after a START on the same run. It asks the user for browser_profile_mode and for os (windows or linux). Never default either. The organization's environment list still applies, so an os it does not allow can be refused.
Run with AI environment
The organization sets which environments Run with AI may use. An admin can set a list, so what a user sees differs by organization. The rule covers the web UI and the MCP START call alike.
- No list set: Linux Chrome only, on the newest stable version, with no OS or browser picker.
- List allows everything: the full picker.
- List names pairs: only those pairs, and the first is the default.
latestis rejected. A restricted run always pins a concrete stable version. - Windows and macOS rows need an organization with a Test Execution - Cloud desktop license. Native mobile without a license is refused with
TESTCLOUD_LICENSE_REQUIRED. Read the error and tell the user. - A beta browser build is replaced by the newest stable build of the same browser at run time. Do not promise a beta build.
- A missing picker can mean "Linux Chrome only", not a bug. Do not offer an OS or browser the organization does not list. A 403 or "access denied" after a request for one version can mean that version is unavailable, not that the user lacks rights. Check the requested values first.
Do not invent an environment field for START. Read the tool schema in your session.
Parallel Run with AI
- Only
SEPARATEruns in parallel.SHAREDruns the cases in order. Shared with a parallel limit can fail while the run prepares. - The web UI opens the parallel count at the number of selected cases and shows the effective maximum under it. The maximum is an organization and license setting. Do not state a fixed number.
- The count never exceeds the Test Execution - Cloud licensed sessions for the environment type.
- For several runs started in parallel, create one suite per run. Reusing one suite for several runs can mix cases. After each
create_test_run, read the run and check it holds its own case.
Data-bound cases
A manual case can be linked to a dataset. Only manual cases take datasets.
- Run with AI on a bound case opens one AI session per data row. The run page lists the rows under AI SESSIONS, and each row has its own steps, video and a test data block.
- A placeholder with no value shows
(unresolved)in the row. Report it as a data problem, not a product failure. - Ending the run early marks unfinished rows as skipped.
- Dataset and per-row tools are not in every tool list yet. If your tool list has no dataset or run iteration tool, link datasets and read rows in the web UI. Do not invent a call.
Stopping a session
To stop a Run with AI session, call update_test_run with END. It closes the whole run. If unfinished cases block the END, ask whether to skip them. Use unfinished_cases: "SKIP" only after an explicit yes.
Manual lane by hand
- Create the run with
create_test_runandmode: "manual"after the consent preview. Keep the run'sexecution_id. - Call
update_test_runwithSTARTandexecution_mode: "MANUAL". It starts the timer of the first unfinished case and returns the pinned steps. - Run the steps with your own browser tools, or guide the human and wait for the real outcomes.
- Record each outcome as described in
references/manual-results-and-evidence.md. - Call
update_test_runwithENDwhen every case has an outcome.
To change the AUT or private access on a run that has not started, call update_test_run with CONFIGURE. It fails on ended runs and on runs with hosted AI.
Automated lane
- Find the suites with
find_test_suites, or collections withfind_test_suite_collections. For a collection, fetch it bycollection_idand pass the returnedtestSuiteEntriesasautomated.test_suite_entries. There is no tool to create or edit a collection. - Find profiles with
find_execution_profiles. Never assume a default profile. - Find browsers and devices with
list_test_cloud_environments. For mobile native, find the app withlist_test_cloud_apps. - Build the configuration with
build_run_configuration. Copyos,os_versionand the browser fields from one row oflist_test_cloud_environments. - For a schedule, build it with
build_schedule. - After the consent preview, call
create_test_runwithmode: "automated". Pass the schedule inschedule. See the tool schema for theautomatedfields. A single suite needstest_project_id. - Read results with
read_executionandfind_test_results(see "Read results").
Pass additional_kre_arguments exactly as the user typed them. Retries go there as -retry=<n> with -retryStrategy=immediately, failedExecutions or allExecutions. In True Parallel mode a user -retryStrategy is ignored. Do not add a second -retry when the suite already sets one. Set parallelize_test_cases to true only when the user asks for test-case-level parallelism. Never drop a selector the user asked for to recover from an error.
A Windows case that needs a client certificate carries a [cert: <profile>] tag in its precondition. It needs a Windows environment and an account set up for it, and was verified on Windows Chrome 145 only. A missing certificate script gives no clear error. Name the precondition when a Windows run fails at sign-in.
Never use the automated lane for individual manual cases.
Schedules, run discovery, rerun
Read references/executions-and-schedules.md for:
list_schedule,read_schedule_detail, andupdate_schedule_configuration.list_executionsandlist_execution_outputs. Their IDs are two different kinds. Never swap them.rerun_execution.
Read results
read_executionfor the status of one run. It takes the numeric TestOpsexecution_id.find_test_resultswithfilter: {filter_type: "EXECUTION", execution_id}for the results of one run. Addstatus(PASSED,FAILED,ERRORorINCOMPLETE) to narrow. Pages walk the execution's jobs. A run without jobs returns results directly, and manual results carryjobId: null.find_test_resultswithfilter: {filter_type: "TEST_RESULT", test_result_id, include_details: true}for one result. It returns error detail and failed assertions, and no log content. The result ID feedscreate_defect.find_test_resultswithfilter_typeCOMMONorRELATIVEfor history across runs.
Report results
Report these items:
- Run name and link. Links from read tools can use a host that does not resolve for
.katalon.iotenants. Build the link from the tenant host you know when the returned one fails. Showexecution_pathfromupdate_test_runas a link. - Final status.
- Counts for passed, failed, blocked or incomplete, and not run.
- Failures with a short reason each. When the result detail shows an environment error (AUT unreachable, session timeout), count it as blocked and keep it out of the failed count.
- For each passed case, check its prior result with
find_test_results. Flag a pass that follows a recent failure, so a fix and a flake do not read the same. - Defects created or recommended.
- Skipped cases and manual follow-up.
- If every case passed, call
fetch_test_stability_metricswithfilter_type: "EXECUTION", theexecution_id, andreturn_testsset to["FLAKY", "ALWAYS_FAIL", "NEW_FAILURE", "SLOW"]. Withoutreturn_testsit returns metrics only. A suite with no failure history is an always-green risk to review. Treat an all-zero answer as unconfirmed, and cross-check withfind_test_results.
For a failed run, hand off to analyze-failures.
Before you file a defect, call fetch_defects with filter: {"filter_type": "TEST_RESULT", "test_result_ids": [<result ID>]}. A result with an empty defects list has no linked defect. Ask before you call create_defect, unless the user asked for defects. It files a real Jira or Azure DevOps bug, so show a preview and confirm. It needs a failed result ID and the integration and connection IDs from list_alm_integrations. Ask the user for the summary when it is missing. Suggest the failed case name, or "Defect for {test case name}".
Quirks
- Two kinds of "execution" ID exist: numeric TestOps IDs and Test Execution - Cloud strings. No tool converts one to the other.
update_test_runtakes the platformexecution_id. It rejects the UI order number andmanualExecutionId.rerun_executionis for an explicitly requested automated execution. Callread_executionfirst. An ID alone is no authorization. To start or resume a TestPak, useupdate_test_runSTART.- Four IDs name a manual run:
execution_id,manual_execution_id, the UI order number andexecution_test_case_id. Never swap them.references/testpak-and-run-with-ai.mdsays which call takes which. list_test_cloud_tunnelsneedsproject_id. Without it the call can fail with a project access error.update_test_resultssucceeds only when the outcome isappliedorunchanged.- Run with AI runs in a hosted browser that the organization's environment list allows. Linux Chrome is the default when no list is set.
browser_profile_modemust come from the user. create_test_casewith AUTOMATED creates nothing. Suites reject a mix of manual and automated cases.delete_test_caseneeds an explicit yes that names the case. Preferupdate_test_casesormove_test_case.- The MCP is stateless. Carry IDs from call to call. Never rely on a prompt from the server.
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.

