Site Loader
UiPath Tutorial For Beginners | RPA Tutorial For Beginners | UiPath Training Online | Edureka


Hey guys, this
is Hemant from Edureka. Welcome to this session
on Uipath Tutorial. Today in this session we are going to get an overview of the UiPath tools. So without wasting any time, let’s move on to the agenda to see
what I will be covering in today’s session. So we’ll start today’s session by first discussing what is RPA and what are the different tools which are used to implement this technology. After that, I’m going to teach you guys how you can install the UiPath Studio on your computer. And then discuss different project types that are offered by
UiPath and how to choose between them. After that we are going to cover all the UiPath components which are available in the tool. And towards the end we’ll be doing a hands on wherein we’ll be using all the knowledge that we’ll be gaining towards the session. Alright? So guys, this is our agenda for today, I hope it’s clear to you. Let’s start on with our first topic of today’s session, which is, what is RPA? So, what is RPA? So RPA, as you know, it’s an acronym for Robotic Process Automation. What do these three terms mean? Let’s understand them one by one. Now, robotic means any entity which tries to mimic human actions, right? So any entity which
can mimic human actions and do complex tasks is known as robotic. Then comes process, so any sequence of steps that can lead
to a meaningful activity is know as a process. So it could be a process
of switching on lights. It could be a process of
making your favorite dish. It could be the process
of making tea, right? So if you take the example of tea, basically you just put water, then you put tea leaves and then you put milk. So all these three steps lead to the making of tea, hence
it becomes a process. Alright? So this is what a process is, and then there’s automation. So automation basically means doing a task without human intervention. So if an entity does a task
without human intervention that entity is said to
be automated, right? So let’s conclude what we just said. So robotic means mimicking human behavior to do a particular task that is processed without human intervention, right? So that is termed as RPA. Moving on guys. We now know what RPA basically means, now let’s see how we can implement the RPA technology on your computer. So you can implement the RPA technology using the leading tools which are available in the market. So there are a lot of tools guys which are available in the RPA sphere, but the leading three tools which are available right now are UiPath, Blueprism and Automation Anywhere, alright? So we’ll be taking our session forward with the UiPath tools, but let’s see why are we not using Blueprison or why are we not using
Automation Anywhere, alright? So if you talk about Blueprism guys, so Blueprism does not
have any trial version. If you want to try
Blueprism or if you want to use Blueprism, the only way you can do that is by buying it, alright? Or by requesting the
company, in rare cases they might offer you a trial version if they think you are
going to buy it, right? And then comes the tool
called Automation Anywhere, wherein you do get a trial version but that trial version is only
limited to 50 tasks, alright? So if you want to
practice RPA, if you want to learn RPA, these are not the two tools that you want to be learning on because they don’t offer a
viable trial version, right? But if you talk about UiPath guys, so these guys have been very generous by offering a community edition wherein you can practice the RPA technology and implement it, right? And if you feel you want to implement it at a business level, you can go ahead and buy the licenses as well, alright? So that is the reason guys we’ll be using the UiPath tools today, so that you guys can also practice as your
end as well, alright? So for you to practice
guys, the first thing that you have to do is
install UiPath Studio on your system. So for doing that, you first have to go to this particular link that is uipath.com/community. So once you go to this particular link let me quickly show you. This is the website that
you’ll be getting, alright? So scroll down and click on “Get community edition”. So once you click on
“Get community edition” you’ll be prompted with this screen wherein you have to enter all your details and your email ID, alright? So once you fill in all your details, click on “Request community edition” and you will reach this page which basically acknowledges that you have requested the UiPath
Studio, and your download will begin in some moments, right? If it doesn’t begin,
just click here on this particular part and it will start to download manually, alright? So once your file has been manually just double click on it to execute it and once it gets executed, this is the screen that you’ll be seeing. Now guys, there are no… In installing UiPath, so it’ll get installed in like one or two minutes and once it does, you’ll be promoted with this screen, wherein you have to enter the same details as you entered on your registered page. So if we talk about this page, all you have to enter
is your email address, the device ID will be
entered automatically so you don’t have to touch that, and simply click on “Activate”, right? So once your tool is installed it will show you the screen which acknowledges that UiPath Studio has been successfully install on your system, and then you can go ahead and use the
UiPath Studio, alright? So let’s go ahead and get started with the UiPath Studio now. So once you have your tool installed when you will open your UiPath Studio, this is how it will look like, alright? You will be promoted with this screen wherein you have to choose
a project of your choice. Now, how will you choose a project is something which we’ll discuss now. But before that, there
are two key concepts that you should understand whenever you’re working with UiPath. Alright, what are these two key concepts? So first you should understand what is an activity, and then you should understand what is a sequence. So what is an activity? Any small task that you
do in the UiPath Studio or during automation is known
as an activity, alright? So it could be, for example, clicking the left button of a mouse, or pressing a key on your keyboard. Right so small tasks like these are termed as activities, alright? So the other examples for this could be clicking the close button, or copying the text from somewhere, or pasting the text from the clipboard, alright? So all this are called activities. Now, when you combine activities they lead to a meaningful task. For example, if you want to shut down the computer, you first have to click on start, and then you
click on the shutdown button and your computer will then execute the shutdown command, alright? So, when you combine these activities that lead to a meaningful task, these activities are then
termed as a sequence. So, to achieve the event, you combine these activities and this combination is known as a sequence, alright? So these are the two key concepts that you have to remember whenever you are using UiPath because these terms will be used a lot when you’re working with UiPath, alright? Alright. So we are clear with what are activities, we’re clear with what is sequence. Now let’s go ahead and discuss the type of projects that you
have in UiPath Studio. So like I said guys, these are the four type of projects which
are available to you. You have a blank project. You have the simple process, then you have agent process improvement,
and then you have transactional business process. So let’s discuss each
one of these, alright? So, let’s talk about
the blank project first. So guys, this is the screen
for your blank project, this is how your blank
project actually looks like, and as the name suggests,
it is a clean slate. It has nothing in it,
there are no templates, there are nothing predefined
in your workspace. You have to define everything
from scratch, alright? So whenever you need anything from scratch you can use the blank project, or you’re working with a new project you can use the blank project for that particular use case. Then comes the project
called “Simple process” which is basically a template
for a flow chart, alright? So, why would you need a flow chart, or why would you need this template is because of something like this. So whenever there’s a use case wherein particular input can lead to two different kind of sequences, or two different kind of activities, or two different kind of tasks, you use a flow chart. For example, as you can see, you have true and false over here, right? So if it’s true, you do
this particular thing, if it’s false, you do this
particular thing, right? For example, when you log in, if you’re the administrator, say, you can send an email to any person, right? If you’re not the administrator, you can only access your desktop, alright? So these are two different things which are available on a single input that is logging in, and for that, you use a flow chart, alright? For these particular tasks,
you use a flow chart. Moving on guys, the third kind of project is called “Agent process improvement” which is, basically, to assist any user who is working on a system. For example, if you
are working on a system and if you want to copy a particular task, one way to do that would
be to right click it and click on copy, right? The other way to do it would be to select the particular icon and press control C, that automatically copies your file into
the clipboard, right? So that is a short cut. So if you wanted to
define your own short cut which employs automation technologies you can use the agent process improvement. Now, as you can see in the screenshot guys you can actually configure a trigger or a key press trigger that you want to configure, on which it will do a particular set of tasks. For example, if you want to define your own trigger, it could be C control T, and every time you press control T together, you want your system to go to Google and check
the time for Chicago, copy it inside clipboard,
and keep it there. So whenever you’re pressing control T now, and whenever you go to some other place and paste it, you will basically get the Chicago time on it’s own. You don’t have to Google
it and find out the time, that is happening automatically at the background side, right? So this is what agent
process improvement is. Now, obviously you can configure it to have much more complex tasks, but whenever your project is something like this that you want to assist the user who is working on the system, you will us agent process
improvement, alright? The fourth kind of project is called transactional business process. Now, what is a transactional
business process? So basically, projects
which include states. Whenever you want to have
states in your program, you use this particular project. Now, what are states, guys? So let me give you an example. Whenever you start your computer, you see the starting
Windows screen, right? So that starting Windows
screen stays there until, unless, every
process that is required for you operating system to run is loaded into the memory, right? So once all the programs are loaded into the memory, it moves
from the starting state to the execution state, wherein you work on your computer, right? And once you’re done with your work, you click on shutdown and then move from the execution state
to the shut down state, wherein it first kills all the processes, until it kills all the processes, you see that shutdown
icon, wherein it says “Shutting down”, right? So that is a state. So you discuss three states there, firstly the starting Windows state, the execution state, and
then the shutting down state. So whenever in your program you don’t want to move to the next state until, unless, all the tasks have been completed in the previous state, you use the transactional business process. Now, it is very important kind of project whenever you’re dealing
with complex tasks, right? So whenever you’re
dealing with complex tasks in which each and every step is important and you can not Google the second step without executing the first step, you use transactional
business processes, alright? So these are the four kind of projects and don’t worry guys, we will be discussing each one of these projects in the further modules. But for now let’s start
with the first project which is the blank project, and let’s try to create our first own project, alright? So before creating your own project, let’s understand the components that are available in
the UiPath too, alright? So if you go to your UiPath Studio, this is the screen that you see, alright? Now, if I choose the blank project I’ll be asked to enter the name for it and then I’ll click “Create” and a new project will be created for me. So I’ve already created a project, this is a blank project for me guys. Now, when you reach this screen guys you will see different kind of tools that you have on the top. You have the ribbon, this
is called the ribbon, wherein you have all the recording tools and then the screen scraping,
data scraping, et cetera. What are these, we’ll discuss in a moment. On the left side you
have the activity pane, so these are basically the small tasks that I was talking about. You can go to each and every task and just, all you have to do is drag and drop it here in the workplace and configure it so that it works according to your requirement. Great. In every activity that
you drag and drop here and every configuration for that can be handled inside the properties pane. For example, you drag and
drop and activity here so all the properties for it can be configured over here on
the right side, right? And if you see the downward
section of the UiPath tool, it has variables, arguments and imports. So basically, this is the area wherein you will be creating
variables, deleting variables, or managing them by assigning them values. You’ll also be dealing with arguments, and you’ll also be dealing with imports. Now, what are arguments? What are variables? Don’t worry we’ll be
discussing each one of them. But for now, these are
the different components, or these are the different places that you need to know about
in UiPath Studio, alright? Now, let’s discuss each of these places in UiPath Studio one by one. So, let’s jump to the first component that is the ribbon, alright? So, in the ribbon you basically have four functions that are very useful. So those four functions are recordings, scraping, user events
and variables, alright? So let’s discuss them one by one. Now, what is recording? So, one way, like I said, one way of telling your computer what to do is by dragging and dropping activities in your workplace, and telling them to do this and then do that,
and then do this, right? So this could be tiresome if you are creating a very large application, right? So, if you want to lesson your time by dragging and dropping and configuring each and every of the
activity, what you can do is you can record each and every step that you want to do and let the computer mimic it on it’s own. So, what I mean by that is, you will hit record and then you will do exactly what you want your computer to do, and it will mimic each and every action and do the same every time you
execute the program, alright? So it is quite interesting tool and let me show you a demo how you can use this tool in your computer. So, let me jump to my tool and let me click on recording. So once you click on recording, these are the four options that you get, alright? So I’ll be selecting the desktop recorder and what I’ll be doing
is, I’ll be recording the calculator, right? So let me quickly do that. Let me go here and click on record. So, the recording has started. Now it’ll record each and every
movement that I do, alright? So first, I’ll go to start
and I’ll click on start and then I will click on calculator. So once I’ve clicked on calculator, let’s do some calculations. Let’s calculate a value,
let’s say 5 plus 23, right? Once you have entered these values, you click on equal to, you
have calculated the value. Now let’s copy the
result in the clipboard. So you’ll click on edit, right? Just ignore this warning, and
you will click on copy, right? So this basically copies the
result inside of clipboard. Once it has done that, let me quickly click on start again, and
let me launch the notepad, and let me paste the value of it here. So I’ll paste the value of it like this and then I want to type something, so I’ll just click here
and I will press enter. So for pressing enter,
you actually have to select it manually from here, and then once you’ve pressed enter, you can enter the text that you want to enter. So let me enter the text,
something like this. This is the value which
has been calculated by the recorder, alright? So this is the value that I want to type inside the notepad. Let’s hit enter now, alright. So, seems like everything
has been recorded until now. Now, what I’ll do is I will close notepad, and then I will close
calculator, and that is it. I’ll stop recording by
hitting escape, alright? So I will be prompted
with this screen again, I’ll hit save and exit, and this is it. As you can see, it has created
all the elements by itself. It has gathered all the activities that are required to do
this particular task, and it has populated it inside
this workplace, alright? Seems fine. Now, let’s quickly run
it and see if everything is running fine. So we’ll hit “Run” and now each and every sequence will happen on it’s own. As you can see, it is calculating it, copying it, then going
to notepad, pasting it, and then typing what we just typed it. Closing it and it’s done. Once it is done, it’ll return back to the screen where it started. Alright, so this is how you record something on your computer,
and then execute it. Now, let us come back to the slides and move on to the next component, which is scraping. Alright guys, so let’s
move on to the next tool which is called scraping. Now, what is scraping? Scraping basically means
when you are trying to extract information. Whenever you’re trying
to scrape something, that means extracting something, it is called scraping. Alright so when you talk
about screen scraping or data scraping, we are basically trying to extract data out of the screen that we have on the computer, alright? So there are two types of scraping which are available. One is called the screen scraping and one is called web scraping, right? So web scraping basically
deals with websites, whenever you want to
extract data out of websites it’s called web scraping. Whenever you want to extract data out of desktop applications, or out of places wherein you don’t have a structure defined and everything, you
use screen scraping, alright? So web scraping part is only possible whenever you have a structure
defined in your website, so that it can iterate on itself. But whenever you don’t
have a structure defined you use screen scraping, alright? So this was about scraping guys, then you have the next
component is user events. So what are user events? Any kind of input that you give to the computer is known
as a user event, alright? So for you as a user, the only kind of events that you can do is maybe a keyboard event and a mouse event, right? So you can enter values
through your keyboard or you can enter values through your mouse by scrolling up and down. So all these kind of
activities are included inside user events. So it could be scrolling up or down, it could be clicking the left button of the mouse, or clicking the right button of the mouse. Whenever you want a robot to do any of these things, you will actually define these activities
using user events, alright? And the fourth component is
a very important component, it is known as variable. So variables are just
have the same concept as the concept is there in maths, right? So the value inside a variable vary. That’s how the name is
called variable, alright? So whenever you want to change a value or whenever you think the value of a particular thing is going to change over the process of the
flow of your program, you include it inside a variable, alright? Whenever you want to pass your value to some other component of your program, you use a variable. So variables are very important and how they’re used, why are they used, it’ll be clear to you when we are doing the hands on part today, alright? So these are the four important components that are there on the ribbon guys. The ribbon component of UiPath. There is one more
component which is called selectors which is, again,
very, very important but because of the length of the theory which is involving
selectors, I’ve including the selectors part in another session. But for today, we are
discussing these four components which are there in the ribbon. Also, you have one more
thing called “New”, right? So whenever you will click on “New” you can create a new
file inside your project. And guys, you can create as many files as you want inside your project. Now you might be wondering why
do you create files, right? So when you create a
project, the first file that you get is the main file, right? So the main file is
where your main program is resting, alright? So it’s like, you can create
a whole of your project inside one single file as well, but that is something which is not recommended when you’re doing it on a business level, or when you’re following the best practices, alright? So whenever you have a
big program, a big program that you want to create, you always try to break it into parts so that it becomes easier to debug when you’re developing it. Also, it becomes easier to
debug when you’re trying to upgrade any part of
your program, alright? So for that very reason, you tend to break your program into parts, and that breaking of program into parts is
what “Files” is, alright? So each part of your program can be included inside one file, and that file can be called as a function inside the main program, alright? So we’ll be doing this longer sessions, I’ll teach you guys how you can actually call them as functions, but because today we have an introductory
session, we don’t need the concept of functions
and everything, alright? So all you need to know over here is by clicking on “New” you can define a new type of file. Now what kind of files you can actually create something like this. So if you click on “New”, you have these three file options
that you can create. You can create a sequence file, it’s nothing but a blank project. You can create a flow chart file which is, again, have a
template of a flow chart, and then you can create
a state machine file which will have the
template of a state machine, that are nothing but transaction business processes project, right? That we discussed in the
beginning of the session, alright? So this was about the new file guys. So we’ll be using this
along the way but not today. Let’s move forward and discuss the next component in our list,
which is the activity pane. Now, this activity pane
guys is the main thing in UiPath, right? Using activities you do
sequences, you create processes which actually
lead to a project, alright? So you create different processes using which the final outcome that you get is the activity or the task
you actually want to do using automation, alright? So all the activities are listed inside activity pane, all you have to do is drag and drop activities
inside the workplace. So the workplace is the place wherein you’ll be designing your program, alright? So you can drag and drop the activities and that is it. You don’t have to code anything. You don’t have to learn coding. You don’t have to include variables or import libraries, all
of that is not required. All what is required in this is simply a drag and drop of the
component that you want to include in your program, alright? So since we are talking about this guys, I would like to clear one thing, that you don’t require coding experience or you don’t require coding
when you’re working with RPA. So even if you’re from a non-programming background, you can easily learn all the RPA tools which are there in the market, be it
UiPath, be is Blueprism, be it Automation Anywhere,
be it any other tool for that matter, alright? You can create projects
which are complex as hell. You can create projects which are simple. You can create projects
at a business level. You don’t require coding, alright? All you require is a drag and drop and a good logic behind your project, that is it, alright? So, let’s start with the activities, let’s get an overview of all the domains which are there in the activities. So guys, these are the
domains that are there that are basically seven
domains in activities and each of these domains have
several activities in them, alright? So, the first domain is
the UI Automation domain. Now, what is the UI Automation domain? It will basically include all the elements of the user interface. For example, let me go to my tool and I’ll tell you what I mean. So, for example, this is the domain that I want to explore, alright? So inside this domain, as you can see, you have element, you have text, you have OCR, image, browser, window. So whenever you want to do something with your mouse, for
example click something or double click something
or hold on something, you can use the mouse
part of UI Automation. If you want to do something
with the keyboard, send hard key or type into, you can use the keyboard part of your UI Automation. Same is the case with control. So control basically would include get text, if you want
to highlight something, select some item in the user
interface, et cetera, right? You can also find something
on the user screen and stuff like that. So whenever you want to do
these kind of activities, you can refer to the element aspect in the UI Automation. Whenever you want to do
something with the image, for example, you want to click on a particular image, wherever
it be on the screen, you can use the image
domain inside UI Automation. If you want to extract
text out of an image you can use the OCR domain
inside of the UI Automation. So all of these are of a level and are UI Automation and
they are at your disposal. And all you have to do is know them and do a simple drag drop
and they’re available at your service, right? It’s that simple. Then comes the user events, so user events basically would include triggers that you do whenever you are
working inside a program, for example when they do control C, it does copy, when you do
control V, pastes, right? So all of these are user events. You can specify them inside your program using these activities, alright? Then you have the orchestrators or orchestrator is basically used whenever you are working with,
say, multiple computers which have UiPath Studio installed on them and you have multiple
programs which are running. So you can control all these programs and all these computers with one computer using the orchestrator, right? But orchestrator is something which is not fully functional inside
the community edition, so if you buy the standard edition the UiPath Studio Standard Edition or the Pro Edition, that is the only time you can actually fully
use the orchestrator, wherein you can control
all these computers which will be connected to
your main computer, alright? Then comes the system
guys, so system basically would help you to do activities which are system related, such as copying something into your clipboard, creating a file, deleting a file, opening
the command prompt, all these kind of tasks
which are system related can be done under the system
domain in activities, alright? Then you have the programming domain which basically includes
the programming concept such as try catch, which basically helps you in edit handling. You can include programming concepts like If L’s, like if conditions
do this, L’s do that, right? So you don’t have to code anything, they are all available
in terms of activities, you just drag and drop
them, and then they’re very easy to use, alright? And then you have work flows guys. So work flows are basically activities that are there inside flow charts, whenever you wanted to take a decision because of a particular input. You can use elements inside the workflow whenever you want your application to recover gracefully out of a system exception or something like that. You can use the workflow
activities, and yeah. These were all the
activities that are there in your UiPath Studio, guys. There are endless activities
which are available, and on top of that, if you need more activities, you can actually download them from the UiPath activity pane, alright? So if you want to find an activity which is not available, you can always search it online and
you’ll be able to find some of the activities that you want. For example, if you talk about email, the email module is not actually present inside UiPath Studio stock. So if you want to use the email activity that we’ll be using
today, basically you can download it by simply going into your tool and clicking on “Search”, right? You will type in “Email” so for now email is already there inside my tool, right? But if it’s not there,
for example if I’ve typed email, there’s nothing there, right? So I will click on “No results found, search
available packages” and it’ll search it online, right? It’s that simple. Once you find your package over here, you can click on it and install it. So basically, if it’s not finding email, it’s just because it’s
called “Mail activities”. So if I type in “Mail” and hit enter, these are all the activities which are related to the mail, alright? So you’ll type in “Mail”,
nothing will appear, you’ll just click on
“Search available packages”, it’ll search it online and
then you can install it. It’s that simple, alright? So this was it guys, this
was about the activity pane. Now, let’s move on to the properties pane, which is again an important
panel inside UiPath. So whenever you create an element, for example if I drag and drop, say, this particular activity which says “Send SMTP mail message”,
all the properties related to it, I’ll find
it on the right side. For example, the port number, I have to configure the port number where my email server is available, right? And then the server address,
I have to configure. All of that I can configure
here in the properties pane. So this is the reason
this is very important. So basically, most of your time would be spent over here where
you’ll be configuring your activities, properties,
to be correct, alright? And whenever you have
an error in your program creation, you can see that there are using this exclamation mark on
the top right corner, right? So this blue exclamation
mark means that something is wrong inside your program, alright? It could be an activity which is inside this particular activity. It could be a problem with this activity, you have to figure that
out, and I’ll tell you how you can do that when I’ll be creating the hands on part today, alright? So, I think that is it guys, let me come back to my slide. Alright. So we’ve discussed the properties pane. Let’s move on to the control bar now. So when you talk about
the control bar guys, you have variables, you have
arguments, you have imports. So you can create variables using the control bar like this. You can click on control bar, right? And you can maximize it like this. And whenever you have an activity listed you can create variables inside that particular activity, right? Then you have arguments, so arguments are basically used when you are working with multiple files. For example, if you
are using the main file and you want to call a sequence that you defined in some other file. So that file should
have all it’s variables defined under “Arguments”
because arguments are something which you
can pass on to other files. Alright, you cannot pass on your variables to other files because variables have their life only inside the specific activity or the specific sequence that you have defined it in, right? It is not valid across files. So when you are working with programs or with sequences which are there beyond one file, you
use arguments, alright? How do we use them? What are they exactly? We’ll be discussing that, don’t worry. So we’ll be covering everything. And then we have imports, so imports not something that you
should be concerned with but these are all the activities that are, by default, imported whenever you tried to create your program, alright? So, that is it. This was the control bar, and then yeah. So this was the basic overview about the UiPath tool, and I
think this information is sufficient enough to make you create your own program
in UiPath Studio, alright? So before moving on to the actual project, let us quickly create a small project in UiPath, which will basically greet you with your name so that it becomes easier for you to relate what
I just told you, okay? So say I want to create a program, or I want to create an automation which will basically
greet me by saying “Hey” and then whatever name that
I’ve specified, alright? The way to do that would be to first drag and drop a sequence, alright? So inside the sequence we’ll
be specifying everything. Now the first thing that I want my program to ask me is my name, right? So for that I will search an activity called “Input dialogue”, right? I’ll drag and drop it here, very simple. Now, what do I want the
title of my dialogue to be? Lets type in “Enter details”, alright? Now, one more thing guys, every text that you’re entering
inside the UiPath Studio should be inside quotes. Only when you are using variables or only when you’re using numbers is when you’ll not be
using the quotes, alright? So since enter details is a statement, it’s a string, we’ll be
putting it inside quotes. And what should be the label of the input? Or what should the label ask me? So it should ask me “What is your name?” Right? So once it asks my name, I want it to display me a message box stating “Hi” and then the name
that I’ve specified. So, what is the name
that I want it to say? Say, I want it to say “Hey” space, and then my name, right? So how will it get my name? Let me quickly show you how this thing particularly works, alright? So this will basically clear
the doubt about variables. So when I run this particular program, I get this screen wherein the title of this input I like
to say is enter details and it has asked me “What
is your name?”, right? So I specify my name is,
say, “Hemant”, right? And I’ll click on okay. The moment I click on okay, since I’ve not specified anything further,
this program will close. But you might be wondering, or maybe you should think of this way, that when I’m entering Hemant,
this should get stored somewhere, right? So this is where you will
require variables, right? So if I press okay right now, my name will not get stored
anywhere, but if I want my name to be stored
anywhere, I’ll have to click on “Input dialog” and over here you can see there’s an option
called “Output”, alright? And inside that, there is
a thing called “Result”. So where is the result being stored? It is being stored nowhere. So what I’ll do is, I’ll create a variable over here which says “Name”, alright? And I’ll click on this activity that is “Input dialog”, and I’ll specify that store the result
in the name variable. So when I type “N” you can see it already specifies me that this is the variable which starts with “N”, alright? So I’ll hit enter, it’ll
auto-complete it, and done. Now my name will be stored
inside the name variable. Alright, so now I want the computer to greet me as my name, right? So I’ll drag and drop the
message box now, alright? And now I’ll specify to say
“Hey” space and then my name. So my name is inside the variable, right? So whenever you want to
join variables and string, you will do something like this. So first you will specify your string then you will outside the quote, you will specify plus, and
then the variable name, that is name, alright? And that is it. So, as you can see, the
exclamations have gone. So once you want to check whether your program has errors
or not, you just click outside of the sequence and it’ll check whether everything is okay. So right now everything is fine, that is why I don’t have any errors. So let’s run this program
now, I’ll click on “Run”. So it is asking me, what is your name? So I’ll specify it’s Hemant, right? And I’ll click on “Okay”, and it says “Hey Hemant”. So congratulations, this is your first program in UiPath. This is the simplest thing that you can do in UiPath and we have done it, right? Now, let’s move on to something bigger, something that you guys might like, right? So let’s move on to the hands on part. So let’s see what is
our problem statement. So our program statement
is something like this. That we want to automate the task of copying data from a website, alright? And the data that we copy, we want it to be copied to our exit sheet, and that exit sheet should
then be mailed to us. This should happened
automatically, alright? So, also we have to specify the number of details or the number of entries that we want in the excel file. Okay, so let me clear you by showing you the website that we’re going
to extract the data from. Okay, so the website is this. So this website, basically, generates fake names and addresses, right? So what we want to do is, we want to get 50 fake names, for example, alright? So if you want to get 50 fake names, and we didn’t have RPA in the picture, how would you do it? The way to do that would be to copy each and every entry and paste it inside your excel file, right? So, let me tell you what I exactly mean. So, this is the flow chart
of what you have to do today. So first you will go to the website which you already went to. You will copy the details and you will store it inside a row in excel, right? And we will keep on doing it, until unless we are done with the numbers of the records that we
want inside excel file. For example, I want 50 names to be there in the excel files. So I have to do this process 50 times before saving the excel
file and mailing it to the person who needs it, right? Sounds daunting, right? Sounds very repetitive,
sounds very boring, and sounds a lot of work as well, right? But don’t worry, we won’t be doing that, but let me quickly show you, if I were to do that manually, how would I do it? Alright, if I were to do this, I would first open an excel sheet, right? So this is the excel sheet. Now, first I would specify what are the things that I want from my file. So I want the name, I
want the phone number, and then I want the birthday
for that particular person. Alright? Sound simple? So these are three records
that I want for 50 people. So, let’s see what will we be doing. So first, I have to copy the name, I’ll copy it, pasting it here. Then I have to copy the
phone number which is here. And then I have to copy the
birthday, which is here. Alright? Now, when I’m doing this, this is just for one record and I have
to do it for 50 more people. So it’s a very big task, right? And once I’m done with 50 people, only then I’ll be closing
it and then mailing it to the person who needs it. So let’s see how we can
automate this task, right? Let’s close this for now,
and go to our UiPath tool. So the first thing that we have to do is go to the website. So we have to tell our RPA to go to that particular website. So let’s see how we can tell RPA to go to that website. So first, we’ll be dragging and dropping the sequence, like we did before. Alright, so this is the sequence, let me drag and drop it here. Now, I want to open the browser and go to that particular site, right? So let me open the browser, alright. Now, I want to go to that particular URL, so like I said, any text that he entered has to be there inside the quote, so let’s copy the website name. So this is it, let’s copy it here. Alright. So now, it’ll go to
this particular website. Let’s check if this is working. Also guys, when you are specifying open browser, you have to specify the kind of browser you
want to get opened in. So, you can specify that in the properties section, in the browser type, I want to get it as Chrome, right? I’ve specified it Chrome. And let’s run the sequence now. So, it’ll open Chrome, and it
opened that website, right? You can check it here,
it opened that website and then returned to the tool. So whenever it does
the task, it comes back to the tool, alright? Done. So, it is going to that website. Now we want to tell our program to copy the things that are there in that file. And it has to do that repeatedly, right? So, first it should know how many records I want, right? So first it should ask me the number of records that I want. So let me put in a message box, or a dialogue box which will ask me the number of records that I want to get from that particular website, right? So same as we did in the previous example. Enter details and enter
the number of customers. Good. So, it’ll ask me this and it’ll store it inside, say, a variable
called “Number”, alright? And I’ll specify it in the
result part, that is here. We’ve discussed this already, right? We created the previous one. So now, whatever input
I’m gonna enter here it is going to store it
inside the number variable. Alright, sounds fine until there. After that, it’ll go to
this particular website and it’ll do something. Now, what it’ll do? It has to do something
repeatedly, alright? So, let us go to my PBD. So, it went to the website, now it has to copy the details, enter the details inside a row, and again
come back until I have this specified number of records, alright? So, we want a loop here because we have to do something repeatedly. So what I’ll do is, I’ll use
a loop called “Do while”, which is this. I’ll drag and drop it here. Now, there are two aspects of this loop. One is the condition, and
then you have the body. Body is something that you will be doing inside the loop, and condition is something which will be checked every time it goes
inside the body, alright? So at every iteration, it’ll
be going inside the body, and before that it’ll be checking whether the condition is true or not. So what we want to check is whether the number of records that were entered in the excel file are matching the number of records that we want or not. If it is matching,
it’ll close the program. If it is not matching, it’ll fetch one more name from over there and then paste it inside excel. Alright? So all we have is this number,
which is number, right? And we want something which will be lesser than this number, but will also increment every time the
iteration happens, right? So let us declare one more
variable, and call it “Val”. Alright and declare it as type integer, which basically means this will be a number that we are creating and this number will be compared with this variable. Val will be measured against number and if val is not equal to number, or val is lesser than the number, it’ll keep on executing the loop. Alright? So let’s define the value for something so let’s define the
value as zero, alright? So, val is zero, as of now, and we want to see the condition is, val should be less than number. Now guys, once you’ve entered this, it’ll give you an error. Why? Because val is basically an integer and an integer is being
compared to a string which is not possible, right? You cannot compare a
number with a sentence. For example, you cannot compare 52 with hello, how’re you doing? Alright? So that is why this error is coming because we have defined
number to be a string, right? If you defined it to be a number, then this error might not happen there. So, we have to convert this into a number and the way to convert
this, it is like this. So we specify Cint, which basically means convert it into an integer, and then compare it with val. So if val is less than the value of number, the string
value, or the integer value, then do something, alright? Now, also guys you have to take care that if I’m creating a
variable inside “Do while”, it’ll not be valid throughout
the program, alright? It’ll be only valid inside
this particular container. So if I want my variable to be valid throughout the program, I have to declare it as the container level. So if I declare it at the sequence level, as you can see, scope is something where the variable is valid, alright? So if I create a variable which is valid at the sequence
level, it’ll be valid throughout the program, or it’ll be valid in all the containers which are inside this particular container, which is yellow right now, which is sequence. If I specify it inside “Do while” which is over here, it’ll be only valid inside the containers which will be inside “Do”, and so forth, alright? So you have to be very careful where your variable is actually valid. So I want my variable to be valid through the program, and that is why I have declared it as the
scope level of sequence. Cool. So now, I have configured my loop to check the conditions, whether my value is less than C integer or not. C integer or number or not. Now, if it is less than that value, the first thing that I want to do is increment the value of
val by one, alright? So how can I do that? I can do that by an
activity called assign. I’ll drag and drop it here. Now, I want val to be val plus one every time it enters the loop, right? So if the value is zero over here and it checked the condition, and it is executing the loop, it’ll be one now. If it’s one, it’ll get inside
it with two now, alright? So this has to be done so that this value continuously increases so that it can match against this number, alright? So, every time you’ll be entering inside the loop, one entry will be added inside the row, alright? And we only want, say five entries, so this number will be five. So, once we enter a value, enter one row, the value will become one. Second time we enter it, the value of val becomes two, and so on. So we want it ’til the
number becomes five. And once it becomes five,
it’ll no longer execute. So this is what we’re trying to do. So we have assigned the value of variable to be val plus one. The next thing that we want to do is, we want to extract the
information from the website. Right, so for doing
that, there’s an activity called “Get full text”, alright? So we will drag and drop it here, that is after your assign, right? And then what text do we want to get? So we will click on it, and
this is the browser, right? So we will click here and we will specify what do we want to get. So I want to get the name now. So I’ll select name, and done,
it’ll get the name, right? From the website. Now, I want to specify where this name is being stored, so the output has to be stored in a name variable. So I’ll specify name over here, right? And I’ll create the variable name here, with the variable type
string, and that is it. So if I click here. Alright so once you
have created a variable called “Name” you just have to go inside the properties and in the output panel you have to specify the name
of that variable, alright? So once you’ve specified that, we want to get the phone number next. So after this, we’ll again go here, drag and drop it and then click on “Indicate element
inside browser”, alright? So let me click on “Indicate
element inside browser” and then I will go on and click on the phone number, which is here. Alright, so it has got the phone number but where does it store it? It has not stored it
anywhere, so I’ll specify phone here, which is basically
the variable name, right? And then in the text, I
will specify phone, alright? Okay. So this stores extracted value inside the phone variable. Then I want to get the birthday, right? So I will create one more
variable called birthday, right? And then drag and drop
one more “Get full text” and get the birthday
over here, which is this. Alright. So I’ve got the birth
date, again, I have to specify it using a variable. So this is birthday. Hit okay, and then done. Alright, so my value will now be stored inside birthday, and that is it guys. So birthday has been stored inside the variable, the phone number has been stored inside the variable,
and so has the name. Now, the next thing is, I want to get it inside the excel row,
if you guys remember. Now, for getting it inside the excel row, I have to first create a data structure called “Data table”. Now how will I create a data table? It’s something like this. Go to my activity, I will
search for data table, right? So it says “Build data table”, so I will drop it here, right? So I want it to build a data table and the data table, I’ll put in a variable called “Extract
data table”, right? And this data table has to be defined in the variables as well, so let’s define this variable. Extract data table, right? And type of that variable would be system.data which is this, and inside this it would be data table, right? So this is the thing that we want. We’ll hit okay, and we have successfully created a variable called
“Extract data table” which is basically a table, inside which you will be creating rows, right? So, we have defined the data table here and defined where the
output for that should be. Alright, so we have defined the table. Now this table will be created first, and then this table will be written to an excel file, alright? So we cannot time and again write to an excel file because that would do a lot of processing, and our computer may become over burdened because of that, because every time it has
to open the excel file, paste it there and then come back, right? So it’s better to store it
inside a variable first, and that variable is nothing but a table kind of variable. And inside that table, we’ll be entering all the details, and then at once we’ll be writing all of that variable inside the excel file and
then saving it, alright? So we have created the data table. Now, what we want to do is enter a row inside this data table. So let’s see how we can do that. So there will be an
activity called “Add row”. Add data row, okay? So, what we’ll do now is we will drag and drop it after we have created all the variables, alright? So now I want to add a row with my name, my phone number and my birthday. So let’s see how we can do that. So over here I will
specify called the braces, which basically means an array, right? And I will specify the variables that I’ve just created that is name, phone and birthday, alright? And hit okay. So with this, my aray has been completed. So as you can see, it is
giving me an error, okay. So it is not… I’ve not told it yet, to which table is should write this row to, alright. So that table will be specified over here and I’ll just write “E” and it’ll get the table automatically. Let’s hit enter, and the error has gone. Alright, so in this
loop at every iteration, a row will be added, and after a row has been added, we have
to refresh the page so that a new record comes in, alright? So how will be refresh the page? Now, for refreshing the page, if you go to your browser, the way to do that would be to click refresh over here, or to click “Generate” over here. So if you hit “Generate”
a new name comes in. Alright? So it’s easier to click
generate, so let us do that. Let us specify a click over here. So we will search for an
activity called “Click”, here it is, and we will
drag and drop it here. And let’s specify where
do we want to click. So, I want to click here. That specify it, and we’re done, right? So now, it will click every time it has added a row into
the variable for our table. Alright? So once it enters the value, and once it stores the value inside the variable, it’ll hit generate and that’ll basically refresh the page. It’ll come out, it’ll again check the condition that is, is it less than the number that we have specified. If it’s less than the number, it’ll, again, do all this process, with a new name, a new number, and a new birth date, alright? Seems fine, right? Seems fine ’til here. So let’s see if you have missed out something, if you have done everything. So it’ll go to the website, it’ll copy the details, it’ll enter
the details in a row and repeat it ’til it reaches a number that we have specified. Once it has reached a
number it has specified it’ll go ahead again and save it in the excel file, so let’s see how we will save it in the excel file. So now, I want to write the variable inside the excel file. For that, I will specify
an activity called “Write CSV”, which is this. I’ll drag it and drop it here, alright? And I’ll specify the file part of the file, of the excel
that I want to create, right? I’ll just click on browse, and let’s name the file as extract, right? And hit on save. So this will save it inside a CSV file. Now, which table would be
the source of this file? The table is extract data table. You might be wondering why am I specifying it here? Because after my loop is complete my variable will have all the details of all the numbers of the rows which are there. And only after the loop, it should actually write this CSV file. That is why we are creating it here after the loop, alright? And we have to be very careful when we specifying this “Write CSV”. Okay, I think we are done,
there is nothing else left. So let’s check if this is working. Alright, let’s hit run and
let’s hope for the best. So how many number of customers do I want? Let’s see. I want 20 customers. Let’s see how it works. So I’ll hit okay, it’ll
open the browser, okay. So the input aray is longer than the number of columns in this table. Fine. So we missed out something guys. What we missed out was we
didn’t structure the table. We didn’t tell the table how many entries are there, alright? So for doing that we
will click on data table and this is basically the number of columns which are
there in the data table. So let’s specify the number of columns. We’ll add a column. The first column name
would be “Name”, right? Specify, okay. Let’s add one more column. The name of this column
would be mobile number. Alright, let’s hit okay. And let’s create one more column and name it as, say, your birthday, right? Birthday, and specify, okay. So these are the three columns which are needed. Okay let’s click okay. So we have defined the structure we missed out on this part. It’s good we got the error. And now let’s run it. So now it shouldn’t give any error. Enter the number of customers, so let it be again 23. Hit okay, open the browser. And seems to be working, it seems to be hitting generate. And let’s see if everything goes well. So as you can see, it
is happening very fast. It is basically copying at each instance and then clicking on generate. So let’s see if everything goes well. Alright, so we return to this page which means it has successfully
executed everything. Let’s check if we have a CSV file now. Alright, so we’ll go inside the UiPath and this is the project folder and we have a file name called “Extract” so let’s see if we have
something inside extract. Alright, so we do have values, we do have mobile numbers, and we do have birth dates. Alright, let’s see how many are there. So the first column
was name, so that’s why the number is 24 here. But if you minus the first row, that means we have successfully got 23 records from this particular website and we have got them stored
inside the excel file. Awesome guys. One part of our automation is done. Now the next part of our automation is to basically email
to a particular person. So first of all, it should
ask the email as well, right? So let’s specify one more input dialog which asks for our email ID. So the title should be “Email”, right? And label should be, “Please
enter the email address”. Awesome. Now it’ll store it inside a variable called “Email”, alright? So let’s click on input
dialog, and the results, let’s enter the variable “Email” and that is it, right? So we have got our email inside the email variable. Now all we have to do is send an email. So for sending an email,
the activity’s name is SMTP, right? We’ll drag and drop it here and then we’ll have to
configure everything. So whom should it be addressed to? So it should be addressed to email. The subject should be extracted data. Remember guys, quotes are very important. And the body should be
“Please find attached”. Right, let’s attach the files as well. So the file is basically… Here you have to specify the file part. Right so file part for that would be this. Right so let’s copy this
and paste it inside here. Alright. Let’s hit okay. So we’ve attached the
file, and all we have to do is configure our emails over now. Alright guys, we have configured everything here, let’s quickly go into properties and
configure everything. So the port number is 465. The server is SMTP.gmail.com. The email is [email protected] and the password for the same is this. Alright, so we have specified
everything over here. Okay guys, so I think
now it is all correct, let’s try to execute it now. So we’ll hit on run. So this is my email as you can see. So let’s enter the number
of customers that we want. Say we want it on 15
customers, and the email ID that I want to send to is this [email protected] Let’s click on okay and
let’s see what we get. Alright, so it has
stopped generating anymore and let’s complete it. Okay, let’s hope for the best and let’s check our mail. Okay, so we have got a mail from me because I’ve specified my email address. And right, so let’s download and we’ve got a file as well as an attachment. Let’s download this file and let’s check if everything is fine. So I have the names, I
have the mobile number and I have the birthdays. And there are like 16 rows which basically means I have 15 records
and congratulations guys, we have successfully created our first project in UiPath Studio. So congratulations on that. So we saved the excel file, we mailed the file to the respective contact and we are done. Alright guys, so that is it from my side, I hope you guys enjoyed this session and I hope you guys try this session on your own as well. So, what I will suggest is try this demo on your computer as well so that you get a better understanding to what we did today, right? You can refer this video again and again to see if you go wrong anywhere and if you have any doubts, you can always comment it in the comment section and we will be happy to help you, right? So guys, thank you for attending today’s session, I hope
you learned something new today. Goodbye and see you in the next session. I hope you enjoyed listening to this video. Please be kind enough to like it and you can comment any of your doubts and queries and we will reply to them at the earliest. Do look out for more
videos on our playlist and subscribe to our Edureka
channel to learn more. Happy learning.

Reynold King

67 Replies to “UiPath Tutorial For Beginners | RPA Tutorial For Beginners | UiPath Training Online | Edureka”

  1. Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For RPA Training and Certification Curriculum, Visit our Website: http://bit.ly/2Ulk1lT Use code "YOUTUBE20" to get Flat 20% off on this training.

  2. Nice presentation! This video definitely helped me learn the UI of UiPath. I have one concern though. It seems I'm encountering an error with regards to the Send SMTP Mail Message logon part. Gmail has implemented security measure preventing less secure apps to access my account. Is there a way to send email without having to login to Gmail?

  3. Thank you very much for the video, this is really fantastic video, with special attention to the last example, where you gave a beautiful example of getting data from internet and putting on to excel., this is very good example… in the current day's context. Thank you once again.

  4. When i am trying to access my gmail through smtp …….it is showing auth failure……..so i checked my mail "A suspicious app was blocked from accessing your account" so how can i acces mail through it

  5. I don't know any programming language.can i go for RPA training as a fresher to enter in IT filed.and programming language is compulsory for RPA??

  6. Thanks, Hemant. Really enjoyed the session and each topic was explained well. Thank you so much. can't wait to create my first project

  7. Thank you very much for this excellent video-tutorial. I really enjoyed listening and be very excited tp proceed with my first RPA.

  8. what are the pre requisites for rpa? can a person with no IT background do it? what are the job prospects with no experience in uk?

  9. Hi Hemant ,
    I m prabakaran from chennai.i have an doubt, Can u explain the uipath Rest APi(Web services)?. Thank u sir.

  10. Very nice training. May Lord bless you.
    Need training material for tweaking between excel and web application.

  11. Hi bro,

    I have just followed your steps. I have got all the steps without any error. But when it comes to email section, how to declare a password, I tried it by typing my email password, but it is showing some error in that. Kindly give me advice on this..

  12. Hey Hemant,
    I am a student. Please help me to install UIPath RPA community edition. I have registered as Student, Dummy company name (as the company name is mandatory) , India as country, give my gmail id as email. But didn't get any mail from UiPath for download community edition. What else should I do while registering to get download link?

  13. HI Sir ,

    I am getting below error Can you please help me with this

    An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
    MailKit.Security.AuthenticationException: AuthenticationInvalidCredentials: 5.7.8 Username and Password not accepted. Learn more at

  14. Great tutorial for beginners! Topics are divided accordingly and discussed clearly. Very well explained.

  15. Compiler error(s) encountered processing expression "birthday".Invalid L-value expression.:Reference expressions cannot end with Conversion. The provided expression's type must exactly match the type T of VisualBasicReference<T> or LambdaReference<T>. getting this error while running

Leave a Reply

Your email address will not be published. Required fields are marked *