# Test with UiPath for Coding Agents

> Connect AI coding agents to Test Manager via the UiPath CLI to query results, trigger runs, manage test cases, and generate persona-tailored reports.

You can query, manage, and update your UiPath Test Manager data entirely
from a coding agent and terminal — no manual triage or copy-pasting results
required.

UiPath Test Manager integrates with AI coding agents through the UiPath CLI
(`uip`) and the `uip tm` tool, including:
- Claude Code
- Cursor
- GitHub Copilot
- Gemini CLI
- Codex
- OpenCode

Once set up, your coding agent can:
- Query test results and surface coverage gaps
- Trigger test runs and monitor execution status
- Manage test cases and update metadata
- Generate persona-tailored reports for Quality Assurance (QA) Engineers, Developers, and Release Managers

`uip tm` is the Test Manager tool, which covers the full test lifecycle from
authoring and managing test cases through execution and reporting. `uip tm` can
be installed with `uip tools install @uipath/test-manager-tool`, or it
auto-installs on first invocation of any `uip tm` command. See
[Managing tools and skills](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/managing-tools-and-skills) for the full
install model.

## Setup

Install the Test Manager tool to connect your coding agent to Test Manager and enable querying, triggering, and reporting from the terminal.

**Prerequisites:**
- UiPath CLI installed and configured. See [Installing UiPath CLI](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/installing-uipath-cli).
- UiPath skills installed for your agent. See [Using UiPath CLI with Coding Agents](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/coding-agents) for the install command per agent.
- A logged-in session (`uip login`). See [Authentication](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/authentication).

1. Install the Test Manager tool:

```bash
uip tools install @uipath/test-manager-tool
```

   Or invoke any `uip tm` command and let auto-install run.

:::note
After a CLI upgrade, run `uip skills update --agent <name>` to pick up newly
published Test Manager skills.
:::

**Result:**
The Test Manager tool is installed and available. Your coding agent can now run `uip tm` commands to query, manage, and report on Test Manager data.

## Skills

The following skills are available for Test Manager workflows. They are
installed as a bundle via `uip skills install`. You do not select individual
ones. Skills also auto-install on first invocation of any `uip tm` command.

| Skill | What it does |
|---|---|
| **Publish and link automation** | End-to-end pipeline: pack a UiPath project, upload it to Orchestrator, and bind it to a Test Manager test case so it can be triggered from Test Manager. |
| **Test report generation** | Fetches test executions from a test set and generates a persona-tailored report with different content for QA Engineers, Developers, and Release Managers. |

## Common use cases

Ask your agent questions and give it tasks in plain language. The agent figures
out which `uip tm` commands to run.

### Querying and coverage

**Get a daily summary of test results and coverage gaps**

> "Summarize yesterday's test run, list all failures, and coverage gaps."

**Generate tests for a new module or feature**

> "A new invoice dispatch module was added this sprint with no test coverage
> yet. Analyze the code, generate smoke test cases for the key flows, and add
> them to the current regression suite in Test Manager."

**Find requirements with no test coverage**

> "Before I deploy, tell me which business-critical requirements have no
> automation coverage or haven't been validated recently."

**Find tests that haven't run in the last 30 days**

> "Find test cases that haven't been executed in the last 30 days and give me
> a list I can review for archiving."

### Triggering and execution

**Link an automation to a test case and run it**

> "Pack my project, upload it to Orchestrator, link it to the test case in
> Test Manager, and run it."

**Verify a hotfix with the smoke suite**

> "The hotfix just deployed to production. Trigger the smoke suite and tell me
> if everything passed."

### Reporting

**Generate a release readiness report**

> "Generate a release manager report for test set [name] — I need a go/no-go
> summary before tonight's sign-off meeting."

**Generate a QA regression report**

> "Generate a QA report for the latest test set execution and highlight any
> tests that were passing before but are now failing."

**Generate a developer report with failure details**

> "Generate a developer report for today's run and include the failing
> assertion message for each test case."

## See also

- [Using UiPath CLI with Coding Agents](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/coding-agents) — agent setup and skills install.
- [Operate with UiPath for Coding Agents](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/coding-agents-operate) — operational use cases across folders, jobs, queues, and more.
- [uip tm reference](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/uip-test-manager) — full command reference for the Test Manager tool.
- [Managing tools and skills](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/managing-tools-and-skills) — installing and updating tools and skills.
- [Skills](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/concepts-skills) — the skill model that drives this behavior.
