UiPath Documentation
test-manager
latest
false
Test Manager user guide

Running Autonomous Test Execution

Run a manual test case automatically with Autonomous Test Execution in Test Manager, using an AI model, an execution target, optional live streaming, and Orchestrator credential references.

Context​

This task runs an existing manual test case automatically using Autopilot, instead of executing it by hand or building a scripted automation.

Tip:

Autonomous Test Execution can also be launched from a Pending Execution at the test case log level.

Run stays disabled if the selected runtime type and machine template don't match, or if no connected runtime exists for the selected runtime type. The execution folder is resolved to the project's default folder unless you select a different folder on the Configure tab. You can select any Orchestrator folder that you have access to. Configure tab selections are not persisted between sessions. Reopening the panel resets the following selections to their defaults:

  • Runtime type
  • Execution folder
  • Robot account
  • Machine template
  • Host machine

The run uses the default browser configured on the machine. Chromium-based browsers and Firefox are supported, and browser selection is not configurable. Runs on the Serverless runtime type are limited to 10–15 minutes, and a run that exceeds 10–15 minutes fails automatically.

Schedules and the UiPath CLI or API start only automated runs. They don't start autonomous runs.

Note:

Manual steps written for a human tester may not be unambiguous enough for the agent. Wording may need adjusting based on where a run fails before it executes reliably.

Prerequisites​

  • Test Manager must be delivered through Test Cloud. Autonomous Test Execution is not available in Test Manager delivered through Automation Cloud, Automation Cloud Public Sector, or Automation Cloud Dedicated. See the Test Manager feature availability page.
  • The App Test Platform Units bundle on your license, with the stock keeping unit (SKU) TSTPLTU1K. The bundle grants the TestManager.AutonomousTesting entitlement. If your tenant does not have the bundle, contact your administrator to add it.
  • Platform Units allocated to your tenant.
  • A connected runtime of one of the supported types (Testing, App Testing, Production (Unattended), Cloud – VM Testing, Cloud – VM, or Serverless) in Orchestrator, in the same tenant, with access to the selected folder, or the project's default folder if no folder is selected.
  • The AssetsView permission in Orchestrator, if the test case references credential assets. The permission is needed on the selected folder, or on the project's default folder if no folder is selected.
  • The Autonomous Execution permission in Test Manager. For more information, see Creating custom roles.
  • The licensing requirements for autonomous testing. For more information, see Licensing and consumption for Autonomous Testing.

Steps​

  1. Log in to Test Manager.
  2. Open a manual test case.
  3. Go to the Manual Steps tab and select Run autonomously in the right-hand sidebar. The panel opens on the Setup tab.
  4. Enter the target application URL for the web application under test. If a URL is set on the test case's Manual Steps tab, this field is pre-filled from it, and a URL you enter here for an existing run is saved back to the test case. The Run button stays disabled until a URL is entered.
  5. Add parameters or credentials as needed. Enter {{ in a step description to trigger autocomplete for parameters. To use an Orchestrator asset, refer to it directly in a step, for example Login with {{MyAsset}}, or reference a credential asset with {{credential:credentialName}}.
  6. Select an artificial intelligence (AI) model.
  7. Optional: Enable live streaming.
  8. Optional: Select the Configure tab and, under Runtime type, select one of Testing, App Testing, Production (Unattended), Cloud – VM Testing, Cloud – VM, or the Serverless runtime type. A runtime type with no connected runtime appears disabled. A runtime is pre-selected automatically when one is available, and can be overridden.
  9. Under Execution Folder, select an Orchestrator folder that you have access to. If you do not select a folder, the project's default Orchestrator folder is used.
  10. Under Robot account, select a robot account. The default value is Any User/Robot account.
  11. Under Machine template, select Any machine template or a specific machine template. Selecting a specific machine template makes the Host machine field available.
  12. Under Host machine, select Any connected machine or a specific machine.
  13. Select Run.

Result​

Autopilot executes the manual test case. While the run is in progress, it can be watched live, remote control can be taken if needed, and the run can be canceled. Once the run finishes, either successfully or with errors, Back to Setup becomes available to reconfigure and start a new run without closing the panel.

  • Context​
  • Prerequisites​
  • Steps​
  • Result​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated