UiPath鼠标操作元素的介绍和使用
Posted the-day-of-the-wind
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UiPath鼠标操作元素的介绍和使用相关的知识,希望对你有一定的参考价值。
一、鼠标(mouse)操作的介绍
模拟用户使用鼠标操作的一种行为,例如单击,双击,悬浮。根据作用对象的不同我们可以分为对元素的操作、对文本的操作和对图像的操作
二、鼠标对元素的操作在UiPath中的使用
1.打开设计器,在设计库中新建一个Sequence,为序列命名及设置Sequence存放的路径
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-90e002a39696d980.png?imageMogr2/auto-orient/strip|imageView2/2/w/611/format/webp)
2.在Activities中搜索open browser,并将其拖至设计区,且设置打开网站,运行该流程“https://www.baidu.com/”
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-c1183a1b537587b6.png?imageMogr2/auto-orient/strip|imageView2/2/w/327/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-8d9a681e59c17a2c.png?imageMogr2/auto-orient/strip|imageView2/2/w/586/format/webp)
3.在Activities中搜索mouse,并将element(元素)下的click拖至设计区,且设置单击元素的对象为打开页面的“新闻”,再次运行改流程(run
file),进入新闻界面
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-6979567965a29b9e.png?imageMogr2/auto-orient/strip|imageView2/2/w/302/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-e272e1056ae38f0d.png?imageMogr2/auto-orient/strip|imageView2/2/w/978/format/webp)
4.在Activities中搜索mouse,并将element(元素)下的double click拖至设计区,且设置双击元素的对象为打开“新闻”页面的“国际”,再次运行改流程(run file),进入国际新闻界面
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-227393a3d34d5bf8.png?imageMogr2/auto-orient/strip|imageView2/2/w/689/format/webp)
5.在Activities中搜索mouse,并将element(元素)下的hover拖至设计区,且设置悬浮元素的对象为“国际新闻”页面的首条新闻,再次运行改流程(run
file)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-2f495d794f91a76a.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-e46d48a4569a9bde.png?imageMogr2/auto-orient/strip|imageView2/2/w/539/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-a98c91037a49b669.png?imageMogr2/auto-orient/strip|imageView2/2/w/664/format/webp)
UiPath交流群:465630324
以上是关于UiPath鼠标操作元素的介绍和使用的主要内容,如果未能解决你的问题,请参考以下文章