activities
latest
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

工作流活动

上次更新日期 2025年5月29日

发行说明

v25.4.0

发行日期:2025 年 4 月 23 日

重大变更

We have renamed the Verify Documents Equivalence and Verify Text Equivalence activities to Compare Documents and Compare Text. We also renamed VerifyDocumentsEquivalence and VerifyTextEquivalence coded automation APIs to CompareDocuments, and CompareText. If your automation includes the former activity or coded automation API, this update will disrupt their functionality.

To solve this, you need to manually replace the old activities with the renamed versions, or reimplement the coded automation APIs with their new names.

新增功能

We have enhanced our text and PDF verification activities and coded automation APIs. You now have the option to leverage the AI capabilities of AutopilotTM, marked as a Interpret differences with Autopilot result type, for performing equivalence checks between two documents or texts.

此方法提供了一种检测差异的语义方法,尤其是在比较复杂文档时。有关在比较文本或文档时如何通过 Autopilot 使用验证的更多信息,请访问以下内容:

改进

  • We have renamed the Include Images/IncludeImages parameter, from the Compare PDF Documents activity and coded automation API, to Include Widgets/IncludeWidgets. This change also allows you to include URLs, in addition to images.
  • We have renamed the Ignore Images Location/IgnoreImagesLocation parameter, from the Compare PDF Documents activity and coded automation API, to Ignore Widgets Location/IgnoreWigdetsLocation. This change also allows you to ignore the position of URLs, in addition to images.
  • 现在,在配置“比较 PDF 文档” 活动的“基线路径” 和“目标路径” 属性时,可以使用“选择文件” 选项直接从计算机中选择文件。

错误修复

我们解决了先前阻止您在 MacOS 和 Linux 上使用验证活动截取屏幕截图的问题。现在,仅在测试 Chrome 网页应用程序时,如果您的项目还安装了高于 24.10.6 的 UIAutomation.Activities 版本,则此功能才可用。

V24.10.4

发行日期:2025 年 1 月 29 日

错误修复

When using the VerifyExpressionWithOperator coded automation API, any value assigned to the alternativeVerificationTitle parameter did not reflect in Orchestrator.

V24.10.3

发布日期:2024 年 10 月 21 日

新增功能

比较 PDF 文件和文本的等效性

我们很高兴宣布能够使用指定的比较类型和规则轻松比较 PDF 文件和各种文本片段。您可以选择根据行、字符或单词来比较文档和文本。此外,您可以选择使用正则表达式或通配符语法建立自定义规则,以便从比较过程中排除特定内容段。

To increase flexibility in your automation projects, the ability to compare documents and texts is available for both low-code and coded automations. Refer to the following resources to understand how to use Testing activities and coded automation APIs in comparing documents and texts:

V24.10.1

发行日期:2024 年 7 月 18 日

错误修复

  • 修复了ContinueOnFailure参数的行为,该参数在编码工作流执行期间错误地触发了错误。
  • The values of takeScreenshotInCaseOfFailingAssertion and takeScreenshotInCaseOfSucceedingAssertion parameters were previously ignored when using the Verify coded automation APIs.
  • The Testing configurations made in the Studio Project Settings were not applied in the context of coded automations.

V24.10.0

发布日期:2024 年 7 月 1 日

勘误

2024 年 7 月 2 日添加:修复了“获取测试数据队列项目”活动未返回超过 1000 个队列项目的行为。

新增功能

New Verify coded automation APIs

To help you automate more of your testing process, we've added new coded automation APIs for verifying your testing scenarios. Check the following table showing the new coded automation APIs that you can use:

Coded automation API描述
VerifyAreEqual验证两个表达式是否相等。
VerifyAreNotEqual验证两个表达式是否不相等。
VerifyContains验证第一个表达式是否包含第二个表达式。
VerifyIsGreater验证第一个表达式是否大于第二个表达式。
VerifyIsGreaterOrEqual验证第一个表达式是否大于或等于第二个表达式。
VerifyIsLess验证第一个表达式是否小于第二个表达式。
VerifyIsLessOrEqual验证第一个表达式是否小于或等于第二个表达式。
VerifyIsRegexMatch验证第一个表达式是否为与第二个表达式匹配的正则表达式。

New or updated overloads for the existent Verify coded automation APIs

To simplify your testing efforts, we have added new overloads for the VerifyExpression, VerifyExpressionWithOperator, and VerifyRange coded automation APIs. The following table displays the coded automation API and their new or updated overloads.

API重载
VerifyExpressionVerifyExpression(bool, string)
VerifyExpressionWithOperator
  • VerifyExpressionWithOperator(object, Comparison, object, string)
  • VerifyExpressionWithOperator(object, Comparison, object)string, bool, string, bool, bool)
VerifyRange
  • VerifyRange(object,VerificationType, object, string)
  • VerifyRange(object,VerificationType, object, object,string, bool, string, bool, bool)

V23.10.1

发行日期:2024 年 2 月 2 日

错误修复

修复了编辑用于测试自动生成的只读文件时发生的错误。 解决方案是在“ 超时测试” 模板中添加“ Finally ”块。

V23.10.0

发布日期:2023 年 10 月 23 日

新功能

Testing coded automation APIs

If you prefer to code when building automations, you can now achieve this using coded automations and UiPath services! You can create coded automations using the UiPath services such as Testing.Activities, offering you coded automation APIs to use in your automation projects.

Visit the Testing coded automation APIs section to browse through the available coded automation APIs, and Coded Automations Introduction to learn how to create coded automations.

V23.4.1

发行日期:2023 年 5 月 30 日

改进

引入了增强功能,以提供更强大的用户体验。

V22.10.4

发行日期:2023 年 5 月 30 日

新增功能

Testing.Activities 用户界面现已提供繁体中文版本。

改进

引入了增强功能,以提供更强大的用户体验。

V23.4.0

发行日期:2023 年 4 月 7 日

改进

  • 现在,当队列为空时,“ 获取测试数据队列项目 ”活动将返回 null,而不是引发异常。

v22.10.3

发行日期:2022 年 12 月 19 日

错误修复

将项目从 Windows - 旧版 迁移到 Windows后,您无法与以下活动交互:

  • 验证带有运算符的表达式
  • 验证表达式
  • 验证范围

V22.10.2

发行日期:2022 年 12 月 6 日

错误修复

对于 Windows 和跨平台项目,“ 随机日期 ” 活动中的“输出” 字段为非交互式。

V22.10.1

发行日期:2022 年 12 月 5 日

新功能

测试活动用户界面现已提供繁体中文版本。

错误修复

  • 由于字符限制,“输出消息格式” 字段生成的 断言 将返回不完整。 现在,断言按预期返回。
  • 现在,您可以在跨平台项目中再次使用模拟功能。

v22.10.0

发行日期:2022 年 10 月 24 日

更新了内部依赖项以匹配最新版本的用户界面自动化。

V22.8.2

发布日期:2022 年 8 月 26 日

改进

现在,您可以使用“ 验证范围 ”活动来测试给定范围内的表达式,以便更好地控制测试工作流中的属性。

V22.7.0

发行日期:2020 年 7 月 8 日

改进

v22.4.3

发行日期:2022 年 5 月 31 日

错误修复

修复了测试长时间运行的工作流时验证活动失败的问题。 此问题是由刷新令牌请求失败引起的。

v22.4.2

发行日期:2022 年 5 月 9 日

错误修复

  • 由于 Newtonsoft.Json 依赖项的版本控制问题,配置为进行 API 调用的工作流在生产环境中导致错误。 此问题影响 Studio 和 Robot 的 2021.4 版及更早版本。
  • SAP 会话触发器错误消息未本地化。
  • 在 Cloud Orchestrator 中执行包含“验证表达式”活动的测试用例失败。
  • 在“验证控件属性”中添加然后删除“元素是否存在”或“查找元素”等活动会导致验证错误。

v1.4.6

发行日期:2022 年 1 月 17 日

错误修复

在 Studio 2021.10.4 版中打开机器人企业框架模板会导致错误。在禁用所有在线订阅源并删除安装包文件夹的情况下,会发生此问题。

V1.4.5

发行日期:2021 年 12 月 10 日

错误修复

解决了在 Orchestrator RPA 流程中执行验证活动时引发异常的回归问题。

V1.4.4

发布日期:2021 年 12 月 7 日

错误修复

存在影响具有模拟活动的工作流的问题。 删除起始节点与使用 Mock 包围的活动之间的连接,然后建立与新活动的连接会导致丢弃 Mock 文件。

V1.4.3

发行日期:2021 年 10 月 27 日

改进

  • 已将 Tag 属性添加到“ 附加文档” 活动中,以标记已附加到测试执行的文件。
  • 测试活动现在支持跨平台项目。
  • 作为此框架整体升级的一部分,现在已为此活动包启用 .NET 5 支持。

错误修复

在连接到 Orchestrator 时运行包含附加文档的工作流,引发异常错误。 此问题已通过在 Studio 运行时跳过活动得到解决。

V1.3.3

发行日期:2021 年 5 月 4 日

错误修复

在库版本中,测试包和 WebAPI 包共享的依赖项存在差异,因此会导致 HTTP 请求错误。我们已通过从“测试”包中删除库修复了此问题。

V1.3.2

发布日期:2021 年 4 月 26 日

工作流分析器

新规则

以下应用程序测试工作流分析器规则可供使用,因此您可以为具有多个利益相关者的项目保持相同的自动化水平:

测试数据活动

  • 现在,您可以将文档附加到测试执行结果中,以获得可验证的结果,这是审核历史记录的一部分。有关详细信息,请访问:

验证活动

验证表达式验证控件属性使用运算符验证表达式 活动具有新属性,这些属性添加了其他功能:

  • 您可以配置输出消息的格式。
  • 您可以为验证活动设置一个替代名称,以显示在 Orchestrator 中。
  • 如果验证活动失败,则创建报告或通知利益相关者。

v1.2.5

发行日期:2021 年 3 月 5 日

错误修复

一个问题影响了发布到 Orchestrator (v2020.4) 的断言。如果机器人没有上传断言的权限,工作流将继续运行而不会返回错误。

v1.2.4

发行日期:2020 年 10 月 13 日

新特性和改进功能

现在,您可以创建综合测试数据以支持您的测试工作。例如,由于数据法规(例如 GDPR)而无法将生产数据用于测试目的时,这会非常方便。与复制或匿名化现有生产数据相比,创建人工数据可提供较高的覆盖率并且易于复制。

要了解如何创建综合测试数据,请参阅以下新活动:

V1.0.0

发行日期:2020 年 5 月 6 日

新特性和改进功能

测试活动包的第一次迭代提供三个活动,旨在验证测试工作流中的逻辑表达式和控件属性。 新活动包括:

此页面有帮助吗?

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