UiPath鼠标操作图像的介绍和使用
Posted the-day-of-the-wind
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UiPath鼠标操作图像的介绍和使用相关的知识,希望对你有一定的参考价值。
一、鼠标(mouse)操作的介绍
模拟用户使用鼠标操作的一种行为,例如单击,双击,悬浮。根据作用对象的不同我们可以分为对元素的操作、对文本的操作和对图像的操作
二、鼠标对图像的操作在UiPath中的使用
1.打开设计器,在设计库中新建一个Sequence,为序列命名及设置Sequence存放的路径
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-7b752f6856a0102a.png?imageMogr2/auto-orient/strip|imageView2/2/w/553/format/webp)
2.在Activities中搜索open browser,并将其拖至设计区,且设置打开网站,运行该流程“https://www.baidu.com/”
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-4fa9ccc24a1ff8e4.png?imageMogr2/auto-orient/strip|imageView2/2/w/327/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-0f919c0bc82e9129.png?imageMogr2/auto-orient/strip|imageView2/2/w/586/format/webp)
3. 在Activities中搜索mouse,并将image(图片)下的click image拖至设计区,且设置单击的图片为“hao123”,再次运行改流程(run file),进入hao123网页界面
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-a80ca11b4e52c0e6.png?imageMogr2/auto-orient/strip|imageView2/2/w/547/format/webp)
#拾取区域,红色框选区域
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-8d992d2352167667.png?imageMogr2/auto-orient/strip|imageView2/2/w/561/format/webp)
4. 在Activities中搜索mouse,并将image(图片)下的double
click image拖至设计区,且设置双击的图片为“人民网”,再次运行改流程(run file),进入人民网界面
#拾取区域
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-c59c4eba25ebbc95.png?imageMogr2/auto-orient/strip|imageView2/2/w/418/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-461b34a6f5ed6235.png?imageMogr2/auto-orient/strip|imageView2/2/w/567/format/webp)
5. 在Activities中搜索mouse,并将image(图片)下的hover
image拖至设计区(注意:页面会跳转,hover image拖动至open browser的同一层级),且设置悬浮的图片为“法治”,再次运行改流程(run
file)
#拾取区域
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-e96a03401e34540f.png?imageMogr2/auto-orient/strip|imageView2/2/w/1114/format/webp)
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-41ed6eb83d1ecd8b.png?imageMogr2/auto-orient/strip|imageView2/2/w/528/format/webp)
#运行完成,鼠标会悬浮于“法治”中间
![技术图片](https://upload-images.jianshu.io/upload_images/14843435-0dbe9afcdc7ecc50.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
UiPath交流群:465630324
以上是关于UiPath鼠标操作图像的介绍和使用的主要内容,如果未能解决你的问题,请参考以下文章