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

用户界面自动化活动

上次更新日期 2026年2月17日

SAP 登录

UiPath.UIAutomationNext.Activities.NSAPLogon

描述

使用该活动直接登录到 SAP 系统。提供“SAP 登录”或“SAP 登录板”窗口中用于登录到 SAP 系统的确切 SAP 连接名称。

项目兼容性

Windows - Legacy | Windows

配置

设计器面板
  • SAP 登录路径 -“SAP 登录”或“SAP 登录板”程序的路径。默认路径是从相应的系统注册表项获得的。默认路径是从相应的系统注册表项获得的。
  • 连接名称 -“SAP 登录”或“SAP 登录板”窗口中用于登录到 SAP 系统的确切 SAP 连接名称。
  • 执行序列 - 根据单个定义的顺序执行一组子活动。
属性面板

常见

  • “出错时继续” - 指定在活动抛出错误时是否应继续自动化操作。此字段仅支持Boolean值( TrueFalse )。默认值为False 。因此,如果该字段为空且活动引发错误,系统将停止执行项目。如果该值设为True ,则无论出现何种错误,系统都将继续执行项目。
    备注:

    如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值设置为True ,则系统在执行项目时不会捕获任何错误。

  • “显示名称”- 活动的显示名称。
  • “超时” - 指定在引发错误之前等待执行活动的时间(以秒为单位)。默认值为 30 秒。

输入

  • Unified Target Application - Expand this category to configure the following settings:
    • 参数 - 如果应用程序不是网页浏览器,则可以指定在启动时传递到目标应用程序的参数。您可以使用此属性通过应用程序打开特定文件。
    • File path - If the application is not a web browser, specifies the full path of the executable file to open. If a file path is specified, the URL property is cleared.
    • Selector - An XML fragment that stores the attributes of a user interface element.
    • URL - If the application is a web browser, specifies the URL of the web page to open. If a URL is specified, the File path property is cleared.

输入/输出元素

  • “输出元素” - 输出目标用户界面元素,并将其存储在UIElement对象中,该对象可进一步用于与其他活动针对同一元素。

其他

  • “私有” - 选中后将不再以“Verbose”级别记录变量和参数的值。此字段仅支持BooleanTrueFalse )值。默认值为False

选项

  • 关闭- 选择自动化执行此活动中添加的所有活动后关闭目标应用程序的时间:
    • “从不” - 从不关闭应用程序。
    • 如果由应用程序/浏览器打开 - 仅在由自动化打开应用程序时关闭。这是默认值。
    • “始终” - 每次都关闭应用程序。
  • Input mode - Select which method the Robot should use to interact with the target application:
    • Hardware Events - Uses the hardware driver to perform the action. This is the slowest method, it cannot work in the background, but it is compatible with all desktop apps.
    • 模拟- 使用辅助功能 API 进行模拟。建议用于浏览器、基于 Java 的应用程序、SAP。通常比“硬件事件”更可靠。在单个操作中发送所有文本。即使目标应用程序不在焦点中,也适用。请测试您的目标应用程序用户界面元素是否支持此方法。
    • Chromium API - 使用调试器 API 执行操作。仅适用于 Chromium 元素。一次性发送所有文本。即使目标应用程序不在焦点中,也适用。有关更多详细信息,请查看此页面
    • Window 消息- 使用 Win32 消息进行模拟。推荐用于桌面应用程序。通常比“硬件事件”更可靠。在单个操作中发送所有文本。即使目标应用程序不在焦点中,也适用。请测试您的目标应用程序用户界面元素是否支持此方法。
    • 后台 - 在后台运行操作。在可能的情况下,尝试使用 Simulate 或 Chromium API,同时复杂的活动 (图像、原生文本) 照常在前台运行。
  • 重试次数 - 活动尝试连接到 SAP 脚本界面的次数。默认值为 5。
  • Resize window - Defines whether the application/browser is resized when initialized.
    • – 不可调整应用程序/浏览器大小。
    • 最大化 – 初始化时,应用程序/浏览器已最大化
    • 还原至设计时大小 – 如有可能,系统会将应用程序/浏览器的大小和位置调整并移动到指定时的位置和大小。
    • 最小化 – 初始化时,应用程序/浏览器已最小化。
  • 重试间隔 - 每次重试之间的时间间隔(以秒为单位)。默认时间为 0.5 秒。
  • Window attach mode - Defines where inner activities search for their target elements.
    • 流程名称 - 内部活动在所有窗口中搜索与指定应用程序具有相同流程名称的内容。
    • Application instance - Inner activities search the indicated application instance, including all parent and child windows (alerts, popups, etc). Other instances of the application are excluded.
    • Single window - Inner activities search only in the indicated window.
  • 描述
  • 项目兼容性
  • 配置

此页面有帮助吗?

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