UiPath文本操作Set Text的介绍和使用
一、Set Text的介绍
向输入框/文本框写入文本的一种操作
二、Set Text在UiPath中的使用
1.打开设计器,在设计库中新建一个Sequence,为序列命名及设置Sequence存放的路径
![](https://upload-images.jianshu.io/upload_images/14843435-ff38c5a75e26f5f9.png?imageMogr2/auto-orient/strip|imageView2/2/w/460/format/webp)
2.在Activities中搜索open browser,并将其拖至设计区,且设置打开网站,运行该流程“https://www.baidu.com/”
![](https://upload-images.jianshu.io/upload_images/14843435-d681ebb746030a75.png?imageMogr2/auto-orient/strip|imageView2/2/w/327/format/webp)
![](https://upload-images.jianshu.io/upload_images/14843435-44f42d7fbcab6ee7.png?imageMogr2/auto-orient/strip|imageView2/2/w/586/format/webp)
3.在Activities中搜索 输入文本 (set text),并将其拖至设计区,拾取百度搜索的输入框,且设置输入的文本为“uipath
![](https://upload-images.jianshu.io/upload_images/14843435-6e8dbe0fd26fe453.png?imageMogr2/auto-orient/strip|imageView2/2/w/394/format/webp)
#拾取区域,红色框选区域
![](https://upload-images.jianshu.io/upload_images/14843435-1e48e70a2e74c4ff.png?imageMogr2/auto-orient/strip|imageView2/2/w/716/format/webp)
![](https://upload-images.jianshu.io/upload_images/14843435-358c031567d1bd31.png?imageMogr2/auto-orient/strip|imageView2/2/w/498/format/webp)
# 运行完成,你会看到搜索框输入了”uipath”
总结:以上流程就用到了设置文本set text
UiPath交流群:465630324