# Test with UiPath for Coding Agents

> Use the UiPath CLI and uip tm to connect AI coding agents to Test Manager for querying test results, triggering runs, and managing test cases from a terminal.

:::note
This feature is in Preview. Preview features are not supported for production use and may have limited functionality.
:::

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. Once set up, your coding agent can:
- Query test cases, execution results, and coverage status
- Push execution results back to Test Manager and update test case metadata
- Trigger test sets and track execution status
- Generate persona-tailored reports for Quality Assurance (QA) Engineers, Developers, and Release Managers

## Set up

**Prerequisites:**
- UiPath CLI installed and authenticated. See [Install and set up](https://docs.uipath.com/coding-agents/standalone/latest/user-guide/install-and-set-up) in the Coding Agents documentation.
- UiPath skills installed for your coding agent. See [Install and set up](https://docs.uipath.com/coding-agents/standalone/latest/user-guide/install-and-set-up) for the install command per agent.

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**

Your coding agent can now run `uip tm` commands. Two skills are available through the `uipath-test` skill bundle:

| Skill | What it does |
|---|---|
| **Publish and link automation** | Packs a UiPath project, uploads it to Orchestrator, and binds it to a 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 for QA Engineers, Developers, and Release Managers. |

## What you can ask the agent

Describe what you need in plain language. The agent selects the appropriate `uip tm` commands.

### Read and audit

| Goal | Example prompt |
|---|---|
| Daily test summary | _"Summarize yesterday's test run, list all failures, and coverage gaps."_ |
| Coverage check | _"Which business-critical requirements have no automation coverage or haven't been validated recently?"_ |
| Stale test audit | _"Find test cases that haven't been executed in the last 30 days."_ |

### Create and execute

| Goal | Example prompt |
|---|---|
| Generate test cases | _"A new invoice module was added this sprint with no coverage. Generate smoke test cases for the key flows and add them to the regression test set."_ |
| Trigger and verify | _"The hotfix just deployed. Trigger the smoke test set and tell me if everything passed."_ |
| Link and run | _"Pack my project, upload it to Orchestrator, link it to the test case in Test Manager, and run it."_ |

### Report

| Goal | Example prompt |
|---|---|
| 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."_ |
| QA regression report | _"Generate a QA report for the latest execution and highlight tests that were passing before but are now failing."_ |
| Developer report | _"Generate a developer report for today's run and include the failing assertion message for each test case."_ |

## See also

- [uip tm reference](https://docs.uipath.com/uipath-cli/standalone/latest/user-guide/uip-test-manager) — full command reference for the Test Manager tool.
- [Install and set up](https://docs.uipath.com/coding-agents/standalone/latest/user-guide/install-and-set-up) — install the CLI and skills.
- [Skills catalog](https://docs.uipath.com/coding-agents/standalone/latest/user-guide/skills-catalog) — the full list of available UiPath skills.
