Lesson 7 - Automation Concepts and Techniques
Lesson 7 - Automation Concepts and Techniques
Development
v4.0
Lesson 7 Automation Concepts and Techniques
Agenda
2 Automation Techniques
Learning Objectives
Process of retrieving data from a data source for further processing or storage. There are various sources
of data such as:
Extract
data
from
Other Techniques
Extracts a text value Extracts a string and its
Output Actions
Process of extracting data from a specified UI element or document, such as a pdf file. The Screen
Scraping Wizard enables the user to point at a UI element and extract text from it.
1
Start the Screen
Scraping Wizard from
STEP 1 the Design ribbon in
UiPath Studio.
There are three screen scraping (or output) methods available in Studio:
The FullText output method captures all the text from a terminal screen. It is the default method in Studio.
Native
The Native output method works with applications that are built to render text with Graphics Device
Interface (GDI). It can extract the screen coordinates of the text.
OCR
The OCR output method uses the Optical Character Recognition technology, to extract information from
virtual environments. It has three default engines: Google Tesseract, Microsoft MODI, and UiPath Screen
OCR.
This method gets better results for character recognition on smaller size areas and supports color
inversion. It offers multiple customization options.
Microsoft OCR
This method is used to work with Microsoft fonts and large-size images.
UiPath Screen OCR
Extracts a string and associated information about the textual content of images. The UiPath Screen
OCR activity is optimized for usage on screen images.
Classroom Exercise
Process of extracting structured data from a browser, application ,or document to a database, CSV file, or
Excel spreadsheet.
• Extracts all the pattern-based data and stores it into the form of the data
table automatically
The data scraping wizard prompts the user to open a browser, application or document from where data is
to be extracted.
Step 1
Opening the
Wizard
Data Scraping Wizard (Contd.)
Step 3
Step 2
Column
Field Selection
Configuration
Data Scraping Wizard (Contd.)
Step 5
Step 4
Correlated Data
Preview Data
Extraction
Data Scraping Wizard (Contd.)
Step 6
Step 04 Step 7
Multiple
Preview Datapage Data Extraction
selection
Classroom Exercise
Process of extracting the raw data from PDF documents which can contain text and images. PDFs can be
of two types:
Workbook: A collection
of worksheets used for Worksheet: A single
organizing tabular data spreadsheet that
contains cells, organized
by rows and columns
Manipulating Workbooks
01 02
Adds the information from a DataTable to Locates & extracts the range of an Excel Reads the content of a given cell & stores
the end of a specified Excel spreadsheet. table from a specified spreadsheet. as a string.
Reads the formula from a given cell & Reads a column starting with a cell Reads a specified range and stores it in a
stores it as a string. inputted by the user. DataTable.
Reads a row starting with a cell inputted by Writes a value into a specified cell. Writes the data from a DataTable variable
the user. in a spreadsheet starting with the cell
indicated in the StartingCell field.
Classroom Exercise
The integration with Excel is enabled by using an Excel Application Scope container. All the other
activities used to work with the specified Excel file are placed inside the container.
Write Range
activity to write
the already read
data in the excel
file
Classroom Exercise
The process of automating several tasks related to emails in order to handle them efficiently with minimal
effort. Two situations for interacting with emails are:
Email protocol is a method by which a communication channel is established between two computers,
and email is transferred between them. Depending on the scope of automation, different sets of activities
and protocols can be used. The email protocols are:
IMAP
Microsoft Exchange
POP3
Microsoft Outlook
Studio includes activities for sending, retrieving and organizing messages. The available categories are:
• Simple Mail Transfer Protocol • Post Office Protocol • Internet Message Access
• Mail servers and other mail • Protocol for reading Protocol
transfer agents use the SMTP messages • Offers useful features to mark
protocol to send mail messages as read or move
• Input via email. POP3 can be
messages on TCP port 25 them between folders
also used to retrieve email
• Email as output. SMTP can be from Gmail • Input via email. IMAP can be
used with Gmail to send also used to retrieve email
• Studio Activity:
emails from Gmail
• Studio Activity: • Studio Activities:
Email Protocols and Related Activities
(Contd.)
• Sends and receives emails • Used as an email client • Desktop workflow application
that provides instant
• Studio Activities: • Sends and receives emails messaging, emails,
• Studio Activities: calendars, blogs, etc.
• Studio Activities:
Categories for Email Automation
There are two generic email activities available for saving email attachments and email messages on the
local drive.
Note: Send 4-5 Test emails to the email ID that you will use
for practice. Emails must contain file attachments and the
word “Resume” in their subject
Summary
2 Automation Techniques