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)

Running macros

In this section, we will learn about running Excel macros. The sample file has a macro called procFilterSegment. This macro will filter the Segment column by the given argument. In the following walk-through, the bot will open the sample workbook in read-only mode and run this macro. We will send an Enterprise argument to the macro. This should result in the bot applying a filter of Enterprise to the Segment column.

Let's start this walk-through by executing the following steps:

  1. Log into Control Room.
  2. Create a new bot and call it Chapter11 – Excel Macro in the \Bot\ folder.
  3. Starting with the comments, add a new Comment action as "---------------------" on line 1 and click on Save.
  4. Add a new Comment action as "------- Open Excel Worksheet" on line 2 and click on Save.
  5. Add a new Comment action as "------- Run Macro" on line 3 and click on Save.
  6. Add a new Comment action as "------------------...