- 发行说明
- 入门指南
- 设置和配置
- 自动化项目
- 依赖项
- 工作流类型
- 文件比较
- 自动化最佳实践
- 源代码控件集成
- 调试
- 诊断工具
- 工作流分析器
- 变量
- 参数
- 导入的命名空间
- 控制流程
- 对象存储库
- 日志记录
- ScaleCoordinates 迁移工具
- ScreenScrapeJavaSupport 工具
- StudioPro
- 扩展程序
- 故障排除
This tutorial teaches you how to create a basic process in Studio in 10 minutes and run it on your machine. The example opens a browser, loads a certain web page, scrapes information, and writes it to the Output panel, and in a Notepad file.
查看视频或按照下列详细步骤操作:
-
启动 Studio。系统将显示“新建空白流程”窗口。在“主页”的后台视图中,单击“流程”以新建项目。系统将显示“新的空白流程”窗口。
-
为新项目键入名称并提供相关说明,以概括您打算如何利用此自动化项目。为新项目选取位置。
备注:项目名称不能超过 128 个字符,描述不能超过 500 个字符。
-
单击“创建”。系统随即会在 Studio 中打开新项目。
-
In the Activities panel, search for Open Browser and drag it to the Designer panel. Notice that the activity is automatically added inside a Sequence.
-
在开放浏览器输入字段中添加
"https://www.uipath.com/product/studio"URL。使用 Ctrl + S,或单击功能区的“保存”按钮,然后按 Ctrl + F6 运行流程。系统将在 Internet Explorer 中打开上述网页。 -
From the Activities panel, add a Get Visible Text activity to the Do container of the Open Browser activity. Click Indicate element inside browser, and click on the text that you want to scrape from the previously loaded web page.
-
In the Variables panel, create a new
stringvariable calledGetText, and set its scope toSequence. The purpose of this variable is to store the scraped information. -
在“获取可见文本”活动的“属性”面板中,选择“文本”属性旁边的字段,然后插入
GetText变量。 -
From the Activities panel, drag a Write stepne activity. In the input text field, add the previously created variable. This activity writes the scraped data to the Output panel.
-
Add an Open Appstepcation activity to the project. Open a Notepad instance, click Indicate window on screen and select the opened appstepcation. Notepad’s file path is detected.
-
Add a Type Into activity in the Open Appstepcation activity’s Do container. Click Indicate element inside window to select the Notepad window, and add the
GetTextvariable to the input text field. This activity writes the scraped text to a Notepad window. -
在功能区中,单击“运行文件”或使用 Ctrl + F6 快捷键执行项目。
When the execution is completed, notice that the scraped text is written to the Output panel, and in the Notepad file.
同样,您也可使用向导创建其他流程,以抓取网页中的数据。