Book Image

Learning Robotic Process Automation

By : Alok Mani Tripathi
Book Image

Learning Robotic Process Automation

By: Alok Mani Tripathi

Overview of this book

Robotic Process Automation (RPA) enables automating business processes using software robots. Software robots interpret, trigger responses, and communicate with other systems just like humans do. Robotic processes and intelligent automation tools can help businesses improve the effectiveness of services faster and at a lower cost than current methods. This book is the perfect start to your automation journey, with a special focus on one of the most popular RPA tools: UiPath. Learning Robotic Process Automation takes you on a journey from understanding the basics of RPA to advanced implementation techniques. You will become familiar with the UiPath interface and learn about its workflow. Once you are familiar with the environment, we will get hands-on with automating applications such as Excel, SAP, Windows and web applications, screen and web scraping, working with user events, and we'll cover exceptions and debugging. By the end of the book, you'll not only be able to build your first software robot, but you'll also wire it up to perform various automation tasks with the help of best practices for robot deployment.
Table of Contents (12 chapters)

Exception handling

Exception handling is a way to handle exceptions for a process that the program or the procedure has failed to execute.

For handling exceptions in a program, the best practice considered is to use the Try catch activity.

The Try catch activity can be found in the Activities panel. By dragging and dropping the Try catch activity into the workspace, we can handle exceptions. For handling errors in the Try catch block, we can divide the whole process into four parts just to make it simpler:

  • Drag and drop the Try catch activity
  • Try block
  • Catch block
  • Finally block

Let's build a Try catch block to handle exceptions, in following steps:

  1. Drag and drop the Try catch activity: Create a blank project. Drag and drop the Flowchart activity into the Designer panel. Search for the Try catch activity in the Activities panel and drag it into the Flowchart. Set it as...