test-suite
latest
false
UiPath logo, featuring letters U and I in white
Test Suite 用户指南
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated 2024年11月15日

Autopilot for Testers

Autopilot for Testers is a collection of AI-powered digital systems, also known as agents, designed to boost the productivity of testers throughout the entire testing lifecycle. These capabilities are integrated into UiPath® Studio Desktop and UiPath® Test Manager, two key components of UiPath® Test SuiteTM.

Autopilot for Testers offers capabilities that can be grouped into the following categories:

  • Agentic test design: AutopilotTM in Test Manager supports you to evaluate requirements for quality aspects such as clarity, completeness, and consistency. Autopilot also helps you generate manual test cases for requirements (such as user stories) and SAP transactions.
  • Agentic test automation: AutopilotTM in Studio Desktop supports you to convert text such as manual test cases into coded and low-code automated UI and API test cases, generate test data for data-driven testing, refactor coded test automation, fix validation errors, generate expressions, and perform fuzzy verifications, among others.
  • Agentic test management: AutopilotTM in Test Manager allows you to get actionable insights into test results through the Test insights report.

The following sections what AutopilotTM can help you with, when you create testing projects.

Quality-check requirements

Start by creating a requirement, such as Submit loan request for the UiBank Application. Describe the application flow and criteria needed for the loan application process. Then select Evaluate quality and evaluate the requirement using AutopilotTM, to generate a list of suggestions that you can directly implement.

Provide supporting documents to AutopilotTM, and additional guidance through a prompt that you choose from your library or that you type in yourself.

触发评估后,请展开每条建议以根据实施进度更新其状态。您可以选择将建议添加到要求中,并将其状态标记为“正在处理”或“已完成”。我们还提供了用于删除建议的选项。

使用“建议更多”和“重新生成”生成更多建议,或者使用不同的支持文档或其他指导重新生成建议。

您还可以将建议导出到 Word,以保留建议以供将来参考。

Visit Quality-check requirements and AI-powered evaluation: Best practices to understand how to efficiently evaluate your requirements using Autopilot.

Generate tests for requirements

Use AutopilotTM to generate a list of potential test cases. You can generate test cases from the requirement details, followed by uploaded documents, and additional instructions.

打开需求,然后选择“生成测试”以为需求生成测试。

Refine the generation process with documents and instructions for AutopilotTM to use in generating the test cases. After you select Generate tests, review the generated test cases and create tests if satisfied, or refine them with more details if otherwise.

Visit Generate tests for requirements and AI-powered generation: Best practices, to check how to use the test generation feature at its full potential.

Create tests for SAP transactions

With AutopilotTM, you can generate test cases for SAP transactions from the Heatmap, and generate test cases for gaps discovered in the Change impact analysis, using uploaded documents and additional instructions. You can further refine the generation process with documents and instructions for AutopilotTM to use in generating the test cases.

Visit Generating test cases for a specific transaction, as well as AI-powered generation: Best practices, to check how to successfully generate tests for SAP transactions.

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.
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.

Generate coded API automation

If you want to create a coded test case that automates a scenario involving APIs, AutopilotTM can help with generating the code for this scenario. In the code editor, right-click and select Generate Code then offer AutopilotTM the necessary instructions. For instance, you should offer AutopilotTM the API that you want to use, and the API key that it should access.

Refactor coded automations

AutopilotTM helps you enhance coded automations through refactoring. Consider a situation where a coded test case contains a segment of code that could be more readable. To start the refactoring process, follow these steps: select the desired code, right-click the selection, then select Generate Code. Lastly, offer Autopilot instructions on how to refactor the selected code.

Generate low-code automations

AutopilotTM assists you in generating low-code test cases, either from text or from manual tests created in Test Manager.

Generating low-code test cases from manual tests

After you connect Studio Desktop to Test Manager, navigate to the Test Explorer and search for your manual tests. Right-click a manual test and select Generate Test Case with Autopilot.

Generating low-code test cases from text

Open your blank low-code test case and select generate with Autopilot from the Designer panel. Enter the desired test steps, and then select Generate to trigger the test case generation.

For more information, visit Generating low-code test cases using AI.

Generate synthetic test data

You can choose Generate with Autopilot when adding test data to your test cases. AutopilotTM initially generates potential arguments and variables, which you can further refine as required. Visit AI-generated test data to check how to generate synthetic test data using AI.

Generate test insights report

使用 Autopilot 生成报告,详细说明测试用例反复失败的原因,从而获得有关测试结果的可行见解。

要生成报告,请转到 “执行”。 选择 “生成 Insights ”,选择您的测试结果,然后选择 “生成 Insights ”。 在“见解”选项卡下的“执行”中访问您的报告。

Visit Generate test insights report and AI-powered insights: Best practices to better understand how to identify issues in your test executions.

Import manual test cases - Preview

Use AutopilotTM to import manual test cases from Excel files. You can import from one file at a time. You can import tests from multiple sheets. The import process transfers all information to Test Manager, unless specified otherwise. For instance, test case properties such as Priority, Status, or Owner are imported into Test Manager as custom field values at the test case level.

To better identify the imported test cases, you can instruct Autopilot, in the Provide import instructions section, to place certain labels on the imported test cases.

To check how to efficiently import manual test cases, visit Importing manual test cases.

Search Test Manager project - Preview

With the help of the Autopilot search, you can search any test object within a project using natural language. If you are not sure what to search for, you can use one of the example search queries that Autopilot provides. Additionally, after returning the results, Autopilot allows you to perform actions on the resulted objects.

For information on using the search and exploring search queries Searching with Autopilot.

许可

访问 Autopilot 许可,查看有关如何衡量和许可 Autopilot 活动的信息。

用户访问权限

User access management with Autopilot for Testers

AI Trust Layer 监管策略允许您在组织内管理 AI 驱动的功能的使用。尽管所有成员都默认具有对这些功能的访问权限,但您可以根据需要使用此策略来限制访问。AI Trust Layer 监管策略使您能够在用户、组或租户级别限制用户对某些 AI 驱动的功能或全部功能的访问。此外,它还使您能够决定用户可以访问哪些 AI 产品。您可以在 AutomationOps 中创建、修改和实施此监管策略。

如果您想部署 AI Trust Layer 监管策略并仍使用 AI 驱动的测试功能,请确保在策略的“功能切换”中,将“启用 Test Manager 功能”选择为“是”。

查看以下资源,了解如何为组织创建、配置和部署监管策略。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。