- Getting started
- Project management
- Working with Change Impact Analysis
- Create test cases
- Cloning test cases
- Exporting test cases
- Linking test cases in Studio to Test Manager
- Delete test cases
- Enabling governance at project level
- Disabling governance at project level
- Enabling governance at test-case level
- Disabling governance at test-case level
- Enabling or disabling governance in bulk for test cases
- Enforcing signing order for governed test cases
- Managing approvers for governed test cases
- Managing governed test cases in the In Work state
- Managing governed test cases in the In Review state
- Managing governed objects in the Signed state
- Managing comments for governed test cases
- Viewing governance information for test case logs
- Managing approvers for governed test case logs
- Managing governed test case logs in the In Work state
- Managing governed test case logs in the In Review state
- Managing governed test case logs in the Signed state
- Managing comments for governed test case logs
- Enabling governance at test case log level
- Disabling governance at test case log level
- Viewing and searching test cases
- Running Autonomous Test Execution
- Reviewing Autonomous Test Execution results
- Project operations and utilities
- Test Manager settings
- Tenant level settings
- General project settings
- Events
- Subscribing to events
- Subscribing to all events
- Unsubscribing from events
- Unsubscribing from all events
- Unsubscribing from the Notifications settings page
- Viewing notifications
- Filtering notifications
- Viewing email notifications
- Enabling email notifications for SMTP servers
- Viewing only unread notifications
- Marking all notifications as read
- Clearing all notifications
- Deleting notifications
- Customer managed keys encryption
- Audit logs
- ALM tool integration
- ALM tool integration
- Test Manager Connect
- Test Manager - Integration Service connector
- Outbound IP ranges for connectors
- Working with SAP Cloud ALM and Test Manager
- Step 1: Integrating SAP Cloud ALM with Test Manager
- Step 2: Creating automated test cases in SAP Cloud ALM
- Step 3: Creating automated test cases in Test Manager
- Step 4: Synchronizing test cases from Test Manager to SAP Cloud ALM
- Step 5: Assigning test automations to test cases
- Step 6: Executing test cases
- SAP test automation best practices
- Troubleshooting the Jira integration
- API integration
- Coding Agents for Testing
- Troubleshooting
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.
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.
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 theTestManager.AutonomousTestingentitlement. 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
AssetsViewpermission 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
- Log in to Test Manager.
- Open a manual test case.
- Go to the Manual Steps tab and select Run autonomously in the right-hand sidebar. The panel opens on the Setup tab.
- 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.
- 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 exampleLogin with {{MyAsset}}, or reference a credential asset with{{credential:credentialName}}. - Select an artificial intelligence (AI) model.
- Optional: Enable live streaming.
- 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.
- 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.
- Under Robot account, select a robot account. The default value is Any User/Robot account.
- Under Machine template, select Any machine template or a specific machine template. Selecting a specific machine template makes the Host machine field available.
- Under Host machine, select Any connected machine or a specific machine.
- 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.