Interview questions and answers for RPA - UiPath (Set 13)

uipath interview questions
UiPath Interview Questions and Answers

Q- What is a reusable component in UiPath?


Whenever there is a need to run a piece of code or workflow multiple times at different places in a project, we create that part/workflow as a reusable component so that there would be no need to develop it again.

E.g. LogIn and/or LogOut module for a specific application.

UiPath have launched a new feature known as Library which standardized this work of developing and using the reusable components.

Q- What do you understand by Library in UiPath?

The Library is a package which contains multiple reusable components. Libraries are saved as .nupkg files and can be installed as dependencies to workflows in order to use it in project using Package Manager.

Q- What is tracing and how do you enable tracing in UiPath?

UiPath generates log files that track the activity of UiPath Studio and the UiPath Robots, by default. We can access these logs on clicking the Open Logs button in execute/debug ribbon tab.

Occasionally we need more details about our automation workflow execution for complex issues and troubleshooting. In order to get these details, we need to enable Tracing.

UiPath generates a .etl file for tracing. It contains binary log data at the trace level, such as disk accesses or page faults, and is used to log high-frequency events while tracking the performance of an operating system. The .etl file can be opened using Event Viewer available in windows OS.

enable-tracing-in-uipath
Enable Tracing in UiPath

Q- How do you handle heavy excel files in UiPath?

Instead of using normal excel and/or workbook packages based activities, we should treat excel as a database. We must connect to excel file as a database using "Connect" activity and then we can work use SQL queries on excel directly as we have connected it as database.

The connection string and data provider for connecting to .xls file:

Connection String : "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &ExcelFilePath& ";Extended Properties='Excel 8.0 Xml;HDR=YES;IMEX=1';"

Data Provider : System.Data.OleDb

The connection string and data provider for connecting to .xlsx file:

Connection String : "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" &ExcelFilePath& ";Extended Properties='Excel 12.0 Xml;HDR=YES;IMEX=1';"

Data Provider : System.Data.OleDb

Q- What is difference between For Each, For Each Row & Parallel For Each?

For Each - allow you to iterate through a collection of items. It can be an array, a list, a DataTable etc.

For Each Row - When using For Each you need to specify the data type and because you might need to iterate through a DataTable more often you have the specific Activities for Data tables.

Parallel For Each - Asynchronously executes a series of activities on each element of an enumeration, in parallel.


Note: Fresher candidates can skip REFramework and/or Orchestrator based questions.

Previous - UiPath interview questions Set 12
Next - UiPath interview questions Set 14

Comments

Popular posts from this blog

UiPath - Convert String to DateTime

Filter DataTable in UiPath Studio

UiPath - Kill Process for Current User