Book Image

Robotic Process Automation with Automation Anywhere

By : Husan Mahey
Book Image

Robotic Process Automation with Automation Anywhere

By: Husan Mahey

Overview of this book

With an increase in the number of organizations deploying RPA solutions, Robotic Process Automation (RPA) is quickly becoming the most desired skill set for both developers starting their career and seasoned professionals. This book will show you how to use Automation Anywhere A2019, one of the leading platforms used widely for RPA. Starting with an introduction to RPA and Automation Anywhere, the book will guide you through the registration, installation, and configuration of the Bot agent and Control Room. With the help of easy-to-follow instructions, you’ll build your first bot and discover how you can automate tasks with Excel, Word, emails, XML, and PDF files. You’ll learn from practical examples based on real-world business scenarios, and gain insights into building more robust and resilient bots, executing external scripts such as VBScripts and Python, and adding error handling routines. By the end of this RPA book, you’ll have developed the skills required to install and configure an RPA platform confidently and have a solid understanding of how to build complex and robust, yet performant, bots.
Table of Contents (20 chapters)

Reading and writing data within Excel worksheets

Working with data using Excel is a key part of most business roles. Having the ability to automate tasks using Excel can free substantial time from our daily routine. The following walk-throughs will look at reading datasets from Excel followed by writing data to Excel. Like the previous chapter, we will be adding new steps at each stage to make our bot more structured.

Reading from Excel worksheets

Data in Excel is usually presented as a table, which means it consists of a fixed set of columns with each row as a record or transaction. The sample data file has a worksheet named Catalog. The dataset looks like this:

Figure 11.7 – Excel Catalog worksheet dataset

Figure 11.7 – Excel Catalog worksheet dataset

In this walk-through, we want our bot to read each record and show the Title and Price in a message box. To read the record, we need a Record type variable, which will be named recBook. Once a record is assigned to a Record type variable...