You are on page 1of 7

Day 5: Foundation training

Automation Anywhere –  Image Recognition


Foundation Training  Error Handling
 Calling Task
 PDF Integration
 Lab Exercises

Confidential © Copyright 2015 Avanade Inc. All Rights Reserved.


© 2015 Avanade Inc. All Rights Reserved.
Image Recognition Command

• Image recognition command provides a visual approach to make your automation task work with the applications and interfaces with
stunning accuracy. It acts as a "human eye" would act, accounting for the various parts of the image. Thus, Image Recognition
command makes it easy to divide and manipulate images.

Use this command to quickly search for a desired image within a source image and to readily automate any application that uses
visual elements. Another major benefit of using image recognition is to locate an image after the image might be moved, for
example, from one location on a web page to another.

© 2015 Avanade Inc. All Rights Reserved. 2


Error Handling Options

• Use this command to handle errors while running a task,


to aid in debugging the task.
Automation Anywhere provides the following options for
error handling when an error occurs:
– Take Snapshot: In case of any error, take a snapshot
of the screen.
– Run Task: Run another task when the current task
encounters an error.
– Log data into file: Log the error into a file. For
example, you can log the Error Line No. and
Description, then use the system variables $Error Line
Number$ and $Error Description$.
– Send Email: Send an email when the error occurs.
Optionally 'Attach Snapshot' and/or 'Attach Variable'.
– Variable Assignment: Specify a value to be assigned
to a variable and Set Task Status Pass or Fail
depending on the Error handling action.
 This is more useful when one wants to continue
running a task, and thus in that case the user wants
to set a specific value to a particular variable.

© 2015 Avanade Inc. All Rights Reserved. 3


Calling Task

• Using the Run Task command, we can run several


small tasks from within a larger task.

• Variable: Use this option to pass (associate) a


variable from the master task - 'Main Task Variable'
to the sub task - 'Run Task Variable'.
• Quick Mapping of Variables: A 'Quick Map' ensures
that a large number of variables with same
nomenclature are associated between tasks.

© 2015 Avanade Inc. All Rights Reserved. 4


PDF Integration

Sub-Commands
• The PDF Integration command provides the following sub-commands:
• PDF to Image
• Extract Form Fields
• Extract Text
• Merge Documents
• Split Document
• Encrypt Document
• Decrypt Document

© 2015 Avanade Inc. All Rights Reserved. 5


PDF Integration demo

• Extract text fields from attached pdf file.

Adobe Acrobat
Document

© 2015 Avanade Inc. All Rights Reserved. 6


Questions?

© 2015 Avanade Inc. All Rights Reserved. 7

You might also like