# Skills for testing

> Skills available in Delegate for testing workflows, delivered through the Test Cloud plugin and connecting Delegate to UiPath Test Manager.

## Skills for testing

The skills are delivered via the **Test Cloud** plugin, which is enabled by default when the **QA/Testing** persona is configured.

### What does the Test Cloud plugin consist of?
The **UiPath Test Cloud** plugin is a testing automation skill bundle that connects **Delegate** to **UiPath Test Manager**, the web application that manages the full testing lifecycle for UiPath projects.

#### Core capabilities
| **Capability** | **Operation** |
| --- | --- |
| **Discover test cases** | Finds test cases by name, key, or assignment within a Test Manager project |
| **Execute test cases** | Runs individual test cases or entire test sets step-by-step, capturing traces |
| **Publish results** | Pushes execution results, logs, and assertions back to Test Manager |
| **Email reports** | Sends execution summaries, failed test lists, or status reports via email |
| **Publish-only mode** | Pushes pre-existing test results to Test Manager without re-executing the test case |

### How do I trigger the skills specific to Delegate for Testing?

The skills are triggered when users enter a prompt in natural language, in the following contexts.

* Users want to create, generate, build, or export a test report or test result summary.
* Users mention 'test report', 'execution report', 'test results', or 'test summary'.
* Users want to share test results with stakeholders.
* Users want to link an existing automation to a Test Manager test case.
* Users want to execute a manual test case through Test Manager.
* User asks about test coverage, regression analysis, pass/fail summaries, or go/no-go decisions based on test results.
* User mentions test personas like tester, QA engineer, or release manager.

Trigger the testing skills when saying things like:
* *"Run test case X"*
* *"Execute the login flow test"*
* *"Execute test cases assigned to me from execution Y"*
* *"Publish test results to TestManager"*
* *"Email me the test execution report"*

### What skills are available in Delegate for Testing?
For the current release, the **Test Cloud** plugin ships with 3 core skills. Users can also create their own additional skills for other testing purposes, such as usability testing, security testing, performance testing, or accessibility testing. To build a custom skill, use the skill-creator workflow in **Delegate**. Custom skills can be tailored to your team's specific testing processes and used alongside the built-in **Test Cloud** capabilities.

#### Skill 1: Automate Tests with UiPath automation

**Goal**

Link an existing Orchestrator automation to any Test Manager test case and trigger execution.

**Key workflow steps**

* Authenticates via `uip login status` behind the scenes.
* Discovers the test case and reads its steps.
* Links the specified Orchestrator automation to the test case in Test Manager.

**Sample prompts**

* *"Link the LoginFlow automation to test case 'Login – valid credentials' in project MYAPP."*
* *"Hello Delegate, I have an existing automation for the checkout flow — can you link it to the matching test case?"*

#### Skill 2: Generate Test Reports

**Goal**

Generate persona-tailored, shareable reports from Test Manager execution data.

**Key workflow steps**

* Fetches test executions from the test set (filterable by status, type, date interval).
* Asks the user: "Who is this report for?"
* Tailors the answer based on the persona: QA Engineer, Release Manager, Developer.
* Generates reports with the following information: execution status, test case log counts (passed/failed/restricted/none), top failing test cases.
* Saves report as `test-report-release-YYYY-MM-DD.md`; optionally email it.

**Sample prompts**

* *"Generate a test report for TestSet1. Then, send the report to [email_address]."*
* *"Hello Delegate, I need to provide leadership with an update of our release readiness for the latest version of UiBank."*

#### Skill 3: Execute Manual Tests

**Goal**

Autonomously execute a manual test case on the desktop and publish results back to Test Manager.

**Key workflow steps**

* Retrieves assigned test cases which have the Pending status.
* Fetches test steps and executes each step using the UiAutomation (computer use) tool.
* Records pass/fail per step and publishes results back to Test Manager.
* Records per-step execution artefacts linked to the test case; each step is checkpointed and the trace is finalized before publishing.
* Tags each published test case log so you can filter and distinguish AI-executed runs from human-executed ones.
* Offers to email the results report on completion.

**Best for** large SAP migration programmes where hundreds of one-off tests do not justify full automation investment.

**Sample prompts**

* *"Execute the manual steps in [object]. Notify me when the results can be checked in Test Manager."*
* *"Hello Delegate, I have to execute the tests from my SAP Smoke Test Set. Can you help me with that?"*

Skill 3 relies on the uip Command Line Interface (CLI) to communicate with Test Manager.

**CLI commands used by this skill**

| Group | Command | Purpose |
| --- | --- | --- |
| Test Case Logs | `testcaselog start` / `finish` | Open and close a test case log for the execution |
| Test Step Logs | `teststeplog list` | Retrieve step-level logs for a test case log |
| Results | `result download` | Download execution result data |
| Attachments | `attachment upload` | Attach per-step execution trace files to step logs |
| Labels | `objectlabel add` | Assign the AutonomousExecution system label to a test case log |
