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

Robotic Process Automation

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

UiPath Citrix Automation – How To Automate Tasks In A Virtual Environment?

Last updated on Mar 15,2023 11.8K Views

11 / 15 Blog from UiPath

The Desktop screen is a window through which we see a virtual world, and to automate tasks in the virtual world, you need Citrix Automation. In this article on UiPath Citrix Automation, you will go through how to automate tasks in a virtual environment with the help of one of the popular tool in the RPA industry i.e UiPath.

The following topics will be covered in this article:

So, let us get started.

What is RPA?

The word Robotic Process Automation has mainly three terms which you need to understand: Robotic, Process & Automation. So, let us look into each of them:

  • Robotic are entities which mimic human actions are called Robots.
  • process is a sequence of steps which lead to meaningful activity. For example, the process of making tea or your favorite dish etc.
  • Automation is any process which is done by a robot without human intervention.

So, when we summarize all these terms together, then mimicking human actions to perform a sequence of steps, leading to a meaningful activity, without any human intervention is also known as Robotic Process Automation

Now, that you have an understanding of what is RPA, next in this article on UiPath Citrix Automation, you will know what are virtual machines.

What is Virtual Machine?

A Virtual Machine in simple words is a guest Operating System that runs on another operating system i.e. the host, through a Virtual Machine Manager like Oracle Virtual box, VMware. In real-world scenarios, you mostly have servers on the cloud, and whenever you wish to access the server, you can use a Remote Desktop Connection.

What is a Virtual machine -UiPath Citrix Automation - Edureka

The above image will give a pictorial understanding of what are virtual machines. As you can see, there is a host operating system on which a Virtual machine Manager and a Guest Operating system are running. Now, that you have an understanding of what are virtual machines, next in this article on UiPath Citrix Automation, let me tell you what is Citrix automation and how are tasks automated in these virtual machines.

What is Citrix Automation?

How Task in Virtual machine get Automated -UiPath Citrix Automation - EdurekaAutomation in virtual machines is catered with the help of Citrix Technology. Let me explain you how.

Consider a scenario wherein you have to access a server on your computer. Now, when you try to access the server, it is not the main server that you are accessing, but you get an image of the screen of the server. Now, what happens is, whenever you click on something, that image or pixel is sent to the server. Then in the server, it is exactly clicked over there.  To automate these kinds of tasks you can implement Citrix technology with UiPath. UiPath aims to provide this automation with the help of recorders.

So, now let us look into the various types of recorders in UiPath .

Type of Recorders -UiPath Citrix Automation - Edureka

There are mainly four types of recorders in UiPath.

  • Basic: This recorder generates a full selector for each and every activity.
  • Desktop: This type of recorder is suitable for all types of Desktop apps.
  • Web: This type of recorder is designed for recording in web apps and browsers.
  • Citrix: This type of recorder is used to record virtualized environments

So, since UiPath can’t access the VM’s interface directly, it accesses the VM’s streamed image, through Citrix using OCR Technology.

You may also go through the recording of UiPath Citrix Automation where our certified experts of Uipath online training have explained the concepts in depth.

UiPath Citrix Automation | Image and Text Automation in UiPath | Edureka

This Edureka video on “UiPath Citrix Automation” will help you know how to automate web using UiPath.

So, now that you have got an idea of what is Citrix automation, next in this article on UiPath Citrix Automation, let us look into the practical approach of this concept.
For details, You can even check RPA earning the key concepts to design RPA solutions using UiPath Community Edition with the Uipath advanced developer certification.

Hands-On: Automating Task on a Desktop Application

Consider a scenario where you want to open a Notepad in the virtual environment and want to type something in it. How will you automate this task?

Well, follow the below steps to do so:

Step 1: Open the UiPath Studio and create a Blank Project. Inside the Blank Project, drag a Sequence inside which the automation would be designed.

Step 2: Now, go to the Ribbon Tab in UiPath and choose the Recording option. In the recording option, choose the Citrix Recorder. This will open your Citrix Recording tab. Refer below.

Citrix Recording -UiPath Citrix Automation - EdurekaStep 3: Now, switch to your virtual environments, and follow the below steps to open a Notepad file, write “Hey Everyone!!!” and close the file without saving.

  • The first step is to click on the icon of Notepad. To do that, choose the Click Image option from the Recording Tab, and drag your mouse near the icon. Then click on OK, in the dialog box that opens up. This step will open the Notepad. Refer below.

Click Image Activity -UiPath Citrix Automation - Edureka

  • Now, you have to type something in Notepad. To do that, choose the Type option from the Recording Tab and then drag the mouse over the area you want to enter text.
  • In the dialog box, that opens up, mention your text and press Enter. This will enter your text into Notepad.

Type Into Activity -UiPath Citrix Automation - Edureka

  • Once the text is entered, the next step is to close the Notepad. To do that, click again on Click Image from the Recording Tab and mention the region across the cross button.
  • After that, click on OK, in the dialog box that opens up, and again choose Click Image to save the file. Refer below.

Citrix Automation Activity -UiPath Citrix Automation - Edureka

In this demo, I am not going to save the file as you again have to follow the above steps to do so. But, yes you can definitely save the file by choosing the Click Image option and mentioning the name of file with the help of Type option.
  • Now, to save this automation, choose the Save & Exit option from the Recording Tab and this will redirect you to the UiPath Dashboard. Now, execute this automation by clicking on the Run option from the Ribbon Tab.

The designed automation will open the Notepad in a virtual environment, type the text and close the file without saving.

Now, that you know how to use Citrix Automation, let me take you through another hands-on, in which we will perform Image & Text automation in an application.

Hands-On: Image & Text Automation

Problem Statement: Consider an application is running in a virtual environment. Now, once we enter the account number, amount, choose transaction type, a transaction ID is automatically generated.  Out task is to, display the Transaction ID in a message box once the transaction is successfully completed.

Follow the below steps to execute the automation:

Step 1: Open the UiPath Studio and create a Blank Project. Inside the Blank Project, drag a Sequence inside which the automation would be designed.

Step 2: Now, go to the Ribbon Tab in UiPath and choose the Recording option. In the recording option, choose the Citrix Recorder. This will open your Recording tab. Refer below.

Citrix Recording -UiPath Citrix Automation - Edureka

Step 3: Now, switch to your virtual environments. Our first step is to enter details in the Account Number, Amount and Deposit Notes. To do that follow the below steps.

  • Choose the Click Image option from the Recording Tab, and drag your mouse near the Account Number. Then indicate a point on the screen where you want to click. Here, I want to click in the text box available after Account Number. Then click on OK. This step will put your cursor in the text box before the Accounts.

Click Image Activity Bank Example -UiPath Citrix Automation - Edureka

  • Now, to enter text into this text box, use the Type option from the Recording Tab and enter the text. After that press on Enter.

Type Activity Bank Example -UiPath Citrix Automation - Edureka

Now, similarly, implement the above two steps for Amount and Deposit Notes.

  • Next, you have to choose the radio button for the Transaction Type. To do that, choose the Click Text option from the Recording Tab, and select the region around Cheque. Once it is done, in the Screen Scraper Wizard, match the text to Cheque by typing in the Search text area. After that, click on Finish. This will select the radio button beside Cheque.

Choose Radio Button Bank Example -UiPath Citrix Automation - Edureka

  • Now, once you have entered all the details, your next step is to save the transaction. To do that, again choose the Click Image activity from the Recording Tab and drag your mouse over the option Save. Then click on OK, in the dialog box that opens up. This will save your transaction and generate a transaction ID.
  • Next, to read the Transaction ID, you have to choose the Screen Scraping option from the Recording Tab and choose Scrape Relative. 
  • Then select the Transaction ID, and indicate on the screen, from where you want to store the text. Refer below.

Scrape Relative -UiPath Citrix Automation - Edureka

We will be using Scrape Relative as we want to extract the text “Transaction ID” and also the ID associated with it.
  • In the Screen Scraper Wizard that opens up click on Finish. Then save your automation, by clicking on the Save & Exit option from the Recording tab. This will redirect you to the UiPath Dashboard.
  • Now, in the variable section, you will see that there is a variable automatically being created. Well, you have to use this variable, to display the output. Refer below.

Variable -UiPath Citrix Automation - Edureka

  • To display the output, drag a Message Box into the Sequence and mention the variable in the Message Box.

Message Box-UiPath Citrix Automation - Edureka

  • Now, execute your automation by clicking on the Run option from the Ribbon Tab. You will see that details are getting filled automatically and a Transaction ID is being displayed in a message box.

So, folks, that’s an end to this article on UiPath Citrix Automation. I hope you enjoyed reading this article on UiPath Citrix Automation and learned how to automate tasks in virtual environments. 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 Citrix Automation” article and we will get back to you.

Upcoming Batches For RPA using UiPath Certification Training
Course NameDateDetails
RPA using UiPath Certification Training

Class Starts on 30th March,2024

30th March

SAT&SUN (Weekend Batch)
View Details
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 Citrix Automation – How To Automate Tasks In A Virtual Environment?

edureka.co