UiPath Documentation
delegate
latest
false
Delegate user guide

Setting up and running your first test case

Set up Delegate for the QA/Testing profile and run your first manual test case: profile selection, CLI installation and login, and your project key.

This is the one-time setup and first execution for someone brand new to Delegate for Testing. If you have already run a test case before, see Executing manual tests instead.

One-time setup

  1. Select QA/Testing as your work profile during onboarding. This automatically installs the Test Cloud plugin. If you already onboarded with a different persona, go to Settings > Behavior preferences and switch to QA/Testing instead.
  2. Install the UiPath Command Line Interface (CLI) from docs.uipath.com/cli. Delegate drives Test Manager exclusively through this CLI.
  3. Confirm the CLI is installed by running uip --version in a terminal. It is installed correctly if this returns a version number.
  4. Run uip login once. This opens a browser window for authentication; sign in with your UiPath account.
  5. Find your project's key from the Test Manager URL — not the full project name, just the short code (for example, MYAPP in .../testmanager_/MYAPP/testcases/...). You will need it for every prompt.

Result

After uip login, your browser confirms a successful sign-in, and Delegate can access Test Manager on your behalf from then on. The whole setup takes about 5 minutes if you have the CLI installer ready.

Running your first test case

  1. Enter a prompt describing the test case to run, for example: "Run test case Login – valid credentials in project MYAPP."

Result

Delegate finds the test case, lists its steps, executes them in Chrome, and publishes results back to Test Manager. You will see a step-by-step results table and a link to the execution in Test Manager. For the full phase-by-phase breakdown of what happens during execution, see Executing manual tests.

Note:

For answers to common setup questions, such as re-authenticating an expired token or what happens to your Test Manager data if you switch accounts, see Setup FAQ for Delegate for Testing.

  • One-time setup
  • Running your first test case

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated