03.RPA uipath stadio 使用教程【变量,参数,活动】

本文介绍了RPA工具UiPath Studio中变量、参数和活动的使用,包括变量的创建和赋值,不同类型的变量如字符串、时间、数组和布尔类型,以及常见活动组件如消息框、日志记录、赋值和数据处理。同时讲解了参数的使用场景和方向,通过实例展示了如何在不同工作流之间传递数据。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一.概念

非常需要说明的是,UIPATH天然是支持C#语法的,当然使用其他语言也是可以的,需要下载相关的插件,JAVA,Python(主流),C#(主流)都是可以的,本系列以C#语法为主
①变量

  • 变量值可变,不可重复命名,在stadio中用于存储多种类型的数据
  • 如果变量和参数名称一致,则变量始终默认行为,并在运行时优先使用
  • 变量支持大量类型,包含泛型值,文本,数值,字符串,布尔类型,日期,数据表,用户界面元素等,以及.net的任何变量类型
  • 仅当设计面板至少包含一个活动时,才能创建变量。也可以直接在变量面板进行创建变量

②活动
活动是一系列的集成工具,可以直接使用的组件,框架解耦,在使用中可以直接进行拖拽,调用的方式进行快速开发,是uipath stadio最基本,最核心的成员。

③参数

  • 参数常用于将一个项目中的数据传递到另一个项目中。在全局变量意义上,它们类似于变量,因为他们是动态地存储和传递数据
  • 参数类型与变量类型一致
  • 参数有特定的方向(输入,输出,输入/输出,属性),这些方向告知应用程序其中存储的信息应该往何处
  • 默认情况下,所有的参数类型都是“字符串”类型,并且方向都是“输入”

二.常见的活动组件

1)消息框(MessageBox)
内容弹出窗
2)(LogMessage)
控制台打印数据
3)分配(Assign)
复制框
4)多重分配(MultipleAssign)
一次性分配多个值
5)输入对话框(InputDialog)
用来提供用户填写数据
6)读取范围(ReadRange)
excel读取范围
7)写入范围(WriteRange)

A free, fully-featured, and extensible tool for automating any web or desktop application. Automation software that drives user interface like a human. How does it work? With UiPath you can create windows automation software that manipulates applications, akin to how a human uses the computer. You can create an automation robot as easy as you train a human user, by simply indicating on the screen what the steps of the automation are and assembling them into a visual flowchart diagram. Anyone can understand a flowchart, and automation is just as intuitive. A free, fully-featured, and extensible tool for automating any web or desktop application. UiPath Studio Community is free for individual developers, small professional teams, education and training purposes UiPath enables organizations to configure software robots that automate manual, repetitive rules-based tasks at a fraction of the cost of their human equivalent, and integrate without disruption the legacy system. Desktop Automation. UiPath Studio introduces a visual, declarative way of describing how to automate a process, and you can use it in the same way you use a Visio diagram. When working with the presentation layer of other apps, you simply indicate on the screen what operation you need to perform. UiPath understands the UI at the logical control level and does not rely on the position of elements on screen. This makes automation much more reliable and independent of screen-size and resolution. Most advanced Screen Scraping Technology. UiPath features an innovative technique for extracting text from running apps, even if they are hidden or covered by another app. Web scraping is a premier feature of the screen-scraping landscape, as there are dedicated methods for extracting pattern-based data that span multiple web pages. Macro Recorder - The world's most advanced windows macro recorder. You create a Windows macro with the UiPath recorder in the same way that you would train a human user to use an application. Indicate directly on the screen where to click, type, select, copy, paste, or perform any other common action and UiPath will generate a visual script like in the image below. UiPath's macro recorder allows you to record mouse events and keyboard activities to generate automation scripts. The arrangement of the activities is on the sequence of actions being performed in the screen. This sequence is saved in your workflow and you can use later playback the recorded actions.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值