UiPath Documentation
autopilot
latest
false

Autopilot user guide

Last updated Apr 30, 2026

Generate coded automations

AutopilotTM assists you in generating coded automations, either from text and existent code, or from manual test cases created in Test Manager.

Generating coded automations from text and existent code

In a new or existent coded automation, you can use AutopilotTM to generate code from natural language, from comments in your automation, or from existent lines of code. Use the Ctrl + Shift + G shortcut, or the Autopilot icon, to generate code.

Generating coded automations from manual tests

After you connect Studio Desktop to Test Manager, navigate to the Test Explorer and search for your manual tests. From here, you can choose one of the following scenarios to generate a coded test case for it:

  • Create a coded test case, where the steps are shown as comments, using Create Coded Test Case.. Then prompt AutopilotTM to generate code based on the comments.

  • Directly generate a fully functional coded test case using Generate Coded Test Case with Autopilot.

    docs image

Visit Creating a coded test case from a manual test case and Generating coded test cases using AI for more information about generating test cases.

    Was this page helpful?

    Connect

    Need help? Support

    Want to learn? UiPath Academy

    Have questions? UiPath Forum

    Stay updated