/katalon-true-platform:test-datafrom Katalon True Platform
Designs test data for Katalon True Platform test cases, covering values, fixtures, credentials, and state cleanup for manual and automated lanes. Use when steps are settled but data blocks execution.
Ships in Katalon True Platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill covers the data half of test design: which values a case runs on, which records must exist when it starts, and what must be true again when it ends. The steps belong to create-test-cases. The code belongs to test-case-to-playwright. The values, the state, and the cleanup belong here. Tool names below are bare. Clients add a prefix (Claude Code: mcp__<server>__<tool>).
One artifact serves both lanes. Call it the data contract: what must exist, which values, and who resets it. A manual case carries the contract in its Pre-condition and per-step Test Data column. An automated suite carries the same contract in a fixture plus a teardown. Design it once. Write it down twice.
Four different things in the Katalon world are called "test data". The MCP reaches only one of them, the case body. Datasets are web UI only until the dataset tools reach production tool lists.
list_projects, list_repositories), read the requirement the data must satisfy (find_requirements, read_requirement), find the cases (find_test_cases, find_test_cases_by_requirement, search, read_test_cases), write the Pre-condition and the per-step Test Data column (create_test_case, update_test_cases), read the target environment (read_auts), read the team's saved data conventions (memory_list, memory_read), and group data-dependent cases (manage_test_folder, find_test_suites, read_test_suite, manage_test_suite).references/datasets.md before you plan a data-driven manual case.SECRET and VAR entries live in the platform UI under Settings, Configurations, Secrets & Variables. Steps reference them as <<KEY>>. They apply to cloud-hosted execution only and are scoped to the project. No tool reads or writes them.find_datasets, manage_dataset, read_test_case_data, manage_test_case_data, find_vault_params, manage_vault_params, find_run_iterations, update_run_iteration). Use one only if your tool list shows it. Otherwise use the web UI. When a workflow seems to need any other tool, use the workaround below and state the boundary.context.data on each step), written with update_test_cases.Read references/write-policy.md before you change cases.
+------------------+ --> +---------------------+ --> +----------------------+
| Resolve scope | | Derive data classes | | Choose data strategy |
+------------------+ +---------------------+ +----------------------+
|
v
+------------------+ <-- +---------------------+ <-- +----------------------+
| Verify, run twice| | Plan seed + teardown| | Place the data |
+------------------+ +---------------------+ +----------------------+
list_projects, then list_repositories. If exactly one matches the user's wording, use it. Call read_auts to learn which environment the data must exist in. Data built for the wrong environment is worse than none.read_requirement. Read the cases with find_test_cases_by_requirement, then one read_test_cases call with content_type FLOW for all of them. Call memory_list once and read matching headlines with memory_read: the team may have saved data conventions. Quote a record when you follow it, and never present it as a platform fact. If available is false, say memory is unavailable. Never call memory_write or memory_forget unless the user asks. Turn each condition into a data class. Rank the conditions by risk first. Use equivalence partitioning and boundary values as tools to find the classes. One class maps to one case, matching the atomic-case rule. Read references/data-design.md before deriving classes for a non-trivial requirement.references/data-design.md. Say which you chose and why.references/seed-and-teardown.md: application API first, CLI or SQL second, UI last. Record the seed command in the case Pre-condition.update_test_cases with every edit to one case in the same call, because actions run in order and separate calls to one case race. Follow references/write-policy.md.read_test_cases with content_type FLOW for each updated case and confirm the data landed. Then run the real check through execute-test: preview the run and get explicit consent first, as references/write-policy.md § Execution consent requires, because each run uses Test Execution - Cloud minutes and can change data in the AUT. A confirmation covers one run, so ask again for the second. The suite must pass twice in a row from the state the first run left behind, with no manual reset. A second-run failure is a data defect.Concrete values do not belong in step text or in a spec file. They belong in a named place, one per lane.
| Data | Manual lane | Automation lane |
|---|---|---|
| Values the step consumes | per-step Test Data column, or a dataset column when one case runs on many rows | typed fixture or factory module |
| State that must pre-exist | case Pre-condition, with the seed command named | globalSetup or a fixture that creates it |
| Environment or AUT URL | Pre-condition, or the AUT environment from read_auts | config or env var, never a literal in a spec |
| Credentials and tokens | <<KEY>> reference to Secrets & Variables | environment variable, never checked in |
| Cleanup | an explicit reset step in the Pre-condition or final step | teardown in the fixture that created the state |
Two rules follow from it.
Enter the loyalty email. It never reads Enter [email protected]. The value goes in the Test Data column, so the step survives a data change.This rule is hard.
<<KEY>>. Tell the human to create it in Settings, Configurations, Secrets & Variables. That page is UI-only.<<KEY>> reference.references/data-design.md.The full ladder, idempotency rules, and per-lane patterns are in references/seed-and-teardown.md. The short version:
[email protected] prevents collisions and lets teardown find what it created.read_auts before any destructive step.Input. Project Cellphone Shop, requirement CEL-9 synced from Jira:
A returning shopper whose loyalty tier is Silver or above receives 10% off when the cart subtotal reaches $500. The discount applies once per order and never applies to gift cards.
Call find_test_cases_by_requirement with the key CEL-9. It returns three existing cases with empty Test Data columns:
TC-2101 Apply loyalty discount at the subtotal threshold
TC-2102 No loyalty discount below the subtotal threshold
TC-2103 Loyalty discount excludes gift cards
Step 2 output, the data classes. The requirement states four conditions, so there are four classes. The threshold adds boundary values.
| Class | Account | Cart | Expected |
|---|---|---|---|
| At threshold, eligible tier | Silver | subtotal exactly 500.00 | 10% applied, total 450.00 |
| Below threshold, eligible tier | Silver | subtotal 499.99 | no discount, total 499.99 |
| At threshold, ineligible tier | Bronze | subtotal 500.00 | no discount |
| Gift card in cart | Silver | 1 gift card 500.00 | no discount |
Step 3 output, the strategy. Generated per run. The test mutates loyalty tier and order history, so a shared static account goes stale after the first run. Cloned production accounts carry real customer PII for no benefit.
Step 4 output, the manual lane. After the user confirms the update set, send one update_test_cases call with the actions for each case. For TC-2101 that is UPDATE_PRECONDITION plus UPDATE_CONTENT. UPDATE_CONTENT replaces all steps, so send the complete step list from the FLOW read, keep any Call Test Case steps, and put each value in the step's context.data. Never send context: {}. The result for TC-2101:
Pre-condition:
Storefront reachable at the Cellphone Shop AUT environment.
Seed a Silver-tier account with zero orders this month, using:
npm run seed -- --profile loyalty-silver --stamp <run-stamp>
Cart is empty. Log in as the seeded account.
| Step | Test Step | Expected Result | Test Data |
| 1 | Navigate to the storefront | Storefront home page is displayed | {AUT_URL} |
| 2 | Log in as the loyalty shopper | Account menu shows the Silver badge | qa+cel9-<run-stamp>@example.com / {LOYALTY_PASSWORD} |
| 3 | Add the listed phone to the cart | Cart subtotal shows 500.00 | Model A-500, quantity 1, 500.00 |
| 4 | Open the cart | Loyalty discount line shows -50.00 and the order total shows 450.00 | N/A |
Teardown: delete the seeded account with
npm run seed -- --teardown --stamp <run-stamp>
Expected output of the verification. read_test_cases with content_type FLOW on TC-2101 returns a non-empty Test Data value on steps 1 to 3, the seed command inside the pre-condition, {LOYALTY_PASSWORD} as a reference with no literal, and the requirement link to CEL-9 intact. If the Test Data column comes back empty, the update did not land. Re-issue the single update call. Never create a second case.
Step 4 output, the automation lane. The same contract as a typed factory, with creation and destruction in one place:
// fixtures/loyalty-data.ts
export type LoyaltyShopper = { email: string; tier: 'Bronze' | 'Silver'; teardown: () => Promise<void> };
export async function createLoyaltyShopper(tier: 'Bronze' | 'Silver'): Promise<LoyaltyShopper> {
const stamp = `${Date.now()}`;
const email = `qa+cel9-${stamp}@example.com`;
await api.post('/test-support/accounts', { email, tier, password: process.env.LOYALTY_PASSWORD });
return { email, tier, teardown: () => api.delete(`/test-support/accounts/${email}`) };
}
export const CART = {
atThreshold: { sku: 'A-500', quantity: 1, subtotal: 500.00, expectedTotal: 450.00 },
belowThreshold:{ sku: 'A-499', quantity: 1, subtotal: 499.99, expectedTotal: 499.99 },
giftCard: { sku: 'GIFT-500', quantity: 1, subtotal: 500.00, expectedTotal: 500.00 },
};
Expected report to the user. Name each item. A report with no boundary line is incomplete.
Data contract for CEL-9, 4 classes across 3 cases.
Strategy: generated per run. Reason: the test mutates tier and order history.
Manual lane: TC-2101, TC-2102, TC-2103 updated after your confirmation. Pre-condition carries the seed command, Test Data column carries the values.
Automation lane: fixtures/loyalty-data.ts creates and tears down the shopper in one factory.
Credentials: LOYALTY_PASSWORD referenced as {LOYALTY_PASSWORD} and as an env var. Not stored in any case or file.
Second-run check: pending. Run the suite twice with no reset between runs before trusting these cases.
Boundary: the Katalon MCP has no confirmed test-data, seeding, or secrets tool. {LOYALTY_PASSWORD} must be created by hand
in Settings, Configurations, Secrets & Variables, which is UI-only and applies to cloud-hosted runs only.
Design the test data for requirement CEL-9 and write it into the existing cases.These cases have values hard-coded in the step text. Move them into the Test Data column and give me the seed command.Seed and tear down the order data for tonight's run, manual lane and Playwright lane using the same records.Our suite passes once and fails on the second run. Find the missing teardown.What data does this requirement need before anyone writes a case for it?create-test-cases, then come back for the data.test-case-to-playwright.execute-test.execute-test, or playwright-execute for the coded lane.analyze-failures. It routes environment and data failures back here.test-maintenance.test-plan.Read references/data-design.md before deriving data classes or choosing a strategy. Read references/seed-and-teardown.md before writing any seed or teardown. Read references/datasets.md when one manual case must run on many rows of values.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub katalon-labs/true-skills --plugin katalon-true-platform22 skills in this plugin
/analyze-failuresDiagnoses one red Katalon True Platform (formerly TestOps) run. It classifies each failed result as a product defect, an automation defect, or an environment issue, clusters failures by signature, and files ALM-linked defects for confirmed bugs. Use when a run has failures and the question is whether the app broke or the test did. Not for the ship call (release-analyze) or suite repair (test-maintenance). For the manual tester and the automation tester./create-test-casesDesigns manual test cases from a synced requirement key such as CEL-6, a pasted requirement, or captured TrueTest sessions. Then creates, updates, tags, and links them in Katalon True Platform (formerly TestOps) after a coverage and duplicate check. Use when a written requirement or real user behavior exists and cases do not. Not for unscripted exploration (exploratory-charter) or inventory cleanup (test-management). For the manual tester./execute-testRuns 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./exploratory-charterWrites, runs, and debriefs timeboxed exploratory testing charters for Katalon True Platform (formerly TestOps). Records the outcome as session notes, optional manual results with uploaded evidence, and promoted test cases. Use when no script exists and the job is learning about a feature, rather than designing cases from a written requirement (create-test-cases) or triaging a failed run (analyze-failures). For the manual tester./get-startedOnboards a person to Katalon True Platform (formerly TestOps) right after the connection succeeds, confirming it with a project list and choosing the default project, repository, and Run with AI target in at most two questions. Use when the user has just connected, asks to get started, or has no default project stored. Not for installing or configuring an MCP client (platform-setup) or for designing or running tests./platform-setupConnects an AI agent to the Katalon True Platform (formerly TestOps) MCP server and verifies the connection, covering endpoint, sign-in, project and repository discovery, and tunnels for private apps. Use when the MCP tools are missing, a call fails with an auth or access error, or someone asks how to install or configure the server. Not for choosing a default project, which belongs to get-started, and not for designing or running tests.Other plugins' skills for the same job