Creating an Automation Process in the UiPath Studio

This article teaches you how to create a basic Automation Process in the UiPath Studio. We are going to see four different processes which are:

  • Show a Message Box
  • Open a Website
  • Open Google and search for something
  • Open a website and scrape some data.
Example.1 :

The following example demonstrates creating an automation process to display a pop-up message

Launch the UiPath Studio in your system. Select the Process to create a new project on the homepage. The New Blank Process wizard will be displayed as shown below.
creating-hello-world-process-rpa-uipath

Once the Hello world process has been opened in the UiPath Studio, drag and drops the Sequence into the Designer panel from the Activities.
drag-and-drop-sequence-rpa-uipath

Search for Message box in the Activity panel and drag and drop the message box inside the sequence and enter the String Hello World inside the double quotes and press CTRL+S to save.
entering-string-into-message-box-rpa-uipath

Now click on the Run to execute the process and the output will be the pop-up box will be displayed on the screen as shown below.
hello-world-pop-up-box-displayed-rpa-uipath

Example.2 :

The following example demonstrates creating an automation process to open the browser.

Launch the UiPath Studio in your system. Select the Process to create a new project on the homepage. The New Blank Process wizard will be displayed as shown below.

creating-browser-automation-process-rpa-uipath

Once the Browser Automation process has been opened in the UiPath Studio, Drag and Drop the Sequence and then pull the Open Browser inside the Sequence, as shown below.
adding-sequence-and-open-brwoser-rpa-uipath

Enter the preferred URL inside the Open Browser text box within the double quotes as shown below
add-required-url-in-open-browser-rpa-uipath

Save the process and press CTRL+F6, once the process starts executing the UiPath selects the browser and then opens the given URL.

Recommended Readings

ge-rpa-uipath" title="google-search-page-rpa-uipath" />

Next, I wanted to search Chercher.tech in google, so keep the google search page as it is. Search for Type into the activity panel and place it inside the Do container of Open Browser.
palce-type-into-inside-the-open-browser-rpa-uipath

Click on the Indicate element inside the browser and then go the google page select the text box to type Chercher.tech. Uipath recognizes the whole page inside this browser and then identify what needs to be searched and click on it, it will navigate back to the UiPath. Enter the search term "Chercher.tech" inside the text box as shown below.
enter-chercher-tech-rpa-uipath

Now close the google search page and save and run the process by entering CTRL+F6. Once the process starts to execute the browser will be opened and enters the Chercher.tech as shown in the below image
google-search-output-rpa-uipath

Now we will make this process a little more advanced by adding a click button. Go to the activity panel and search for the Click option and add this option inside the Do container.
adding-mouse-click-inside-do-conatiner-rpa-uipath

Click on the Indicate element inside browser and go to the google search page and select the Google Search button.
enter-google-search-rpa-uipath

Now, save the process and press CTRL+F6. Once the process starts to execute, the browser will open and enters the Chercher.tech and automatically clicks on the Google search button.
search-for-chercher-tech-rpa-uipath

Example.4:

The following example demonstrates data scraping.

Launch the UiPath Studio in your system. Select the Process to create a new project on the homepage. The New Blank Process wizard will be displayed as shown below.
new-blank-process-wizard-rpa-uipath

Type a name for the new project and a description of your automation process and then select a location for the new project. By clicking on the create button, UiPath will open the new project in the UiPath Studio.
basic-automation-process-rpa-uipath

Once the Basic Automation Process has been opened in the Uipath studio, Search for Open Browser in the Activities Panel.
search-open-browser-in-actvities-rpa-uipath

Drag and drop the Open Browser into the Designer panel. Notice that the activity is automatically being added to the sequence.
drag-and-drop-open-browser-into-designer-pane-rpa-uipath

Add the "https://www.uipath.com/product/studio" URL in the Open Browser input field. Use Ctrl + S or click Save on the ribbon, and then press Ctrl + F6 to run the process. The above-mentioned web page is opened in Internet Explorer.

Please add the above URL between the double quotes as any other string in the open browser input field.

the-uipath-link-opened-in-internet-explorer-rpa-uipath

Click on the "+" symbol on the sequence and add a Get Visible Text activity to the Do container of the Open Browser activity by clicking enter.
get-visible-text-rpa-uipath

Click Indicate element inside the browser, and click on the text that you want to scrape from the previously loaded web page.
indicate-element-insider-rpa-uipath

scraping-element-from-internet-explorer-rpa-uipath

Select the main Sequence and select the variable in the variable panel to create a new variable GetText and make sure that the scope is set to Sequence.
create-variable-rpa-uipath

Next, select the activity and then select the text in the property wizard and enter the text as GetText.

Select the Sequence and enter the Open Application activity into the main sequence and launch the Notepad application. To do this, first, open the Notepad application in your system.
clikc-on-indicate-windows-on-screen-rpa-uipath

Click on the Indicate window on the screen and select the notepad screen to launch in the activity. As soon as you click on a notepad screen, the notepad file path will be detected in the properties.
notepad-filename-detected-in-properties-rpa-uipath

Click on the + symbol inside the Do container of open application to launch the Type into activity
add-type-into-inside-do-conatiner-of-open-application-rpa-uipath

Click on Indicate Element inside window and click on the notepad window to launch notepad window
launch-notepad-inside-type-into-rpa-uipath

Now, enter the GetText in the below text box.
enter-text-to reflect-in-the-notepad-rpa-uipath

Save the project by pressing CRTL+S or Save button on the ribbon and validate the project by clicking on the validate file under the Analyze file. If any errors are there will be listed in the error list panel.
validate-file-rpa-uipath

By pressing CRTL+F6, the project will start executing, Once the process starts executing the scraped text will be displayed in the notepad.