test-cloud
latest
false
UiPath logo, featuring letters U and I in white

Test Cloud user guide

Last updated Mar 13, 2025

Convert text into code

This page lists guidelines to effectively use AutopilotTM for converting text into code in Studio Desktop.

You can leverage the Generate Code action within a coded automation from the context menu to convert any prompt that you input into code. AutopilotTM can understand numerous instructions, and can help you:
  • Generate any C# code.
  • Refactor existing code.
  • Generate a UiPath® automation.

Visit Generating code to check the various methods you can use for generating code.

Note: To convert text into code, use Studio Desktop version 2024.10.1 or higher.

Prompt examples

  • "Refactor the method below and make it more performant."
  • "Create a method to compare 2 strings for similarity with the input parameters 'string1' and 'string2'."
  • "Click on 'Products'".
  • "Run Job 'myDemoJob' on Orchestrator."

Was this page helpful?

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