UiPath Recorder

Recording is an important part of UiPath Studio, which can help you save a lot of time when automating your business processes. The Recorder enables you to capture a user’s actions on the screen easily and translates them into sequences.

These recorded processes can be modified and parameterized so that you can easily replay and reuse them in as many other processes as you need.

rcording-rpa-uipath

There are Six types of records available in UiPath studios, such as :

  • Basic: Generates a full selector for each activity and no container. The resulted Automation is slower than one that uses boxes and is suitable for a single activity.
  • Desktop: It is suitable for all types of desktop apps and multiple actions. And faster than the Basic Recorder, also generates a container in which activities are enclosed and partial selectors for each activity.
  • Web : Designed for Recording in web apps and browsers, generates containers, and uses the Simulate Type/Click input method by default.
  • Image: Used to record virtualized environments (such as VNC, virtual machines, Citrix, and more) or SAP. It permits only image, text and keyboard Automation, and requires explicit positioning.
  • Native Citrix : It is equivalent to the Desktop recorder, but for Citrix environments. You can use this only in your Native Citrix automation projects.
  • Computer Vision: Computer Vision is a feature that allows for the real-time identification of each element in a virtual environment based on how it looks.
why we need a recorder:

The Recorder enhances your Recording script with more actions and manual development. You can enrich it with repetitions and conditionals to make the most out of your repetitive, dull web-based tasks.

RPA UiPath Studio User Interface

Basic Recorder in UiPath

  • The Basic Recorder generates a full selector for each activity and no container. The resulted Automation is slower than one that uses boxes and is suitable for a single activity.
  • Create a new Process called UiPath_Recordings_Example

uipath-recordings-example-process-rpa-uipath

  • Once the Process opened in the UiPath Studio, Click on the Recordings and select Basic, you can see the wizards available in the Basic Recording.
    baisc-recording-wizard-rpa-uipath
  • Once you click on the Record option, whatever the operations you do will be captured. The actions which are recorded during the basic Record is only a Typing(only in case of manual Recording) and Clicking.
  • The Basic Recorder will not capture the keyboard shortcuts and Right Clicks.
  • There are two kinds of recorders that will be present in each Type of Recorder. One is an automatic recorder and another one is a manual recording option.
  • App Start button records the application which is opening.
Captures only Typing(Only in case of Manual recording) and Clicking but does not capture keyboard shortcuts and right clicks

Basics of Automation in UiPath Studio

Basic Recording using Automatic Recording option in UiPath

  • Open the Basic recorder wizard and
  • Open calculator application simultaneously
    calculator-and-basic-recorder-wizard-uipth
  • Click on the Start App button in the Basic Recorder wizard and select calculator
  • Next, click on the Record button and enter some numbers to perform some mathematical operations, Here I am entering 5*5=. After entering the numbers, click on Esc Button to come out from the Recording mode.
    enter-number-in-cal-rpa-uipath
  • Next, click on the Save & Exit button, so that the basic Recorder will save all the recorded steps which we have performed and present them in the sequence form in the UiPath Studio.
    basic-recording-rpa-uipat
  • Now save and run the Sequence, the calculator application will open and performs the above operation automatically.
    automation-of-calculator-rpa-uipath
  • By taking the above example, I am going to enter One number from a mouse click, and another number from the keyboard, and then the Basic Recorder will not record the number which you had entered from the keyboard because
    basic-manual-recorder-rpa-uipath

PDF Automation by Using UiPath Studio

Basic Recording using Manual Recording option in UiPath

  • Open the Basic recorder wizard
  • Open calculator application simultaneously
    open-calculator-and-basic-recorder-wizard-rp-auipath
  • Click on the Start App button in the Basic Recorder wizard and select calculator
    click-on-start-app-and-select-calculatorpa-uipath
  • Now, Click on eight and then click on C, then click on * and then click on the Esc button to come out of the recorder mode.
  • Next, click on the Basic Recorder wizard, click on the Type option and then select the place on the calculator to enter another number.
    select-type-option-in-basic-recorder-uipath
  • Before entering the number in the Type select the Empty Field option and then enter another number 9 and press Enter.
    select-empty-field-rpa-uipath-in-calci
  • Once again, press on the Recording option in the Basic recorder wizard and then click on Equals and then Click on Save And Exit button.
  • Now, you can see all the above operations have been recorded and execute it in the sequential form, as shown below.
    manual-typing-recoder-rpa-uipath
  • Once you save and run the Sequence, you can see the below output.
    the-output-of-typing-calculator-rpa-uipath

Conditional Statements in UiPath Studio

Desktop Recorder in UiPath

The Desktop Recorder is suitable for all types of desktop apps and multiple actions. And faster than the Basic Recorder, also generates a container in which activities are enclosed and partial selectors for each activity.

  • Native Citrix : It is equivalent to the Desktop recorder, but for Citrix environments. You can use this only in your Native Citrix automation projects.
  • Computer Vision : Computer Vision is a feature that allows for the real-time identification of each element in a virtual environment based on how it looks.
Desktop recorder records each activity as independent of other activity

Example.1:

The following example demonstrates the Recording of multiplication operation in a calculator using the desktop recorder.

  • Create a new sequence called Desktop_Recording_Example
    desktop-recording-sequence-rpa-uipath
  • Click on the Recordings and select Desktop Recording, you will find the wizards available for Desktop recording.
    desktop-recording-rpa-uipath
  • Open the Calculator application(Manually) and then click on the Start App button in the Desktop Recording wizard and then select the Calculator application.
    select-start-app-and-calculator-rpa-uipath
  • Now, click on Record and then perform multiplication operation by clicking on 6*8=
  • Press the Esc button and then click on the Save & Exit button, now you can see the sequential form of operation in the UiPath studio as shown below
    multiplication-opration-using-desktop-application-rpa-uipath
  • Now save and run the Sequence, you will find the following output.
    the-desktop-recorder-output-rpa-uipath
  • If you observe the Sequence of the desktop recorder, Every operation is a separate activity, which is not under any parent. That means the Desktop recorder, records each activity as independent of other activity.
  • To prove this, click on the Target Selector, which is present under the Property pane, you can see that each activity has its complete selector.
    target-selector-rpa-uipath

Web Recorder in UiPath

Web recorder captures all your moves on the web page and translates it into actions that will finally form your Automation. Every little click you make is recorded and can be modified once the Recording is done.

You may even enhance your Recording script with more actions and manual development. You can enrich it with repetitions and conditionals to make the most out of your repetitive, dull web-based tasks.

Example.1:

The following example demonstrates the Searching for Some text in the Google search with Web Recording.

Create a new sequence called Web_recorder_example

web-recorder-example-rpa-uipath

Click on the Recording option on the Design tab and select the Web recording

select-web-recording-rpa-uipath

  • Open Internet Explorer(Manually) and open google.com. In the UiPAth, click on the Open Browser button in the Web Recording wizard.
    select-open-brwoser-option-in-the wizard-rpa-uipat
  • Select the URL on the Internet Explorer and click on the Ok button the URL wizard as shown below

select-url-rpa-uipath

Click on record option in the UiPath and then select the search box on the google search page

click-on-google-search-page-rpa-uipath

Once you click on the record option, it will open a pop-up called Type the Desired Value. Now enter what you wanted to search in the Type the desired value wizard and then press enter so that the UiPath will search in the google.
search-for-chercher-tech-in-google-rpa-uipath

Next, click on the Search button on google. Next, the UiPath will ask Do You want to Use an Anchor, click on No.


use-anchor-rpa-uipath

The UiPath will take you to the Chercher.Tech page, click on any preferred article(Robot Framework), and then click on the Esc button. Click on Save and Exit.

Now you can see the sequential form of web search on the UiPath Studio as shown below

sequence-of-web-search-rpa-uipath

Now, save and run the Sequence, When you run the Sequence:

  • The UiPath should open the Google search page
  • And type Chercher.tech
  • Click on the Search button
  • And then click on the Robot Framework on Chercher.tech home page.

This is how the Web recorder records all the web activities and makes it into an Automation.

Example.2:

The following example demonstrates how to select an option from the dropdown list

Create a new sequence called Select_from_drop_down_list

select-from-drop-down-list-sequence-rpa-uipath

Add Open browser activity inside the Sequence and then enter the Url inside the Open browser activity, as shown below.
enter-drop-down-url-rpa-uipath

The practice page contains the different types of the dropdown list, as shown below.
practice-handling-drop-down-rpa-uipath

If I click on the Animals dropdown list, I will find below options
animals-drop-down-list-rpa-uipath

The next thing is, you need to select the Big Baby Cat under Animals dropdown list. Follow the below steps to select Big Baby Cat under Animals:

  • Add the Click activity inside the Do container of the Open Browser
  • Click on Indicate element inside the browser and select the Animals dropdown list on the Practice handling dropdowns page(Make sure that the page has opened)
    select-python-on-cherchertech-rpa-uipath
  • Add one more click activity inside the Do container and Indicate element inside the browser and then click on Animals dropdown list and press F2.
  • Pressing F2 will give us time to select the preferred option from the Dropdown list(Means which is not directly visible)
  • As soon as we press the F2 button, you can see a counter running on the right bottom of the corner, click on Animals dropdown list and select the Big Baby Cat (just select the Big Baby Cat but do not click on that option) and Wait until the counter stop and Once the counter will stop click on the Big Baby Cat.
    sequence-of-drop-down-rpa-uipath
  • Now Save and Run the Sequence.