Intro in RPA: Staicu Adelina Nicoleta Nicoleta - Staicu@unibuc
Intro in RPA: Staicu Adelina Nicoleta Nicoleta - Staicu@unibuc
Requirements:
• Windows OS
Ribbon
2. Design
Add sequences, flowcharts and state machines to your project, install and manage activities packages, built
interactions with UI elements, export workflows to Excel, and then publish your work to Orchestrator or custom feeds.
Keep in mind, that wizards and UI Explorer aren’t visible in the Ribbon unless you install the
UiPath.UIAutomation.Activities package.
UiPath Studio – The User Interface
Ribbon
3. Debug
Debug your workflow, while using debugging tools to set breakpoints, monitor the execution of activities step by
step, and adjust the debugging speed. Open logs to view details regarding execution and any change made to the
project.
UiPath Studio – The User Interface
The tools tab
The Tools tab can be used for installing extensions for Chrome, Firefox, Edge, Java, Silverlight, Citrix and Windows
Remote Desktop, and for launching the UI Explorer and Project Dependencies Mass Update Tool.
UiPath Studio – The User Interface
The Settings tab
The Settings tab has options for changing the interface language, theme, setting global preferences, and managing
activity feeds.
UiPath Studio – The User Interface
General subsection
The General subsection includes the option to change the interface language for Studio and Robot, by picking one of
the available languages.
UiPath Studio – The User Interface
The command palette
The Command Palette is opened by using Ctrl + Shift + P, F3 keyboard shortcuts, or by clicking the search button. It
incorporates the Add activity, the Universal search, the Go to file, and Jump to activity search bars.
The Add activity search bar
The Add activity search bar is opened using Ctrl + Shift + T keyboard shortcut. You can search for activities in installed
packages and add them after selected activity in the file. The bar automatically assigns keyboard shortcuts to the first
five results, and remembers your previous findings.
UiPath Studio – The User Interface
The Designer panel
The Designer panel displays your current automation project, enables you to make changes to it, and provides quick
access to variables, arguments and imports.
It is possible to navigate within a diagram by double-clicking the activity you want to view.
UiPath Studio – The User Interface
The Activities panel
The Activities panel shows available activities that can be added to the current
workflow. Use search box to find activities, navigate through them using navigation
keys and press Enter to add an activity to the current opened file.
The Project panel
The Project panel enables you to view the contents of the current project, add
folders, open the file location, manage dependencies, and adjust project settings.
UiPath Studio – The User Interface
The Output panel
The Output panel enables you to display the output of the Log Message or Write Line activities, among
other things. Exceptions for packages are also displayed in this panel.
Your first Robot
Print "Hello" by using Sequence
activity
Learning Outcomes
After completion of this exercise you will get familiar with the
following:
✓ “Sequence” and “Assign” activity.
✓ “Comment” and “Annotation”.
✓ “Message Box” activity.
✓ “Write Line” activity.
Algorithm:
Step 1: START
Step 2: Add Message Box activity and write " Hello" into Flow Chart
Activity
Step 3: Add Write Line activity and write "Hello" in Flow Chart Activity
Step 4: STOP
Step by Step process:
Objective: To code a Robot using UiPath Studio Print "Hello" display "Hello" in
a message box and write line by using “Flowchart” activity.
Learning Outcomes
After completion of this exercise you will get familiar with the following:
✓ “Flowchart” activity.
✓ “Comment” and “Annotation”.
✓ “Message Box” activity.
✓ “Write Line” activity.
Algorithm:
Step 1: START
Step 2: Add Message Box activity and write " Hello" in “Sequence” activity
Step 3: Add Write Line activity and write "Hello" in “Sequence” activity
Step 4: STOP
Step by Step process:
Algorithm:
Step 1: START
Step 2: Declare a variable 'FirstNumber' , 'Sum' , 'SecondNumber'
Step 3: Sum = FirstNumber + SecondNumber
Step 4: Do While FirstNumber < > 0 AND SecondNumber < >0
Step 5: STOP
Step by Step process:
Step 10: Create three variables from the “Variables” panel in the
“Sequence” activity as under:
Step 11: Drag and drop the “Input Dialog” activity inside the
“Sequence” activity and name it as Input Dialog – 'First input by user'.
Step 12: In the “Input Dialog” property, write the following values in
Input Dialog properties panel:
Step 13: Drag and drop “Input Dialog” activity inside the “Sequence”
activity and name it as Input Dialog – 'Second input by user'.
Step by Step process:
Step 14: In the “Input Dialog” property, write the following values in “Input
Dialog” properties panel:
Step 15. Drag and drop the “Assign” activity below the “Input Dialog” activity.
Step 16: Change the “Assign” activity and name it as Assign – ‘Addition of
numbers entered by user and assign the value to the variable Sum’.
Step 17: Declare the ’Sum’ variable in the To section and ‘FirstNumber +
SecondNumber’ in the Value section of Property.
Step 18: Drag and drop the “Message Box” activity from the activity panel and
name it as Message Box – ‘Display the output’ and inside the text field write
“Sum of numbers entered is :- "+Sum.ToString
Step 19: Inside the “Do While” activity, write the condition “FirstNumber <>0
AND SecondNumber <>0”.
Displaying a Sun Sign
Objective:
Code a Robot in UiPath Studio to display the sun sign of an individual by
entering the Date of birth of an individual and produce the output in the
message box.
Learning Outcomes
After completion of this exercise you will get familiar with the following:
✓ “Sequence” and “Assign” activity.
✓ “Comment” and “Annotation”.
✓ “Open Browser” and “Maximize Window” activity.
✓ “If” activity and how to set conditions.
✓ “Input Dialog”, “Type Into”, and “Click” activity and how to set variables in
a code using “Variable” panel.
✓ Display output in “Message Box”.
Algorithm:
Step 1: START
Step 2: Open the URL using Open Browser Activity
Step 3: Declare the variables as 'Dates' , 'Months' , 'Years' ,
'SunSign' ,'ElementExist'
Step 4: Use ElementExist variable to check text boxes are avilable in the
browser
Step 5: Add If-Else block activity and add ElementExist in the condition text
box
Step 6: In the If block use variables 'Dates' , 'Months' , 'Years' to store them
Step 7: In the Else block write "Sunshine couldn't be generated, Page not
Found"
Step 8: STOP
Step by Step process:
Step 10: Create a variable through “Variables” panel for the “Input Dialog”
activity as under:
Step 11: Declare the variable Dates in the “Output” Property of “Input Dialog”
activity.
Step 12: Drag and Drop “Input Dialog” activity and name it as Input Dialog –
‘Month entered by user’ and write the values as under:
Step 13: Create a variable through “Variables” panel for the “Input Dialog”
activity as under:
Step 14: Declare the variable Months in the “Output” Property of “Input
Dialog” activity.
Step by Step process:
Step 15: Drag and Drop “Input Dialog” activity and name it as Input Dialog –
‘Year entered by user’ and write the values as under:
Step 16: Create a variable through “Variables” panel for the “Input Dialog”
activity as under:
Step 17: Declare the variable Years in the “Output” Property of “Input Dialog”
activity.
Step 18: Drag the “Element Exists” activity from the activity panel and drop it
in the workflow.
Step 19: Name the “Element Exists” activity as Element Exists – ‘To check if
the sun sign finder block exists in the website.’
Step 20: Create a variable through “Variables” panel for the “Element Exists”
activity as under:
Step by Step process:
Step 31: Name the “Click” activity as Click - 'To click and select the date from
the date block.’
Step 32: Drag the “Send Hotkey” activity from the activity panel and drop it in
the “Sequence” activity.
Step 33: Name the “Send Hotkey” activity as Click - 'To make the dropdown
date visible.’
Step 34: In the “Send Hotkey” activity select the “enter” key from the “Key”
dropdown menu.
Step 35: Drag the “Type Into” activity from the activity panel and drop it in the
“Sequence” activity.
Step 36: Name the “Type Into” activity as Type into - 'To select the date box.’
Step 37: Declare the variable “Dates” in the “Input” Property of “Type Into”
activity.
Step 38: Drag the “Sequence” activity from the activity panel and drop it in
the Sequence – ‘Enter Date of Birth (Date, Month, Year)’ workflow.
Step 39: Name the “Sequence” activity as Sequence – ‘Month.’
Step 40: Right-click on “Sequence” activity select Annotation > Add
Annotation ‘Entering and selecting the month by identifying it from the
dropdown menu.’
Step by Step process:
Step 41: Drag the “Click” activity from the activity panel and drop it in the
“Sequence” activity.
Step 42: Name the “Click” activity as Click - 'To Click and select the month
from the month block.’
Step 43: Drag the “Send Hotkey” activity from the activity panel and drop it in
the “Sequence”.
Step 44: Name the “Send Hotkey” activity as Click - 'To make the dropdown
month visible.’
Step 45: In the “Send Hotkey” activity select the “enter” key from the “Key”
dropdown menu.
Step 46: Drag the “Type Into” activity from the activity panel and drop it in the
“Sequence” activity.
Step 47: Name the “Type Into” activity as Type into - 'To Select the month
box.’
Step 48: Declare the variable “Months” in the “Input” Property of “Type Into”
activity.
Step 49: Drag the “Sequence” activity from the activity panel and drop it in
the Sequence – ‘Enter Date of Birth (Date, Month, Year)’ workflow.
Step 50: Name the “Sequence” activity as Sequence – ‘Year.
Step by Step process:
Step 61: Name the “Click” activity as Click – ‘Click on the calculate button to
show the zodiac dashboard web screen.’
Step 62: Drag the “Get Value” activity from the activity panel and drop it in
the “Sequence” workflow.
Step 63: Name the “Get Value” activity as Get Value – ‘Get the Sun Sign.’
Step 64: Declare the variable “Sun sign” in the “Output” Property of “Get
Value” activity.
Step 65: Drag the “Message Box” activity from the activity panel and drop it in
the “Sequence” workflow.
Step 66: Name the “Message Box” activity as Message Box - 'To print Zodiac
sun sign on screen.'
Step 67: Drag the “Message Box” activity from the activity panel and drop it in
the “Else” workflow of If – ‘Sun sign finder exists, enter values else print
message’ activity.
Step 68: Declare the variable "Sun Sign couldn't be generated, Page not
Found" in the “Input” Property of “Message box” activity.
3…2…1… GO!
Get current time in Bucharest
(optional homework)
Objective: Get the current time in Bucharest (or another
region of your choice) using Google search (“Bucharest
current time”)