UiPath Interview Questions
UiPath Interview Questions
interview for
UiPath. Kausal Vikash is providing you Top 200+ UiPath interview questions and answers which will
help you clearing your interview with ease. The questions that comes in interviews are very
confusing and becomes really tricky. Here is list of all possible questions which are asked in UiPath
interviews along with their answers.
1. What is RPA?
Answer: Robotic Process Automation is a type of automation where a machine or computer
mimics a human’s action in completing rule based tasks. It is used to automate business process.
Automate the business process by robot is known as RPA.
2. What is RPA LIFE CYCLE?
Phases of RPA Life Cycle:
Analysis: The first phase in RPA begins with analysis. Business team and RPA Architect work
together to understand a business process for RPA development.
Bot Development: RPA developer (Team) starts working on the requirement in their environment
possibly a distinct development environment.
Testing: Some companies conduct Testing by Separate Testing Team, while some have a
dedicated testing team which performs a dedicated QA like normal SDLC flow. Best Practice is to
have a dedicated testing team which performs QA of a developed bot.
Deployment and Maintenance: After the Development and Testing phases, a bot is ready for
distribution and enters maintenance phase.
This question is frequently asked in RPA interviews. You should know the RPA Life Cycle.
3. How many projects you have completed in RPA?
Its depend on candidate for interview
4. Why UiPath is best in RPA?
Answer: Uipath RPA is an enterprise computing platform dedicated to automating business process.
It provides the below options full compliance with the enterprise security and governance.
Process modelling
Change Management
Deployment Management
Access Control
Remote Execution
Scheduling
5. Components of Uipath?
UiPath Platform consists of three main components:
UiPath Studio:- UiPath Studio is a complete solution for application integration, and automating
third-party applications, administrative IT tasks and business IT processes.
UiPath Robot- UiPath Robots are a fundamental component of the UiPath Enterprise RPA Platform.
Robots execute the automation workflow designed in UiPath Studio and can be centrally managed
from UiPath Orchestrator.
UiPath Orchestrator- UiPath Orchestrator is a web application that enables you to orchestrate your
UiPath Robots in executing repetitive business processes.
Orchestrator manage the creation, monitoring, and deployment of resources in your environment,
acting in the same as an integration point with third-party solutions and applications.
1.To use Excel Application scope Excel 1. For using Workbok not required to
should be installed on the local syste install excel
Scalability
Operational
recommended for Highly scalable for small and mediums
Scalability
small projects only
Web based
Architecture Architecture includes client and server
integration
Supports browser
Access Supports access through app only
and mobile app.
Aggressive, attractive
Pricing Higher cost of deployment
entry-level pricing
102. What are the steps involved in the RPA life cycle?
RPA life cycle is defined in 4 phases:
Analysis:This is the beginning phase of the RPA lifecycle which analyzes the business processes
for RPA development.
Bot Development:Development team works on fulfilling the requirements for the automation tasks.
Testing Phase:Development team performs quality checks for bots.
Deployment and Maintenance:Bot is deployed and maintained by the team.
105. What are the factors that are encouraging the organizations to proceed with RPA
according to you?
As of today most of the business organizations are adopting RPA and the following factors that drive
most of the organizations to adopt RPA are:
RPA always makes sure that it provides error-free results.
It can automate tasks as simple as the way we do copy-paste.
RPA robots provide an easy way to tackle activities accurately even if the employees are out of an
organization.
RPA is only a one-time investment for an organization and results are forever.
Companies won’t require any special attention for quality verification and testing.
It requires less human interaction which ensures no conflicts and fast operations.
106. Let us assume you need to handle an RPA project and provided inadequate skills to
process, then would you reject the project or find an alternative?
Leaving a project is not at all a correct decision. The fact is that there are many alternatives available
for RPA and most of the alternatives have a short duration. So, we can work on it or solve the
problem and gain additional skills required for the project by choosing alternatives. Support and
alternatives play an important role to assist in this type of projects.
107. What are the pros and cons of RPA according to you?
The pros of RPA are as follows:
Reduced errors
Greater productivity
Enhanced job satisfaction
Lower turnover
The cons of RPA are as follows:
Increase in complexities during implementation
Redundancy
A huge threat of unemployment
121. What are the projects you have worked on? What are difficulties faced and how did you
overcome them?
It depends on Answers of candidate. Also Explain difficulties faced and how did they overcome
them.
123. What is difference between workbook read range and excel read range?
Excel read range must be used in Excel Application Scope only whereas Workbook Read range do
not need Excel sheet to be opened.
To use excel read range activity we must have MS Excel installed on the machine whereas we don’t
need excel installed for workbook read range.
124. Do we need excel installed on system when we use workbook read range activity?
No.
125. What are pdf activities used to get text from an image?
Read PDF Text
Read PDF with OCR
A longer-term effort
Non-disruptive works which requires dedicated
across an organization’s technical resources
Deployment effort
existing processes and depending on process
applications complexity and depth of
integrations.
140. I am your client, you give me two workflows one with activities and one with using
recording. Which one you suggest me to use and why?
144. How many .xaml have you created for your project? How would publish multiple
Process to Orchestrator?
The Answer to Question depends on candidate Project and number of processes that user creates
for the Project.
Orchestrator will trigger based on the reference xaml given in project.jason file.
Main
The entry point of the automation project. It consists of an .xaml file. The default name is
“Main.xaml”. It is displayed both as the title of the Designer panel and in the Properties panel in
Studio. If you want to execute a different project first, change the value of this parameter to the name
of the .xaml file to be processed.
Note : If your automation project contains multiple files, each of them should be linked to
the Main.xaml file through the Invoke Workflow File activity . This is especially useful when the
project is published to Orchestrator and sent to a Robot, as the Robot executes only the file provided
in this parameter.
if you want to change entry point of xaml file you can change in this project.jason file.
‘Project.json’ is an automatically generated file which is included in the folder of each automation
project made in Studio. The file holds information about the project dependencies.
145. Suppose there are 5 different Processes, how would you schedule all these processes
in Orchestrator?
We can schedule all 5 processes for one machine, One by one.. It will start process one by one.
If machine are different then 5 Processes can be scheduled simultaneously.
Schedules enable you to execute jobs in a pre planned manner, at regular intervals on Robots. Input
values for processes which support input and output parameters can be managed at this level as
well. You can assign Robots to perform different schedules according to the following options:
All Robots– Schedules are executed by all the Robots in a specific environment.
Specific Robots– Schedules are executed by the Robots selected by the user.
Allocate dynamically– Define how many times a process is to be executed according to the given
schedule. This option enables you to utilize your resources to their greatest extent. As soon as a
Robot becomes Available, it executes the indicated process according to the provided schedule.
The Schedules page enables you to create new schedules. It also displays all previously created
schedules, which can be further edited, enabled, or disabled.
You can view the jobs started by a specific schedule on the Jobs window, by selecting More
Actions > View jobs. A scheduled job can also be stopped after a custom amount of time with
the Stop or Kill options on the Actions tab.
146. What are Credentials? How credentials are used in your project?
Credentials are one of Asset types used in Orchestrator. They are used to store credentials in
Orchestrator. Credentials contains usernames and passwords that the Robot requires to execute
particular processes, such as login details for SAP or SalesForce and gmail credentials.
The Get Asset and Get Credential activities used in Studio request information from Orchestrator
about a specific asset, according to a provided AssetName. If the AssetName provided in Studio
coincides with the name of an asset stored in the Orchestrator database, and the Robot has the
required permissions, the asset information is retrieved and used by the Robot when executing the
automation project.
148. Suppose there are 1000 rows and 50 columns, Suppose I want to select any random
row data? How it can be done?
Assign dtVariable = new DataTable
Initializing your DataTable variable
[Build your data table process]
Assign intRandom = new Random().Next(0, dtVariable.Rows.Count – 1)
This will give you a randomly generated number between 0 – N, where N = number of rows in your
datatable (i.e., a data table of 10 rows will result in a count of 10)
We subtract 1 because dtVariable.Rows.Count starts at 1, whereas dtVariable.Rows(index) starts at
0 (i.e., a data table of 10 rows will result in an index max of 9).
Assign rowRandom = dtVariable.Rows(intRandom)
This will output a DataRow at random of DataRow type.
149. What are dynamic selectors? Types of Dynamic Selectors used in UiPath?
The selector is a string of characters (VB expression) used to identify objects on the screen. The
selector is one of the properties of UI activities and has an XML format. All the activities in UiPath
Studio related to graphical elements have the selector property.
The solution to this problem is to:
Build better selectors
Use WildCard
To see the better and dynamic attributes compare the selectors and make dynamic them using
wildcard operators and identify reliable selectors using UIExplorer.
Selectors attributes part contains all the attributes of an object. Not all can be added or removed
from your selector string, because not all of them are useful for identifying a certain object.
The most important thing when choosing selectors is to pick those which always have a constant
value. If the value of an attribute changes, then the selector will not be able to correctly identify the
element.
Attributes may change their values from time to time when the application’s UI changes. When this
happens, part of the dynamic attributes often remain unchanged and we somehow have to specify
the variable parts. This can be done using wildcards:
1.* star means zero or more characters can be there. Example: title=’* – Notepad’.
2.? question mark means exactly one character. Example: title=‘Expl?rer’.
A direct consequence when using wildcards is the increased probability of there being more and
more nodes matching the Selector.
150. If you do not have excel installed on your system. How would you use excel activity in
UiPath Studio?
We can use Excel activity Workbook Read Range without installing Excel on System. As we don’t
need excel installed for workbook read range activity.
UiPath Studio offers you the possibility to work with Excel using specialized activities. These
activities are stored in the UiPath Excel activities package. The Excel package can be downloaded
from “Manage Packages” but it’s by default installed when you install UiPath Studio.
Through this app integration approach you are able to read/write Excel documents.
Good points for not using the Excel application:
You don’t need to install/buy Microsoft Excel
Excel application will not pop up on your desktop
Suitable for robots that run on a machine that doesn’t have a user interface.
153. If suppose there is Image in PDF which is of 120 dp, how would extract data from that
Image? Which automation would be used?
To extract data from Image of Size 120 dp from PDF we need to use Read PDF with OCR activity,
and automation we need to use is PDF Automation.
We can also use Microsoft OCR activity to extract extract exact data from Image of the PDF file.
154. If Suppose there are 2 excels, how would merge 2 excel data into one?
1. Firstly we need to use Read Range to read the 2 excel files,
2. Then we need to use merge data table activity to merge the data table.
3. Then we need to use the resultant data table to make the merged excel file using WriteRange
activity.
155. If you have 1000 of data in queue and there are 5 robots you want to distribute data
among them, how you can do it without using queue activity
To distribute 1000 records of data in queue on 5 robots among them without using queue activity, we
need to set up an Excel or CSV file that is in a shared location accessible by all your bots. Then
have a column for Status, and as a bot processes each row, they update that column to “In
Progress” and save the file. Bots should only process rows if column <> “In Progress”. We need to
add other columns for tracking and logging, such as Transaction IDs, Bot Name, Fail Reason, etc.
156. I have process of two different version how will you identify them at the time of
deploying?
To identify the process of two different versions at time of deploying we can identify by publishing
Process from Studio and we can choose the project version number.
Also, within orchestrator, the package number will match the version number of published Process
from Studio.
Based on its version number we can identify it. At the time of publishing project from Uipath Studio
and it show new version number.
157. Can you update credentials stored in Assets in Orchestrator from UiPath Studio? If
yes then how you can update credentials?
We can update Credentials stored in Assets in Orchestrator but not at runtime. We can update
Credentials manually before scheduling bot.
We can allow user to update only specific assets. You can create a custom user role and give him
permissions only to asset editing, though. This is done through the /roles route on Orchestrator.
UiPath.Core.Activities.SetCredential
Enables you to update the value of an indicated credential asset, that is already available in
Orchestrator, be it a global or a Per Robot asset. Please note that to execute this
activity, the Robotrole needs to have Edit permissions on assets. The activity runs under the Robot
which executes it.
MacroName – The name of the macro to be executed. Only String variables and strings are
supported.
⮚ Note:
Strings must be placed between quotation marks.
Macro Parameters– Enables you to pass parameters when executing the macro. This field supports
only IEnumerable<object> variables.
Common
DisplayName– The display name of the activity.
ContinueOnError– Specifies if the automation should continue even when the activity throws an
error. This field only supports Boolean values (True, False). The default value is False. As a result, if
the field is blank and an error is thrown, the execution of the project stops. If the value is set to True,
the execution of the project continues regardless of any error.
Note:
If this activity is included in Try Catch and the value of the ContinueOnError property is True, no
error is caught when the project is executed.
Misc
Private– If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
Macro Output– The value returned by the execution of the macro, if any. This output is retrieved as
Object variables.
Example of Using the Execute Macro Activity
To exemplify how to use this activity, we have built an automation project that initializes a macro,
asks the user for its name and executes the macro.
Fig no-: 159 (a) Initialization of Micro Argument
Fig no-: 159 (b) Executing Macro in Set Excel Application
.NET Framework
The .Net framework is a software development platform developed by Microsoft. The framework was
meant to create applications, which would run on the Windows Platform. The first version of the .Net
framework was released in the year 2002.
The version was called .Net framework 1.0. The .Net framework has come a long way since then,
and the current version is 4.7.1.
The .Net framework can be used to create both – Form-based andWeb-based Web services can
also be developed using the .Net framework.
The framework also supports various programming languages such as Visual Basic and C#. So
developers can choose and select the language to develop the required application.
FullText is the default method, it is fast and accurate, yet unlike the Native method, it cannot extract
the screen coordinates of the text.
Full Text is a method that extracts the text property of a control and all its children, it has 100%
accuracy and works fast without flickering. You can use the screen scraping wizard to test it and
generate the Get Full Text activity.
Both these methods work only with desktop applications, but the Native method only works with
apps that are built to render text with the Graphics Device Interface (GDI).
167. If you have to give one excel sheet in this excel sheet some valid or invalid data how
to run process without stopping it?
A process should continue when an error occurs (or invalid data), then you probably need a
combination of
1. A) Error handling w/ a retry mechanism and
2. B) conditions.
A) Error handling allows us to catch exceptions and either retry that item again or continue to the
next item, so it will not stop the process. Normally, invalid input data will be considered a business
rule exception, so if you have a retry mechanism, it should not retry that item since there is
something wrong with the data. Whereas an application or system exception would be retried
because it would be caused by some random occurrence on the website or application. An example
of error handling can be seen in the REFramework (a template you can use in Studio)
B) Conditions can be used during the process to check the input data and Log or set the status of
that item where it can either be thrown as a business rule exception or not depending on your
requirement. It will be good to log this or notify this for the user so it can be corrected or handled
manually.
C) We can also use use ContinueOnError property in Read Excel activity.
D) Alternative way: If you want to record error, then you can use try catch activity and record error.
And go on next record as used in ReFramework.
168. If you want to use python in uipath which activity you should use?
We want to use Python in UiPath we need to install Python Activities Package from Managed
Package in UiPath Studio.
The purpose of this package is to enable to invoke Python scripts and methods in any workflow
directly from our product. We can also pass input arguments to the invoked code, as well as retrieve
the output data generated by the activities.
The Python Scopecontainer activity connects to the Python environment installed on the machine
and enables us to use the rest of the activities within itself.
The PythonObject variable is specially designed to handle and manipulate Python data. By using
the Load Python Scriptactivity, you can easily assign the code from any file containing a Python
script to a PythonObject and you can also convert it to a .NET data type by using the Get Python
Object
With this powerful variable at hand, you can run scripts, extract .NET types or invoke Python
methods by using the dedicated activities for each of these tasks.
Web Scraping
To Extract large amount of data from website whereby the data is extracted and save to local file in
your computer or to a database in table.
UiPath’s Web Scraping tool helps you to build an automation to extract data from websites in a very
short amount of time.
Accessing the Web Scraping Wizard
You can access the wizard by clicking the Web Scraping in the Design menu.
Fig -: Web Scrapping in Design Menu
Explain Projects you have done?
The Answer to this Question depends on Candidate who has completed projects.
Explanation of Projects Flows and Logic answer is required from candidate.
The activities used in Projects, team size of projects. Completion time of project can also be
mentioned.
1. Metabots
Facilitating scalability with next-generation integration
Best for: Complex, scalable processes
Meta Bots are automation building blocks that help you scale. They are “app resilient,” meaning that
any time an application updates or changes, you make minimal edits to the bot itself, and those
changes then automatically apply to any process utilizing that bot.
Low maintenance and easy to use, Meta Bots help increase RPA adoption, reduce downtime, and
ensure control over complex, enterprise-wide automation.
1. IQ bots
Continuously learning and enhancing process automation
Best for: Managing through fuzzy rules and processing unstructured data…
IQ Bots are the brains in Automation Anywhere’s RPA platform. Merging unique cognitive
capabilities with RPA, IQ Bots can understand structured or unstructured data with ease, act based
on the information and learn in real-time, making it possible to fully automate processes and run
them independently.
An IQ Bot relies on supervised learning, meaning that every human interaction makes IQ Bot
smarter. In addition to English, IQ Bot can extract data in Spanish, French, Italian and German.
176. When you use IMAP activity, the mail you receive in which format? And how you can
convert into string?
Integration of Gmail with UiPath can be achieved through IMAP or SMTP protocols. But to retrieve
email messages, you will have to use the
Get IMAP Mail Messages activity of IMAP.
Once we read emails, the output will be list of mail messages, hence we have to loop through each
mail one by one,
Use for each activity: change argument type to type of the output of readMailMessages activity.
inside for each you can use item.subject / item.Message.
If you wish to use ElasticSearch, please note that although it is a cross-platform product, which
runs on Windows, Linux, or Unix, it requires Java. The minimum recommended version of
Java Runtime Environment is 1.8.131.
If the computers are in a domain, you have to ensure that they are added in the Computers section
of the domain server, in Active Directory Users and Computers. This step is required because the
computer name is used during the installation process.
182. There are two xaml file and if you want to pass the data in between them. How will you
pass?
We can use INVOKE WORKFLOW ACTIVITY where we can call those xaml one by one and
between them we can pass the values through ARGUMENTS which can be either IN or OUT or
IN/OUT
Arguments are used to pass values between xaml’s
Using Arguments
Due to the nature of arguments, you are going to use them a lot in relation with the Invoke
Workflow File and Launch Workflow Interactive activities. They can be found in
the Activities panel, under Workflow > Invoke and they enable you to browse for a project, and
import and edit their arguments.
Trycatch activity is used when you want to test something and handle the exception
accordingly. So, whatever you want to test you can put it under the try section,
Then if any error occurs, then it can be handled using the catch section, based on your input to the
catch section. Apart from the try-catch, we also have a
Finally section which is used to mention those activities which have to be performed after the try
and catch blocks are executed.
A Business Exceptiondescribes an error rooted in the fact that certain data which the automation
project depends on is incomplete or missing.Such a situation is, for example, a project which
extracts phone numbers from an employee database, creating queue items for each of them. These
items are then to be processed and inserted into a financial application. If a certain phone number is
missing a digit due to human error, the queue item containing it becomes invalid. This causes the
automation to throw an exception, as the Phone Number field in the financial application does not
accept a queue item that contains an incomplete number.Retrying the transaction does not yield any
chance of solving the issue, and there are other better courses of action, such as notifying the
human user of this error.
1. A Business Exceptiondescribes an error rooted in the fact that certain data which the automation
project depends on is incomplete or missing.Such a situation is, for example, a project which
extracts phone numbers from an employee database, creating queue items for each of them.
2. These items are then to be processed and inserted into a financial application. If a certain phone
number is missing a digit due to human error, the queue item containing it becomes invalid.
3. This causes the automation to throw an exception, as the Phone Number field in the financial
application does not accept a queue item that contains an incomplete number.
4. Retrying the transaction does not yield any chance of solving the issue, and there are other better
courses of action, such as notifying the human user of this error.
Full Text scrapping – allows us to scrape all the visible text on the UI object
get full text – Extracts text using FullText screen scraping method. It allows you to scrape all visible
text on the UI object.
Full text scraper just works like native unless you check the “Hidden option” from the property.
Regards to cmd UIPATH choose which is the best scraper according to target application else user
has to choose it.
UiPath’s Scraping Tool is capable of scraping both visible and non-visible UI object. Please note that
this will only work using the Native method of screen scraping. This can only work in native Windows
application like Windows Command prompt or terminal applications.
Keywords of RPA
Automation
Artificial intelligence (AI)
Attended RPA
Business intelligence
Business process management (BPM)
RPA Center of Excellence (CoE)
Cognitive automation
Command-line interface (CLI)
Computer vision
Deep learning
Enterprise resource planning (ERP)
Enterprise RPA
Full-time equivalent (FTE)
Graphical user interface
Machine learning
Natural language processing (NLP)
Non-persistent VDI
Optical character recognition (OCR)
Pilot program
Proof of concept (POC)
Robotic Operations Center (ROC)
Role-based access control (RBAC)
Keywords of UiPath
1. UiPath Activities
2. Packages
3. Logs
4. Output Panel
5. Properties
6. Recording
7. Variables
8. Arguments
9. Data Scraping
10. Screen Scraping
11. Debug
12. Publish
13. Run
14. User Events
15. Ui Explorer
16. Validate
17. Export to Excel
18. Outline
19. Try Catch
20. Invoke methods
21. Loops
22. Conditions
23. Data Table
24. Excel activities
25. PDF activities
26. RE Framework
27. Orchestrator
28. Robots
29. Processes
30. Jobs
31. Schedules
32. Assets
33. Credentials
34. Environment
35. Transactions
36. Computer Vision
204. What is the difference between While Loop and Do-While Loop?
For the While loop, If Condition specified is true then the set of actions in the body are executed. For
the do-while loop, the actions are executed once and then, if the condition is met, the actions are
executed again.
The foreach loop works by iterating through a list of items, one item at a time and executing
whatever actions are in the body.
205. How to navigate a virtual machine interface and activate various menus, buttons and
textboxes?
ClickText,
ClickImage and
TypeInto
To Get Information out of Virtual machines, these 2 methods are used
Select & Copy,
Scrape Relative – a technique that enables you to retrieve text from UI elements by using OCR
technology. In situations where selectors cannot be found, the target UI objects are identified by
using image recognition activities to look for adjacent labels or other elements.
206. What is the difference between write range and append range activities?
Write Range: writes data to file specified from data Table.
Append Range: adds data after all currently existing data, without overwriting.
211. Explain steps of Configuring Robots and creating connection between Robot and
Orchestrator
Steps in Configuring Robots/ Steps to establish Connection between Robot and Orchestrator
1. Provisioning the Machine in Orchestrator
2. Provisioning the Robot
3. Setting up local Robot with necessary information
220. Find The Max And Average Value From DataTable – In UiPath
MAX Value:
myMax_Value = dt_Sample.AsEnumerable().Max(Function(row) cint(row(“ColumnName”)))
AVERAGE Value:
myAverageValue = dt_Sample.AsEnumerable().Average(Function(row) cint(row(“ColumnName”)))