In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
Today, I will talk to you about the solution of SAP intelligent robot process automation, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
SAP has also released its own iRPA solution: based on the SAP cloud platform CloudFoundry environment, the solution supports cloud deployment and accomplishes repetitive operations that would otherwise need to be done manually by writing, scheduling, managing and monitoring robot workflows. The intelligence of SAP iRPA is reflected in its seamless integration with SAP Leonardo Conversation AI services. In addition to the iRPA solution itself, SAP has also released a number of predefined SAP-based products, such as S/4HANA 's intelligent robot process scripts, to help customers accelerate the automation of enterprise processes.
Unlike many RPA solutions based on screencap, SAP iRPA implements automatic robot operation based on API and metadata, which avoids the possibility that the original process script will not work after the product interface change.
Let's follow Jerry and start with a Hello World project to learn about SAP iRPA.
The scenario in my example is simple: use SAP iRPA to drive the calculator application on your local computer and automatically click on the 4 + 2 = buttons. As for how SAP iRPA drives S/4HANA to run some automated processes, it will be studied in the future.
Let's take a look at the demo of this example, which demonstrates how to step through a robot automation script developed with SAP iRPA.
Go to the SAP official website to download the two tools needed for this scenario:
SAP Intelligent Robotic Process Automation Desktop Studio and SAP Intelligent Robotic Process Automation Desktop Agent.
Https:///#/softwarecenter/search/Intelligent%2520Robotic%2520Process%2520Automation
As the name implies, Studio is the robot development tool, and Agent is the running environment of robot programs.
First open Studio and create a new application. This application is the calculator application that I expect to be driven by SAP iRPA, which I call a host application.
After clicking Add Application, select UIAutomation from the drop-down list, which represents what underlying technology SAP iRPA uses to identify, connect, and drive host applications.
Open the calculator application calc.exe that comes with Windows locally, refresh it in SAP iRPA, and you can see the corresponding process of this application.
Select Calculator in the process list, and the preview window on the right will immediately see its interface. Click Save and Capture Page so that SAP iPRA establishes a connection with the calculator application.
Always keep in mind that our goal is to use SAP iRPA to click buttons on calculator applications, so first navigate to the 4, +, 2 and = buttons on the calculator.
So far, the calculator in SAP iRPA is an empty page, click Capture a New Page:
Hold down the Ctrl key and place the mouse over the calculator application. SAP iRPA will intelligently recognize the handle of the calculator application window: pWindowCalculator. Click Scan And Capture:
Notice that the window handle pWindowCalculator just captured appears under the Calculator node on the left, and the calculator application interface appears in the middle area of the screen.
Let's double-click the 4 button:
Now the button 4 also appears in the tree on the left side of the screen, which means that the button 4 is also marked as a UI element that needs to be manipulated by SAP iRPA.
Repeat the above for the remaining +, 2Jing = buttons, and the interface is as follows.
Next we need to write some logic based on these captured buttons.
Switch to the workflow view and create a new workflow Workflow:
After the workflow is created, there is only one default start node:
On the right side of the workflow editing page, there is an Activities panel that maintains the entire calculator application that we captured earlier. Drag the UI of the calculator application to the workflow editing page:
At this point, double-click the UI of the calculator application, and you can edit the UI elements in it.
In the Activities panel, find the action Click and drag it to the buttons 4 and = in the middle of the screen.
When the drag is over, the buttons display the sequence number corresponding to the clicked and the name of the Click event.
At this point, we have completed the modeling of the robot. It can be seen from the process that even if the modeler does not have the programming skills, he can accomplish this task successfully.
We also need to click the Build button to generate the runtime code.
After the Build button is clicked, a node.exe running interface appears, implying that the underlying operation of SAP iRPA is based on nodejs.
After the Build is completed, we can see the automatically generated robot script code. As teacher Hou Jie said, "there is no secret in front of the source code." by reading the automatically generated JavaScript source code, we can make an analogy between the working principle of SAP iRPA and another popular browser automated testing framework, Selenium: both locate an element in the application interface and call the corresponding method of the element, but the difference is that Selenium locates the element through the ID of the web application page tag. The SAP iRPA in this example uses UIAutomation to locate the button applied by the calculator.
As you can see from the above figure, the JavaScript script automatically generated by SAP iRPA can be debugged in a single step. Click the Debug button and the SAP iRPA debugger pops up.
If you set a breakpoint before, you can now step into it just like you would have debugged your normal JavaScript code:
Of course, SAP iRPA can do much more than this Hello World, and its most valuable thing lies in SAP Cloud Platform-based cloud deployment and seamless integration with SAP standard products. Jerry will continue to introduce when there is an opportunity in the future.
After reading the above, do you have any further understanding of the solution of SAP intelligent robot process automation? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.