活动
最新
False
横幅背景图像
工作流活动
上次更新日期 2024年4月22日

附加文档

将文档附加到测试执行结果中,以证明结果。 您可以在 Orchestrator 中查看附件,方法是导航到“ 测试 ” >“ 测试执行 ” > “测试运行详细信息” ,然后选择 “查看特定测试用例的附件 ”。
备注:
  • Orchestrator 中的附件预览适用于 JSON、TXT、XML、PNG 和 JPEG 文件格式。

定义

命名空间: UiPath.Testing.API

程序集: UiPath.Testing.Activities.Api(在 UiPath.Testing.Activities.Api.dll 中)

重载

  
AttachDocument(String)将文档附加到 Orchestrator 中的当前测试用例。
AttachDocument(String, IEnumerable<String>)在 Orchestrator 中将文档与特定标签一起附加到当前测试用例。

AttachDocument(String)

将文档附加到 Orchestrator 中的当前测试用例。

void AttachDocument(
	string filePath
)void AttachDocument(
	string filePath
)
filePath 字符串
指定将附加到测试用例的文档的文件路径。

AttachDocument(String, IEnumerable<String>)

在 Orchestrator 中将文档与特定标签一起附加到当前测试用例。

void AttachDocument(
	string filePath,
	IEnumerable<string> tags
)void AttachDocument(
	string filePath,
	IEnumerable<string> tags
)
filePath 字符串
指定将附加到测试用例的文档的文件路径。
tags IEnumerable < String >
为附加文档设置自定义标签。

此页面是否有帮助?

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