test-manager
latest
false
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Test Manager 用户指南

上次更新日期 2025年9月19日

根据需求查找已过时的测试

您可以使用Autopilot TM for Testers 识别链接到需求的已过时的测试用例。Autopilot 通过分析过时的测试用例与更新的需求的相关性,检查是否已弃用的功能、冗余覆盖率、过期的环境或依赖项以及错位或不支持的测试步骤来识别过时的测试用例。
注意:此功能仅在通过Test Cloud交付的 Test Manager 中可用。

先决条件

要查找链接到需求的已过时的测试用例,您的“Test Manager”角色必须具有以下权限:

  • 要求 - 编辑
  • 测试用例- 编辑

步骤

要查找链接到需求的已过时的测试用例,请执行以下步骤:

  1. 打开项目,然后导航至“需求”。
  2. 针对所需要求选择“更多选项” ,然后选择“优化覆盖率” 。或者,打开需求,然后选择优化覆盖
  3. “优化覆盖率”对话框中,选择“查找过时的测试”

    “提供其他上下文”窗口将打开,重点是“添加文档” ,提示您提供识别已过时的测试用例所需的附件或其他文档。

    1. “添加文档”部分中,选择在搜索过时的测试用例时要使用的附件。您可以自行上传其他文件。
    2. Select Next and provide additional instructions that AutopilotTM should use when finding obsolete test cases. Choose a prompt from the Prompt library or type these instructions in the Provide additional guidance window.
      1. (可选)从“模型”下拉列表中,选择 Autopilot 应使用的 AI 模型。

        在查找过时的测试时,Autopilot 默认使用 Claude 3.7 Sonnet,这也是推荐的模型。

        注意: “模型”下拉列表中可用的模型取决于应用于组织和租户的AI Trust Layer 策略。如果启用了所有受支持的模型,则系统会推荐使用 Claude 3.7 Sonnet 选项。如果仅启用了一种模型类型(例如 Azure OpenAI),则系统仅显示和自动推荐 GPT 4o 模型。
    3. 选择“查找过时的测试”以启动该流程。

      When the find operation finished, you will receive an Obsolete tests discovered or a No obsolete test cases discovered notification. Depending on your notification preferences, you can receive the notification both in-app and via email.

      然后,您可以根据需要取消分配产生的过时测试用例,或为其添加标签。

    图 1.需求的最新结果,包括过时的测试

  • 先决条件
  • 步骤

此页面有帮助吗?

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