Studio
2024.10
False
Studio 用户指南
Last updated 2024年6月28日

Working with manual test cases

Once you've established a connection with a Test Manager instance and Studio project, you can navigate to the Test Explorer panel. First, you can transform manual tests within the associated project into low-code or coded test cases. Second, you can create coded test cases using our AI features powered by AutopilotTM. If needed, you can review these manual tests in Test Manager by double-clicking on the test case in the Test Explorer panel before automating them.

Generating test cases using AI

You can generate fully automated test cases using Generative AI powered by Autopilot.

Generating coded test cases using AI

Before you begin, visit AI-powered test automation best practices to ensure you effectively generate the coded test cases.

先决条件
  • Connect Studio to a Test Manager project.
  • Create elements in the Object repository that mirror the UI elements from the manual tests.
    Note: Autopilot uses object repository elements to automate UI elements in test steps. The elements are employed in the APIs as Strings.

To generate the coded test case:

  1. In the Test Explorer panel, select 1 Manual Test Cases to display the manual test cases that you can convert into automations.
  2. Right-click a manual test case and select Generate coded test case with Generative AI.

    The result will be a coded test case that uses UiPath APIs to generate the code for automating the entire manual test. The manual steps are displayed as comments at the beginning of the test case.



Creating a coded test case from a manual test case

You can create a coded test case from a manual test, resulting in Studio generating a coded test case named after the manual test.

先决条件

  • 连接到 Test Manager:
    • 在 Studio 标头中,单击 Test Manager
    • 单击“Test Manager 设置”。
    • 输入 Test Manager 实例的基本 URL,然后单击“连接”。
    • 在“默认项目”下,选择要使用的项目。此项目应包含您希望使用的手动测试。

步骤

  1. 打开测试资源管理器面板。
  2. 右键单击默认项目的测试用例列表中的手动测试用例。
  3. 单击“创建编码测试用例”。

    结果:系统将自动创建一个新的编码测试用例,其名称与手动测试相同。此编码测试用例将手动步骤显示为注释。



Creating a low-code test case from a manual test case

You can generate a low-code test case from a manual test with the manual steps displayed as Comment activities.

步骤

  1. Connect Studio to a Test Manager project.
  2. In the Test Explorer panel, select 1 Manual Test Cases to show the manual test cases that you can convert into low-code test cases.
  3. Right-click a manual test case and select Create low-code test case.

    The result is a low-code test case that places the manual steps as Comment activities within the XAML file.



此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.