UiPath进阶--文本抓取及处理字符串
Further study of UiPath-text capture
and string processing
首先打开软件,新建文件名称
First open the software, create a new file, and fill in the file name
从左侧Activities区,拽取自己需要的组件,在Attach Browser组件中选取需要抓取的页面
Drag the components you need from the Activities area on the left, and select the page you need to grab in the Attach Browser component
使用Get Text组件选取页面中需要的文本信息并在属性Value处设置一个输出变量Text
Use the Get Text component to select the text information needed in the page and set an output variable Text at Value
得到输出文本Text
Get the output text——Text
使用Assign组件定义新的变量来处理输出得到的字符串文本
Use the Assign component to define new variables to process the output string text
1.从Text去除字符串中的”Client ID:”
Remove the "Client ID:" from the text string
2.从ClientID中去除“Client Name:”
Remove "Client Name:" from ClientID
3.从ClientName中去除”Client Country:”
Remove "Client Country:" from ClientName
4.从ClientCountry中去除换行键Remove the newline key from ClientCountry
Use the Assign component to define new variables to process the output string text
5. 从Client中去除空格键
Remove the space bar from the Client
最后使用Log Message组件来输出Client1变量得到需要的字符串
Finally, use the Log Message component to output the variable Client1 to get the required string.
到这为止,文本抓取及处理字符串就都完成了
So far, text capture and string processing are completed.
使用RPA,即机器人流程自动化工具软件,可以为企业带来许多好处,能够提高利润降低成本并提高市场竞争力。在提高合规性和安全性的同时降低运营成本,不再需要大量人力,仅仅只需要少数的几名业务人员与运营维护人员。在使用文本抓取及处理字符串的过程中我深切体会到了这种机器人流程自动化的好处,使工作更加的简洁,提高了工作效率。
Using RPA, the robotic process automation tool software, can bring many benefits to enterprises, which can increase profits, reduce costs and improve market competitiveness. While improving compliance and safety, reducing operating costs, it no longer requires a lot of manpower, only a few business personnel and operation and maintenance personnel. In the process of using text capture and string processing, I deeply realized the benefits of this kind of robot process automation, which makes the work more concise and improves work efficiency.
文 | 数字力量 RPA
版 | 数字力量 RPA