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)

Simulating keystrokes

We have our text in Notepad now and it is ready to be saved as a file. We can use the recorder package to capture the menu items and save the file. To demonstrate how to simulate keystrokes, you will not be using the capture action to save the file. We will continue with our walk-through, demonstrating how to achieve this by using the Simulate Keystrokes action instead. As before, the bot hasn't actually executed any actions yet; we need to replicate this manually. So let's copy and paste the text from the second paragraph into Notepad. Notepad should look like this:

Figure 7.37 – Notepad window

If we wanted to save the file in Notepad using just keystrokes, we would need to identify the keystroke sequence. By inspecting the menu options, we can identify that the sequence to bring up the Save As dialog is Ctrl + Shift + S or Alt then F then A.

We have now established the keystroke sequence needed for our bot to trigger...