UiPath Documentation
test-manager
latest
false
Test Manager 用户指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

创建自定义字段

Create a custom field of type Text, Label, or Rich Text and assign it to one or more object types to capture project-specific attributes in Test Manager.

Define extra attributes for requirements, test cases, or test sets under Project Settings > Custom Field Definitions, as Text, Label, or Rich Text fields. Only Administrators can create them, and names are limited to 20 characters.

Context​

  • 自定义字段名称必须是唯一的,并且不得超过 20 个字符。
  • 自定义字段将应用于现有对象和新创建的对象。

先决条件​

  • 只有管理员才能创建和配置自定义字段。

步骤​

  1. 登录到 Test Manager 并打开您的项目。
  2. 导航至“项目设置” > “自定义字段定义” 。
  3. 选择“创建”并配置以下设置:
    • “名称”: 输入自定义字段的名称。
    • 说明(可选): 添加说明以供参考。
    • 对象类型:选择一个或多个对象类型。
    • Data type: Choose whether to create a Text, Label, or Rich Text type for your custom field. Depending on the type of custom field you choose, the fields where you can input potential values vary:
      • 对于类型为文本的自定义字段,在“值提示”中输入自定义字段可能采用的数据。
      • For custom fields of type Label, list the potential values in the Possible values section. To add values, type and press Enter. For example, you can input numerical values such as: 1, 2, 3, if you assess priority.
    • Default Value: Enter a value that is set as default for your object. For example: Medium, as part of a Low to High scale.
  4. 选择“保存”以确认。

您可以在每个对象的“详细信息”选项卡中查看应用于对象的自定义字段。

  ![Details tab of an object showing the custom fields applied to it](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-docs-image-402238-a9400745-af1ea680.webp)
  ![Details tab of an object showing the custom fields applied to it](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-docs-image-402238-a9400745-af1ea680.webp)

要了解自定义字段如何为您提供帮助,请考虑要评估风险类型的场景,并定义自定义字段以支持您的决策。现在,您可以根据风险类型识别和标记特定对象。

结果​

自定义字段会保存并应用于指定类型的所有现有和新创建的对象。自定义字段在每个对象的 Details(详细信息)选项卡中可见。

  • Context​
  • 先决条件​
  • 步骤​
  • 结果​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新