uipath-test
Skill166 starsChanged 2 months agoMITView on GitHub
UiPath Test Manager — manage test projects, cases, sets, executions; generate reports; package and run external Playwright test suites. For Orchestrator→uipath-platform. For Studio/RPA test automation authoring→uipath-rpa.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/uipath-rpa/CLAUDE.mdCLAUDE.md
- .cursor/rules/content-quality.mdcCursor rule
- .cursor/rules/pr-review.mdcCursor rule
- .cursor/rules/skill-review.mdcCursor rule
- .cursor/rules/skill-structure.mdcCursor rule
- .cursor/rules/token-optimization.mdcCursor rule
- manage-skill-flavorsSkill
- uipath-activity-migratorSkill
- uipath-adminSkill
- uipath-agentsSkill
- uipath-aopsSkill
- uipath-api-workflowSkill
- uipath-automation-discoverySkill
- uipath-automationhubSkill
- uipath-coded-appsSkill
- uipath-connector-builderSkill
- uipath-feedbackSkill
- uipath-functionsSkill
- uipath-governanceSkill
- uipath-human-in-the-loopSkill
- uipath-insightsSkill
- uipath-ixpSkill
- uipath-knowledge-bundlesSkill
- uipath-maestro-bpmnSkill
- uipath-maestro-caseSkill
- uipath-maestro-flowSkill
- uipath-mcp-serversSkill
- uipath-plannerSkill
- uipath-platformSkill
- uipath-process-miningSkill
- uipath-reviewSkill
- uipath-rpaSkill
- uipath-rulesSkill
- uipath-solutionSkill
- uipath-tasksSkill
- uipath-troubleshootSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Test Manager CRUD; execution analysis, coverage, regression trends, failure rates, go/no-go summaries.
- Very specific: line 22
Use uip tm; discover syntax with uip tm --help and uip tm <command> <subcommand> --help.
- Very specific: line 74
Always check login first: run uip login status --output json before any Test Manager operation.
- Very specific: line 80
Discover before assuming: never guess automation names, folder keys, project IDs, or testcase keys.
- Very specific: line 87
Verify auth: run uip login status --output json.
- Very specific: line 89
Use as needed: uip tm testsets list --project-key <PROJECT_KEY> --filter <TEST_SET_NAME_OR_KEY> --output json.
- Distinctive: line 106
Do not proceed if authentication fails: all Test Manager API calls require a valid bearer token.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
UiPath Test Assistant
Manage UiPath Test Manager projects, requirements, test cases, test sets, executions, logs, attachments, results, custom fields, labels, and persona-tailored shareable test reports.
Use For
Test Manager CRUD; execution analysis, coverage, regression trends, failure rates, go/no-go summaries; failed-run triage; flaky-versus-regression analysis; failure evidence; and shareable QA-engineer, developer, or release-manager reports.
Concepts and CLI
Requirements define what must be tested; test cases define scenarios and may contain teststeps; test sets group cases; executions are created when a test set or testcase runs. Testcase logs record a testcase in an execution and provide navigation; test-step logs record steps; testcase-log assertions are assertion steps.
External Playwright packages are suites packaged and uploaded to Orchestrator. Ingestion auto-creates one testcase per Playwright test, without a link step, and labels each PW_Tag_*, PW_Project_*, PW_Suite_*, and PW_File_*. They run on serverless cloud runtimes; see references/playwright-first-mile-guide.md.
Use uip tm; discover syntax with uip tm --help and uip tm <command> <subcommand> --help. Always pass --output json to every uip command; all commands below require it.
Commands
Projects, folders, and requirements
- Projects:
uip tm project list --filter <NAME_OR_KEY>finds by name/key;project create --name <PROJECT_NAME> --project-key <PROJECT_KEY>creates;project update --project-key <PROJECT_KEY> --name <PROJECT_NAME>updates name/description;project delete --project-key <PROJECT_KEY>deletes;project set-default-folder --project-key <PROJECT_KEY> --folder-key <FOLDER_KEY>sets the default Orchestrator folder;project clear-default-folder --project-key <PROJECT_KEY>clears it;project owners list --project-key <PROJECT_KEY> [<PROJECT_KEY> ...]lists owners. - Get folder keys with
uip or folders list -n <name> --all --output json; it returns all folders visible to the current user. - Prefix with
uip tm requirements:list --project-key <PROJECT_KEY>;list-by-test-execution --project-key <PROJECT_KEY> --execution-id <uuid>;get --project-key <PROJECT_KEY> (--requirement-id <uuid> | --requirement-key <key>)(mutually exclusive UUID/key);create --project-key <PROJECT_KEY> --name <name>;update --project-key <PROJECT_KEY> --requirement-id <uuid>(updates name/description and requires at least one of--nameor--description);delete --project-key <PROJECT_KEY> --requirement-ids <uuid...>(variadic IDs);export --project-key <PROJECT_KEY> --output-file <path>(exports.xlsx);list-testcase-ids --project-key <PROJECT_KEY> --requirement-id <uuid>;testcases --project-key <PROJECT_KEY> --requirement-id <uuid> (--add-testcase-ids <uuid...> | --remove-testcase-ids <uuid...>)(mutually exclusive attach/detach selectors).
Test cases
uip tm testcases create --project-key <PROJECT_KEY> --name <TEST_CASE_NAME>;list --project-key <PROJECT_KEY>optionally--filter <text>matching name/key by PREFIX, not substring;update --project-key <PROJECT_KEY> --test-case-key <TEST_CASE_KEY> --name <TEST_CASE_NAME>updates name, description, precondition, or postcondition and requires at least one field;delete --project-key <PROJECT_KEY> --test-case-key <TEST_CASE_KEY>deletes by key.link-automation --project-key <PROJECT_KEY> --test-case-key <TEST_CASE_KEY> --folder-key <FOLDER_KEY> --package-name <PACKAGE_NAME> --test-name <TEST_NAME>links Orchestrator package automation;unlink-automation --project-key <PROJECT_KEY> --test-case-key <TEST_CASE_KEY>unlinks;list-automations --project-key <PROJECT_KEY> --folder-key <FOLDER_KEY>lists folder test entry points, optionally--package-name <PACKAGE_NAME>;list-testsets --project-key <PROJECT_KEY> --test-case-key <TEST_CASE_KEY>lists containing sets.- Steps:
uip tm testcases steps list --project-key <PROJECT_KEY> --test-case-id <TEST_CASE_ID>lists manual steps using--test-case-id <UUID>, not--test-case-key;uip tm testcases list-stepsis an alias.steps get --project-key <PROJECT_KEY> --step-id <UUID>gets;steps add --project-key <PROJECT_KEY> --test-case-id <UUID> --description <text>adds flag-mode steps (--descriptionrequired), orsteps add --project-key <PROJECT_KEY> --test-case-id <UUID> --step '<json>' [--step '<json>' ...]adds repeated JSON steps (mutually exclusive with flag mode and not atomic: earlier steps persist if a later one fails);steps update --project-key <PROJECT_KEY> --step-id <UUID>updates passed fields only;steps move --project-key <PROJECT_KEY> --step-id <UUID> --target-position <n>moves to 0-based position;steps delete --project-key <PROJECT_KEY> --step-id <UUID> --yesdeletes. list-result-history --project-key <PROJECT_KEY> --test-case-id <TEST_CASE_ID>lists history, optionally--only-failed,--filter,--limit,--offset.run --project-key <PROJECT_KEY> --test-case-id <TEST_CASE_ID> --name <EXECUTION_NAME> --execution-type <manual|automated|none|mixed>starts an execution for one or more space-separated testcase UUIDs; optionally--async,--folder-key,--robot-user-key,--machine-key.uip tm testcases add --test-set-key <TEST_SET_KEY> (--test-case-keys <KEY1> <KEY2> … | --labels <Label1> <Label2> …)adds by explicit keys or every testcase carrying at least one label; selectors are mutually exclusive and variadic space-separated. Keys also accept comma form (DEMO:1,DEMO:2), labels do not (--labels A,Bis one label). Label matching is OR, exact, and case-sensitive; quote labels containing spaces.uip tm testcases remove --test-set-key <TEST_SET_KEY> --test-case-keys <KEY1,KEY2,...>removes comma-separated keys.- Use
--test-case-id <UUID>withrun,steps list,steps add, andlist-result-history; obtain it fromuip tm testcases list --output json(Id). Use singular--test-case-key <PROJECT_KEY:NUMBER>withupdate,delete,link-automation,unlink-automation, andlist-testsets. Use plural--test-case-keys <KEY1,KEY2,...>for comma-separated test-set bulk membership. Use--step-id <UUID>with allstepscommands exceptlistandadd; obtain it fromsteps list(Id).
Test sets and executions
uip tm testsets create --project-key <PROJECT_KEY> --name <TEST_SET_NAME>;list --project-key <PROJECT_KEY>optionally--filter <text>,--folder-key,--include-last-execution;update --test-set-key <TEST_SET_KEY> --name <TEST_SET_NAME>updates name/description;delete --test-set-key <TEST_SET_KEY>;list-testcases --project-key <PROJECT_KEY> --test-set-key <TEST_SET_KEY>lists assigned cases.uip tm testsets run --test-set-key <TEST_SET_KEY>runs and returns an execution ID; optionally--execution-type <automated|manual|mixed|none>(defaultautomated),--input-path <FILE>, and for Playwright--playwright-project <name>.uip tm testsets playwright-context --test-set-key <TEST_SET_KEY>probes status and returnsIsPlaywright, available projects, and selected projects.- Keys are
PROJECT_KEY:NUMBER. Add/remove membership withuip tm testcases add/uip tm testcases remove, nottestsetsverbs. For Playwright sets,--playwright-project <name>takes one case-sensitiveplaywright.configname — at most one project per execution — and persists the selection. Every testcase must come from one Playwright package; an unknown name fails fast listing the valid ones. Probe first withplaywright-contextand branch onIsPlaywright. Both require Test Manager Playwright support and a CLI carrying external-package commands. See references/playwright-first-mile-guide.md, which begins with the availability check and absent-support action. uip tm executions list --project-key <PROJECT_KEY>lists top n, optionally--test-set-id <UUID>,--filter <text>,--limit,--offset; use for the common one-test-set or single-project query.list-filtered --project-key <PROJECT_KEY>supports--test-set-id,--updated-by,--search,--labels,--test-execution-ids,--sort-by,--limit,--offset; use only for label filtering, multiple execution IDs, custom ordering, or--updated-by.get-stats --execution-id <EXECUTION_ID> --project-key <PROJECT_KEY>returns aggregate statistics;run --execution-id <EXECUTION_ID> --project-key <PROJECT_KEY> --execution-type <TYPE>reruns, optionally--test-case-log-ids <UUID...>(space-separated) and--async;retry --execution-id <EXECUTION_ID>retries only failed cases, optionally--project-key,--test-set-key,--execution-type;testcaselogs list --execution-id <EXECUTION_ID> --project-key <PROJECT_KEY>lists case logs, optionally--only-failed,--filter,--limit,--offset; this nested path is not a top-levelexecutionsverb. Useuip tm testcases runfor testcase UUIDs,uip tm testsets runfor a test-set key, anduip tm executions runto rerun an execution, optionally narrowed by case-log IDs.
Logs, reports, attachments, and results
uip tm testcaselog start --project-key <PROJECT_KEY> --execution-id <EXECUTION_ID> --test-case-id <TEST_CASE_ID>starts, optionally--run-id <NUMBER>.finish --project-key <PROJECT_KEY> --execution-id <EXECUTION_ID> --test-case-id <TEST_CASE_ID> --has-error <true|false> --executed-by <USER_ID>finishes, optionally--detail-link <URL>,--run-id,--is-post-condition-met.uip tm testcaselog list-assertions --project-key <PROJECT_KEY> --test-case-log-id <TEST_CASE_LOG_ID>lists assertions;uip tm teststeplog list --project-key <PROJECT_KEY> --test-case-log-id <TEST_CASE_LOG_ID>lists step logs.uip tm report get --execution-id <EXECUTION_ID> (--project-key <KEY> | --test-set-key <KEY>)summarizes a completed execution; exactly one project-identifying option is required. Passing only--execution-idexits withProvide --project-key or --test-set-key.uip tm attachment download --execution-id <EXECUTION_ID>downloads testcase attachments;attachment upload --object-id <UUID> --object-type <type> --file <path>uploads to a Test Manager object, such as--object-type testCaseLog;uip tm result download --execution-id <EXECUTION_ID>downloads JUnit XML, optionally--project-key,--test-set-key,--result-path <DIR>.
Playwright pack
uip tm pack --project-path <dir> --type playwright --project-key <PROJECT_KEY> --name <PackageName> --package-version <ver> -o <out-dir> packs a Playwright suite into a .nupkg; a lockfile and @playwright/test are required. --package-version is NuGet/SemVer-style with three numeric parts and optional prerelease suffix (1.0.0, 1.0.1-beta.1); 1.0 and nonnumeric values are rejected. --project-key targets the Test Manager project for automatic testcase ingestion; --no-create-test-cases skips it; --dry-run previews. Upload with uip or packages upload <nupkg>. Packing is offline and needs no auth. The upload → ingestion → label-fill → run pipeline is in references/playwright-first-mile-guide.md.
Wait and user
uip tm wait --execution-id <EXECUTION_ID> waits for terminal state; optionally --project-key, --test-set-key, --timeout <SECONDS>. uip tm user get gets the authenticated user's profile.
Custom fields
Project-scoped custom-field definitions (attach to Requirement/TestCase/TestSet) plus per-object label and value rows, via uip tm customfield …. Full command surface — scopes, --object-type/--data-type enums (case-sensitive: Requirement|TestCase|TestSet, Text|Label), --values JSON semantics, and every label/value verb: references/custom-fields-guide.md.
Object labels
Tag metadata via uip tm objectlabel … on Requirement, TestCase, TestSet, TestExecution, or TestCaseLog. Full list/get/add/remove surface, --label-types, and authoritative-set (--remove-other-labels) semantics: references/object-labels-guide.md.
Critical Rules
- Always check login first: run
uip login status --output jsonbefore any Test Manager operation. If unauthenticated, runuip login. - Always pass
--output jsonto everyuipcommand, without exception. - Cap retries at 3 for any failing
uipcommand. After three failures, stop and report the error; never use direct REST APIs. - An empty list stops the operation and informs the user rather than proceeding with a null key. Exception: empty
tm testcases list --filtermay be a prefix miss; use Rule 8's prefix fallback and stop only if it also finds nothing. Empty filtered project or customfield lookups are real empty results and stop normally. - Confirm before delete: confirm the target resource key unless the user already authorized that exact delete. Every delete requires
--yesor-y; omission exits without deleting. - For a required folder key, use
uip or folders list -n <folder-name> --all --output jsonwhen the user named the folder; when choosing one yourself, omit--allto list only member folders. Run/uipath-platformfor folder-management details. - Discover before assuming: never guess automation names, folder keys, project IDs, or testcase keys; run the matching list first, such as
uip tm testcases list-automationsoruip or folders list -n <folder-name> --all. - Narrow named-entity list calls server-side: when given a name, key, label, or tag, inspect
uip tm <resource> list --helporuip or <resource> list --helpfor its narrowing flag and use it. Never list all then filter client-side; this applies to every entity acrossuip tmanduip or. Exception:tm testcases list --filteris prefix matching. If a mid-name term returns zero, retry with a broader contextual prefix; relist without--filteronly if no workable prefix exists, paging through all results with--limit/--offsetbefore concluding absence. - Default-folder recovery:
uip tm testcases runanduip tm testsets runrequire a project default folder. Attempt the run first. Only when failure text exactly includes"Message": "HTTP 400: Please assign folder to project level before executing testcases."anderrorCode: itemNotFound, runuip tm project set-default-folder --project-key <PROJECT_KEY> --folder-key <FOLDER_KEY> --output json, then retry once. Get keys withuip or folders list -n <folder-name> --all --output json. Do not interpret other errors as missing folders: an unusable default gives opaqueHTTP 5xx; a nonexistent folder key gives"HTTP 400: Internal Server Error."witherrorCode: unknown. Both stop under Rule 10. Never overwrite a working default folder; an arbitrary folder may be rejected by Test Manager and break later runs. This is the only named run exception to Rule 10; all other run failures stop. - Any
uipfailure or ambiguity stops and asks the user: this includes command errors, malformed output, unclear flags/values, multiple matches, missing identifiers, or unexpected schemas. Never fall back to REST. Exceptions are expected outcomes identified exactly: (a) the Rule 9 missing-folder error, handled there; (b)uip tm waitexit code 2 withTimed out after <N>s waiting for execution '<EXECUTION_ID>'. Last status: <status>., which means bounded timeout worked—report non-finish and continue remaining steps.Polling failed/interrupted/aborted ...and exit code 1 are real wait failures; every other failure stops.
Quick Start
- Verify auth: run
uip login status --output json; if unauthenticated, runuip login. If needed, set the tenant withuip login tenant set <TENANT_NAME> --output json. Run/uipath-platformfor more authentication details. - Ask for the project name/key before any Test Manager call; for multiple projects collect all names/keys in one prompt. Resolve each with
uip tm project list --filter <NAME_OR_KEY> --output json. Zero matches stop and ask; multiple matches require presenting candidates and asking the user to choose. Reuse the confirmedPROJECT_KEYdownstream. - Use as needed:
uip tm testsets list --project-key <PROJECT_KEY> --filter <TEST_SET_NAME_OR_KEY> --output json;uip tm testsets list-testcases --project-key <PROJECT_KEY> --test-set-key <TEST_SET_KEY> --output json;uip tm executions list --project-key <PROJECT_KEY> --test-set-id <TEST_SET_ID> --limit 100 --output json;uip tm executions testcaselogs list --execution-id <EXECUTION_ID> --project-key <PROJECT_KEY> --output json;uip tm testcaselog list-assertions --project-key <PROJECT_KEY> --test-case-log-id <TEST_CASE_LOG_ID> --output json;uip tm teststeplog list --project-key <PROJECT_KEY> --test-case-log-id <TEST_CASE_LOG_ID> --output json.
Troubleshooting
For 401 Unauthorized on a REST API, run uip login to re-authenticate. For an unexpected command failure, first verify syntax with uip tm <command> --help, then authentication with uip login status --output json; Critical Rule 10 still governs whether to proceed.
Navigate to a Workflow
- Failed-run root cause, assertions, step logs, evidence, and flaky-versus-regression analysis: references/failure-triage-guide.md
- Shareable tester or release-manager report: references/test-result-report-guide.md
- Publish a project and link it to a Test Manager testcase (Studio/RPA): references/publish-and-link-guide.md
- Pack, ingest, label, and run Playwright on serverless: references/playwright-first-mile-guide.md
- Custom-field definitions, labels, and values (
uip tm customfield): references/custom-fields-guide.md - Object labels / tag metadata on test entities (
uip tm objectlabel): references/object-labels-guide.md
Anti-patterns
- Do not proceed if authentication fails: all Test Manager API calls require a valid bearer token; fail fast rather than causing later 401s.
- Do not guess command names: verb-noun composites are required; bare verbs do not exist. Confirm with
uip tm <resource> --help --output json. - Do not
link-automationPlaywright test cases: ingestion links them automatically; manual linking is only for the Studio/RPA pipeline.
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.

