- 概述
- 用户界面自动化
- 关于“用户界面自动化”活动包
- 通过用户界面自动化实现自动化的应用程序和技术
- 项目兼容性
- UI-ANA-016 - 拉取打开浏览器 URL
- UI-ANA-017 - 出错时继续 True
- UI-ANA-018 - 列出 OCR/图像活动
- UI-DBP-006 - 容器使用情况
- UI-DBP-013 - Excel 自动化误用
- UI-DBP-030 - 选取器中的禁止变量使用情况
- UI-DBP-031 - 活动验证
- UI-PRR-001 - 模拟单击
- UI-PRR-002 - 模拟键入
- UI-PRR-003 - 打开应用程序误用
- UI-PRR-004 - 硬编码延迟
- UI-REL-001 - 选取器中的大 IDX
- UI-SEC-004 - 选取器电子邮件数据
- UI-SEC-010 - 应用程序/Url 限制
- UI-USG-011 - 不允许的属性
- UX-SEC-010 - 应用程序/Url 限制
- UX-DBP-029 - 使用不安全的密码
- UI-PST-001 - 项目设置中的审核日志级别
- UiPath 浏览器迁移工具
- 剪切区域
- 计算机视觉录制器
- 活动索引
- 激活
- 锚点基准
- 附加浏览器
- 附加窗口
- 阻止用户输入
- 标注
- 选中
- 单击
- 单击图像
- 单击图像触发器
- 单击 OCR 文本
- 单击文本
- 单击触发器
- 关闭应用程序
- 关闭选项卡
- 关闭窗口
- 上下文感知锚点
- 复制选定文本
- 元素属性更改触发器
- 存在元素
- 元素作用域
- 元素状态更改触发器
- 导出用户界面树
- 提取结构化数据
- 查找子元素
- 查找元素
- 查找图像
- 查找图像匹配项
- 查找 OCR 文本位置
- 查找相对元素
- 查找文本位置
- 获取活动窗口
- 获取上级
- 获取属性
- 获取事件信息
- 从剪贴板获取
- 获取全文
- 获取 OCR 文本
- 获取密码
- 获取位置
- 获取源元素
- 获取文本
- 获取可见文本
- 返回
- 前往
- 转至主页
- Google Cloud Vision OCR
- 隐藏窗口
- 高亮显示
- 热键触发器
- 悬停
- 悬停在图像上方
- 悬停在 OCR 文本上方
- 悬停文本
- 存在图像
- 在屏幕上指定
- 注入 .NET 代码
- 插入 Js 脚本
- 调用 ActiveX 方法
- 按键触发器
- 加载图像
- 最大化窗口
- Microsoft Azure 计算机视觉 OCR
- Microsoft OCR
- Microsoft Project Oxford Online OCR
- 最小化窗口
- 监控事件
- 鼠标触发器
- 移动窗口
- 导航至
- 存在 OCR 文本
- 在元素出现时
- 在元素消失时
- 在图像出现时
- 在图像消失时
- 打开应用程序
- 打开浏览器
- 刷新浏览器
- 重播用户事件
- 还原窗口
- 保存图像
- 选择项目
- 选择多个项目
- 发送热键
- 设置剪切区域
- 设置焦点
- 设置文本
- 设置为剪贴板
- 设置网页属性
- 显示窗口
- 启动进程
- 系统触发器
- 截取屏幕截图
- Tesseract OCR
- 存在文本
- 工具提示
- 键入
- 输入安全文本
- 使用前台
- 等待属性
- 等待元素消失
- 等待图像消失
- Computer Vision Local Server
- 移动自动化
- 终端

用户界面自动化活动
设置文本
UiPath.MobileAutomation.Activities.SetText
描述
在移动自动化可识别的目标用户界面元素中键入指定文本。
项目兼容性
Windows - Legacy | Windows
配置
设计器面板
- Target - Default is set to
(null). Once the target is indicated, all properties regarding the element that was indicated are displayed. You can further create variables out of the displayed attributes of an indicated target.-
CV 文本 - Computer Vision 模型在目标用户界面元素中识别的文本。
-
CV 类型 - 使用 Computer Vision 识别的控件类型。
备注:我们建议在指定目标后保持 CV 控件类型不变。否则,由于您更改了控件类型,Computer Vision 模型可能无法在运行时识别目标。
-
Fuzzy selector - The parameters for the fuzzy selector.
-
SearchSteps - Select the methods used to identify targets and anchors from the dropdown list.
-
精确选取器- 为指定元素生成的选取器。要了解如何根据目标选取器的属性创建变量,请查看根据选取器属性创建变量教程。
-
- Text - The text you want to type into the specified UI element, stored in a string. This field supports only strings and
Stringvariables.
属性面板
常见
-
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 of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
备注:如果“Try Catch 异常处理”中包含该活动且“出错时继续”属性的值为“True”,则系统在执行项目时不会捕获任何错误。
-
DelayAfter - Delay time (in seconds) after executing the activity. The default value is
0.3seconds. -
DelayBefore - Delay time (in seconds) before the activity begins performing any operations. The default value is
0.2seconds. -
“显示名称”- 活动的显示名称。
-
Timeout - specifies the amount of time (in seconds) to wait for a specified element to be found before an error is thrown. The default value is
30seconds.
输入
- SecureText - Send a secure string in the specified UI element. Requires a SecureString variable.
- Send new line - A boolean variable which specifies whether a new line should be inserted when writing the text. By default, this field is set to
True. - Tap Before - Specifies whether the target should be tapped before typing the text. By default, this activity is set to Single. Also supports multiple types of taps, as follows:
- 否
- 单个
- Double
- 长
- Target - Default is set to
(null). Once the target is indicated, all properties regarding the element that was indicated are displayed. You can further create variables out of the displayed attributes of an indicated target.-
CV 文本 - Computer Vision 模型在目标用户界面元素中识别的文本。
-
CV 类型 - 使用 Computer Vision 识别的控件类型。
备注:我们建议在指定目标后保持 CV 控件类型不变。否则,由于您更改了控件类型,Computer Vision 模型可能无法在运行时识别目标。
-
Fuzzy selector - The parameters for the fuzzy selector.
-
SearchSteps - Select the methods used to identify targets and anchors from the dropdown list.
-
精确选取器- 为指定元素生成的选取器。要了解如何根据目标选取器的属性创建变量,请查看根据选取器属性创建变量教程。
-
- Tap offset (Optional) - Set the parameters of your target element. This property is triggered when you enable the Target.
- Anchoring point - Select the default positioning of the anchor point.
- CoordinateType - Choose how to set the target coordinates. You can select one of the following:
- PhysicalPixels - Use this option for workflows using a single device. Since the indication corresponds to actual pixels on the screen, it's different for each device.
- DeviceIndependentPixels - Use this option to run workflows on devices with similar density screens. Device-independent pixels means that you are indicating a target based on the pixel density of the selected screen area.
- Offset X - Horizontal displacement of the targeted area selected in the CoordinateType field.
- Offset Y - Vertical displacement of the targeted area selected in the CoordinateType field.
- Text - The text you want to type into the specified UI element, stored in a string. This field supports only strings and
Stringvariables. - 清除文本- 在输入要设置的文本之前,清除目标中的所有文本。此属性默认设置为True 。此属性适用于所有目标类型。
其他
- “私有”- 选中后将不再以“Verbose”级别记录变量和参数的值。