Robotics Process Automation using UiPath (35 Blogs) Become a Certified Professional
AWS Global Infrastructure

Robotic Process Automation

Topics Covered
  • Robotics Process Automation using UiPath (35 Blogs)
SEE MORE

UiPath Recording Tutorial – Comprehensive Guide On Recording In UiPath

Last updated on Nov 26,2019 12.3K Views

8 / 15 Blog from UiPath

What is recording in UiPath? Which type of actions can be recorded in UiPath? What are the various types of recording?

I believe you must have wondered what could be the answers to these questions. Well, in this article on UiPath Recording, I am going to answer all your questions on how you can use UiPath’s recording feature to record various kinds of actions and get a hands-on experience in mastering the tool.UiPath-Logo-UiPath-Recording-Edureka

The following topics will be covered in this article:

So, lets get started folks!

What Is Recording In UiPath?Highlight elements-UiPath-Recording-Edureka

While automating business, you may often need to save few actions which can be performed automatically, right?

Well, recording is one such feature in UiPath, which will enable you to capture user’s actions on the screen and then eventually convert them into sequences. The recorded projects can be then modified as per the users need and can be used to replay-reuse them as many times as the user wants.

During recording any action all the user interface elements are highlighted to ensure that you choose the correct fields. Refer to the image towards the right.

Now, to record actions in UiPath, you have to use the Recording option in UiPath. Before I tell you the types of recording(Automatic Recorder), let us look into the manual recording, and the various features of its toolbar.

Manual Recording

Manual Recording is mainly used to achieve automation in single actions. These actions cannot be recorded by automatic recording. Let us look into the types of Single Actions.

    1. Start and Stop a Application
    2. Click
    3. Type
    4. Copy
    5. Mouse Element
    6. Find Element
    7. Window Element
    8. Text
    9. Image

Start and Stop a Application

Start App-UiPath-Recording-EdurekaThis option enables you to either open or close an app, by pointing and clicking on them.

When you select an app you have to mention the arguments in the dialog box that pops up. After that choose the option Yes to save the recorded output and you will be redirected to the generated sequence.

ClickClick-UiPath-Recording-Edureka

Click type of single actions will enable you to record the clicks on your machine. It could either be selecting an option from a drop-down list, or selecting a checkbox or a radio button, or even clicking on a running application.
When you choose this feature, click on the option ‘Click’ from the toolbar. After that, choose Yes to save the recorded output and you will be redirected to the generated sequence.

Type

Type-UiPath-Recording-Edureka

This type of single actions are those types of actions which require input from the keyboard(shortcuts and press on keys).

When you choose this option you will select the area where you want to use this feature and then you will get a pop-up based on the option you choose. If you choose Type then the pop-up will ask you to type the desired value and then press on Enter. If you choose the second option Send Hotkey, then the pop-up will ask you to choose the hotkey.

Copy-UiPath-Recording-Edureka

Copy

This type of action lets you copy a selected text from a web browser or an application.  In this menu, either you can use the Copy Text option to copy only Text, or you can use the Screen Scraping option to extract both text and images.

Mouse Element

Mouse Element-UiPath-Recording-EdurekaThe Mouse Element actions enables you to control the mouse movements such as right-clicking, double-clicking and hovering the mouse over an element.

When you choose an option from the menu, for example Click, you have to next indicate on the screen where you want the Click operation to be performed by dragging your mouse over the area. After that, choose Yes to save the recorded output and you will be redirected to the generated sequence.

FInd Element-UiPath-Recording-Edureka

Find Element

This type of single actions helps you identify specific UI elements, find relative elements, pause an automation until a UIelement vanishes or a window closes.

When you choose an option from the menu, for example, the Find Element, then you have to indicate on the screen which element you wish to find. After that, choose Yes to save the recorded output and you will be redirected to the generated sequence.

Window Element

Window Element-UiPath-Recording-EdurekaThis action enables you to close a specific window. The UiPath Studio does this attaching in the operating system. This makes sure that the application is closed.

When you choose the Close option from menu, you have to indicate the element on the screen which closes the window. After that, choose Yes to save the recorded output and you will be redirected to the generated sequence.Text -UiPath-Recording-Edureka

Text

This type of single actions lets you select or hover over the text to scrape data. The Text single actions also lets you copy and paste the text, set text and control various options for mouse controls.

When you choose any option from the menu of Text, you have to indicate the element on the screen on which you want to perform the action. After that, choose Yes to save the recorded output and you will be redirected to the generated sequence.

Image

Image-UiPath-Recording-Edureka

Image type of single actions enables you to hover over a specific image, find an image in an application or web-browser or wait for an image to vanish. This type of manual recording is useful for elements which cannot be highlighted as normal fields or texts.

When you choose any option from the menu, you have to indicate the element on the screen from where you either want to find an image, wait for an image to vanish or hover over an image.

Now, that you know all the options which you can see in the toolbar, let us now deep dive into the various types of Automatic Recording.

Automatic Recorder and its Types

There are four types of recordings available in UiPath Studio:

  • Recording Options-UiPath-Recording-EdurekaBasic – This type of recorder generates a full selector for each and every activity. This activity mainly is useful for single activities.
  • Desktop – The Desktop recorder is suitable for all types of Desktop apps and multiple actions. This type of recorder generated partial selectors for each activity.
  • Web -Web Recorder is designed for recording the actions in web applications and browsers. This recorder used the Type/Click input method by default.
  • Citrix – This type of recorder is used to record actions for virtualized environments. This type of recorder only allows image, text and keyboard automation.

The toolbar for Basic, Desktop, and Web Recording offer quite similar options, but the Web Recorder has an extra option to Open Browser. The options on the toolbar enables you to do the following:

  • Record multiple actions automaticallyBasic Recorder-UiPath-Recording-Edureka
  • Manual record single actions such as the following:
    • Selecting a check box
    • Open or close an application
    • Select options from the drop-down menu
    • Control the simulation of keyboard shortcuts
    • Finding an image

The toolbar for Citrix is a little bit different when compared to the toolbar of the other three recorders. The options on the toolbar enable you to do the following:Citrix Recorder-UiPath-Recording-Edureka

  • Click an image or text
  • Scrape UI elements
  • Find elements or wait for them to vanish
  • Select and copy text from a window
  • Control the simulation of keyboard shortcuts
  • Activate window
So, just in case if you are confused when to use the automatic or manual recording in your project, then you should know the differences between both. Refer to the below table to understand the same.
Manual RecorderAutomatic Recorder

Manual Recorder is used for keyboard shortcuts, hovering the mouse, extracting text, finding images and elements, copy and paste to clipboard.

Automatic Recorder is used for activating windows, typing text, clicking on buttons, choosing an option in check boxes and drop-down lists.

Now, apart from the above confusion, people often tend to get confused between the terms Basic and Desktop Recording. So, next in this article on UiPath Recording, let me clarify the same.

Difference between Basic and Desktop Recording

To explain you the differences between Basic and Desktop Recording, let us consider a scenario.

Consider a scenario where you have to record the actions of filling in details in a Google Form. Now, let us record this action first by using the Basic Recorder and then by Desktop Recorder.

Record actions using the Basic Recorder

When you record actions using the Basic recorder, you will observe that full selectors are generated for each and every activity. Refer to the snapshot below for the sample sequence and the selectors generated for a Type Into activity.

Basic Recorder with Selectors-UiPath-Recording-EdurekaRecord actions using the Desktop Recorder

Similarly, when you record the actions of filling details in a google form, using a Desktop Recorder, you will observe that the workflow will contain an attach window activity. This activity will have a top level window of the selector. Refer to the snapshot below for the sample sequence and the attach window activity.

Desktop Recorder-UiPath-Recording-EdurekaNow, in the Do block of the attach window activity,  all the activities will be present with the partial selectors. These partial selectors will not contain the top level window. So, the top window element in the UI hierarchy will be just identified once in the beginning and then it is used for every element.

So, the differences between the Basic and Desktop Recorder can be as follows:

Basic RecorderDesktop Recorder
Used when you have to do only one action.Used when you have to do more than one action.
 Slower as it identifies the element starting from the parent window.Faster when compared to the basic recorder

Now, next in this article on UiPath Recording, let us look into a simple example of Automatic Recording.

Example of Automatic Recording

Task: Our task is to record the action of logging into your edureka account. To achieve this task, we have to use the web recorder from the recording options. So from the Ribbon , go to the Recording option and choose Web.

Recording Options-Web - UiPath-Recording-Edureka

Steps To Achieve Automation

Step 1: Open the web browser(Internet Explorer) and mention the url: https://www.edureka.co

Step 2: Now, in the UiPath Studio choose the Web Recorder and then you will see the following toolbar.

Web Recorder-UiPath-Recording-Edureka

Step 3: Now, choose the Click option from the above toolbar and in the menu again choose the Click option. After that highlight the element where you want to click. Here I want to click on the Login option. Refer below.

Select Click and Login - UiPath-Recording-Edureka

Step 4: Now, choose the Type option from the toolbar and choose the Type option from the menu. Then highlight the element in which you to fill in the text. Here I want to enter the email address, so I have highlighted that section. Refer below.

Select Type and Highlight Element- UiPath-Recording-Edureka

Step 4.1 As soon as you click on the highlighted section, you will see the following pop up, wherein you have to mention the required text. Once you mention the required text, press on Enter.

Input Text- UiPath-Recording-EdurekaStep 4.2: Similarly repeat the above steps to enter the password. But, in the Type Into pop-up displayed for your password, make sure that you select the Type Password check box, to make your password displayed is encrypted. Refer below.

Encrypt Password - UiPath-Recording-Edureka

Step 5: Now, choose the Click option from the tool bar and then from the menu choose the Click option. After that highlight the element where you want to click. Here I want to click on the Login option. Refer below.

Select Click and Login Option- UiPath-Recording-Edureka 

Step 6: Now click on the Save & Exit option from the toolbar to save the recording and generate a sequence. After that execute the automation to see the results by clicking on Run.

You will see that the Login details are filled automatically and the user is logged in.

So, folks, that’s an end to this article on UiPath Recording. I hope you enjoyed reading this article on UiPath Recording and learned how to use the Recording feature of UiPath. If you wish to further learn about Robotic Process Automation and build your career as an RPA Developer, then you can check out our course on Robotic Process Automation Using UiPath. This course will let you enhance your knowledge on RPA and will give you an extensive hands-on experience in UiPath.

Got a question for us? Please mention it in the comments section of this UiPath Recording article and we will get back to you.

Comments
0 Comments

Join the discussion

Browse Categories

webinar REGISTER FOR FREE WEBINAR
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP

Subscribe to our Newsletter, and get personalized recommendations.

image not found!
image not found!

UiPath Recording Tutorial – Comprehensive Guide On Recording In UiPath

edureka.co