UiPath Documentation
activities
latest
false

工作流活动

上次更新日期 2026年5月5日

附加文档

UiPath.Testing.Activities.AttachDocument

描述

Attach documents to your test execution results to have proof of the outcome. You can view the attachment in Orchestrator by navigating to Testing > Test Executions > Test Run Details and then selecting View attachments on a specific test case.

备注:
  • 仅当您将工作流作为测试用例运行时,附件才可用。 如果将其作为作业的一部分运行,则附件不可用。
  • Orchestrator 中的附件预览适用于 JSON、TXT、XML、PNG 和 JPEG 文件格式。

项目兼容性

Windows - 旧版 | Windows | 跨平台

Windows - 旧版配置

设计器面板
  • 文件- 指定要附加到测试用例的文档的文件路径,或浏览计算机上的文件。
属性面板

常见

  • “显示名称”- 活动的显示名称。

输入

  • File - Specify the file path of the document that will be attached to the test case.
  • Tags - Set custom tags to the attached document.

其他

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution stops. If the value is set to True, the execution of the project continues regardless of any error.
  • “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。

Windows、跨平台配置

  • File - Specify the file path of the document that will be attached to the test case.
高级选项
  • Tags - Set custom tags to the attached document.
  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution stops. If the value is set to True, the execution of the project continues regardless of any error.
  • 描述
  • 项目兼容性
  • Windows - 旧版配置
  • Windows、跨平台配置

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新