autopilot
latest
false
Autopilot user guide
- Getting started
- Best practices
- Data privacy
- Autopilot chat
- Generating automations
- Generating tests
- Generating tests
- Best practices and limitations
- Supported models and limits
- Quality-check requirements
- Generate tests for requirement
- Import manual test cases
- Find obsolete tests
- Generate tests for SAP transactions
- Generate coded automations
- Generate coded API automation
- Refactor coded automations
- Generate low-code automations
- Generate synthetic test data
- Generate test reports
- Search Test Manager project
- Troubleshooting Autopilot for Testers
- Autopilot for Everyone
- About Autopilot for Everyone
- Licensing
- User types
- Data sources
- Toolset automations
- Localization
- Prerequisites
- Autopilot widget
- The Autopilot for Everyone tenant card
- Prerequisites for installation
- Enabling Anthropic models
- Installing Autopilot for Everyone
- Updating Autopilot for Everyone
- Uninstalling Autopilot for Everyone
- Configuring Autopilot for Everyone
- Disabling the Autopilot welcome screen in Assistant
- Configuring an LLM for Autopilot for Everyone
- Deploying toolset automations
- Prompt-to-response flow
- Launching Autopilot for Everyone
- Autopilot settings for business users
- Using a specialized Autopilot
- Using a starting prompt
- Uploading and analyzing files
- Running automations
- Interacting with Autopilot answers
- Using suggested prompts
- Starting a new chat
- Chat history
- Providing general feedback
- Clipboard AI Enterprise version
- Troubleshooting
Refactor selected code in a coded automation using Autopilot's Generate Code action in Studio, with prompt examples for common refactoring goals.
Autopilot helps you enhance your code through refactoring. You can offer Autopilot instructions to improve selected code by identifying redundancies, simplifying complex methods, or maintaining consistent coding standards, among others.
Prerequisites
- Studio 2024.10.1 or higher.
Refactor code
- Select the code you want to refactor.
- Open the context menu and select Generate Code.
- Enter instructions describing how Autopilot should refactor the code.
Prompt examples
- "Refactor the method below and make it more performant."
Best practices
- Specify the language and the refactoring goal clearly, for example "Refactor this C# method."
- Keep prompts short and direct.