autopilot
latest
false
  • Getting started
    • About Autopilot
    • Enabling/disabling Autopilot
    • Licensing
    • About this guide
  • Best practices
  • Autopilot for developers
  • Autopilot for testers
    • Autopilot for testers
    • Requirement evaluation
    • Manual test generation
    • Test automation
    • Test result analysis
  • Autopilot for everyone
  • Data privacy
Overview
Last updated Oct 22, 2024

Test automation

AutopilotTM helps you to quickly create more efficient test automations in Studio Desktop. Specifically, Autopilot supports you in the following actions:

  • Automating manual tests into low-code or coded test cases.
  • Converting text into code.
  • Create low-code workflows and test cases using prompt instructions.
  • Generating synthetic test data.

Automating manual tests

You can generate both low-code and coded test cases from your manual tests linked from Test Manager. Autopilot uses the manual test steps and description, as well as the Object Repository, to generate a fully automated test case that you can use. In the Test Explorer panel, right-select the manual test that you want to automate, then select Generate Test Case with Autopilot or Generate Coded Test Case with Autopilot.



Visit AI-powered automation: Automating manual tests to learn how to create coded test cases from your manual tests.

Converting text into code

If you want to create a coded test case from scratch, without linking it from Test Manager, you can use Autopilot. You can generate code from the following sources:

  • Comments - Select a comment, right-click, and choose Generate Code.
  • Specific lines in your automation - Select the desired line, right-click, and then choose Generate Code. refine the generation with your prompt, then your code is generated within the automation.
  • Custom prompts - On a blank code line, select the Autopilot icon Autopilot icon, then enter your prompt in the Ask Autopilot to generate code field. Finally, select Generate.
    To open the Ask Autopilot to generate code field, you can also use the Ctrl + Shift + G keyboard shortcut, or right-click in the code editor and select Generate Code.

After Autopilot generates the code you can choose to Confirm the generation or Discard it.



Visit AI-powered automation: Generating code to learn how to create code for your automations from text.

Create low-code test cases using prompt instructions

You can generate low-code test cases using natural language. Autopilot uses the instructions, as well as the Object Repository, to generate a fully automated low-code test case that you can use. In the Designer panel, select generate with Autopilot to create a low-code test case using prompt instructions.

Figure 1. Typing prompt instructions in the Type annotation field

Generating synthetic test data

You can generate synthetic test data tailored to specific testing needs, using Autopilot. The generation process supports several argument types which you can further refine using a prompt. To generate test data using AI, select Generate with Autopilot as your test data source. Then, you can refine the data that Autopilot generated, using a prompt.

Figure 2. Dialog box when generating test data using Autopilot

Visit AI-powered automation: AI-generated test data to learn how to generate synthetic data using Autopilot.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.