RPA Question Bank (Solved)
RPA Question Bank (Solved)
MODULE-1
1. What is RPA? Give examples of where RPA can be applied. Explain the different
flavours of RPA. Briefly explain the components of RPA.
○ RPA (Robotic Process Automation) is the technology that enables software
'robots' to carry out repetitive, rule-based digital tasks.
○ Humans typically perform these tasks through the user interface, using the
mouse and keyboard.
○ RPA robots are capable of mimicking human actions, and they are typically
more accurate, faster, and more consistent at it.
○ RPA can be applied in the following scenarios:-
■ The cut-and-paste of information from one app to another
■ The opening of a website and login
■ The opening of an e-mail and attachments
■ The read/write of a database
■ The extraction of content from forms or documents
■ The use of calculations and workflows
2
● Public Cloud: This is the model we’ve been covering so far in this chapter.
That is, the cloud is accessed from remote servers, such as from AWS,
Salesforce.com, and Microsoft. The servers have an architecture known as
multi tenant that allows the users to share a large IT infrastructure in a secure
manner. This greatly helps to achieve economies of scale, which would not be
possible if a company created its own cloud.
● Private Cloud: This is when a company owns the data centre. True, there are
not the benefits of the economies of scale from a public cloud. But this may not
be a key consideration. Some companies might want a private cloud because of
control and security.
● Hybrid Cloud: This is a blend of the public and private clouds. For example,
the public cloud may handle less mission-critical functions.
As for RPA, the cloud has different implications and impacts. One is that a platform
needs to deal with complex distributed applications, which can be difficult if a
company develops custom programs on a cloud service. Most RPA platforms
actually started as on-premise software and generally did not transition to the
cloud until recently.
RPA involves bots that perform a set of specified actions or tasks, Tasks that are done
repetitively and are rule-based should be automated such as the following:
● The cut-and-paste of information from one app to another
● The opening of a website and login
● The opening of an e-mail and attachments
● The read/write of a database
● The extraction of content from forms or documents
● The use of calculations and workflows
Data collection Data collection & entry is automated Data collection & entry is manual
9. Discuss the different flavours of RPA in detail and List any 4 RPA vendors.
Refer Q.1 & Q.19 (Repeated Question)
MODULE-2
11. What is a Task recorder and discuss the types of recording in UiPath?
14. Describe the four types of projects provided by UiPath? Explain sequence with the
help of an example.
17. Demonstrate the steps involved in emptying the trash in Gmail using UiPath Recorder
and draw the flowchart.
UIPath Sequence SnapShot:
19. Identify the components of RPA and RPA Platforms with a neat diagram.
20. Design an automation process to have an excel sheet having names and their
corresponding unicorn names from the website
https://www.rpasamples.com/unicornname.
21. Design a Flowchart using UIPath to check whether the given year is leap year or not
via do- while activity. You need to continue taking the input as long as the customer
gives a non leap year.
22. Design a Flowchart using UIPath to extract the first 4 characters of the customer’s
name.
.
23. List out the different types of variables in RPA. Discuss the Categories of Variables .
26. Show a Flowchart using UiPath to enter a string and show all the vowels in it.
29. Show a Flowchart using UiPath to check the given number is prime or not
32. Develop a Flowchart using UiPath to increase the integer variable from 5 to 50 in
increments of 5 using While control flow activity.
33. Develop a Flowchart using UiPath to enter two numbers and check whether their sum
is less than 20.
MODULE-4
36. Flipkart often announces Big Billion Days sale. Imagine you have a startup and you
have to make an informed decision about the sales and discounts happening on
Flipkart so as to increase your sales and to attract more customers. Analyse how
you can do this via scraping their products across wide categories to a spreadsheet.
38. Demonstrate any five types of control flow activities with design examples. (with
UiPath flowchart).
Let us consider an example of extracting text from the UiPath website's main page:
1. Create a Blank project and give it a meaningful name.
2. Log on to the UiPath website by logging in to www.uipath.com in your browser.
3. Drag and drop a Flowchart activity on the Designer panel. Click on the Screen
Scraping icon and locate the area from which you want to extract the information.
Just choose an area on the UiPath website. A window will pop up stating that the
AUTOMATIC method failed to scrape this UI Element. By default, the Screen
Scraper Wizard chooses the best scraping method to extract data, but it failed to do
so in our case:
4. Try choosing another method. We shall choose the Full text method. This too will
fail. Next, choose the Native method. This will also fail.
5. This time, choose the OCR Scraping method. You can clearly see the extracted
text.
41. Analyse any four activities that can be used to find the controls on screen. (with
UiPath flowchart).
a) Anchor base
This control is used for locating the UI element by looking at the UI element next to
it. This activity is used when we do not have a reliable selector.
1. Drag and drop a Flowchart activity on the Designer panel of a blank project. Also,
drag and drop an Anchor base control from the Activities panel. Connect the Anchor
base control with Start.
2. Double-click on the Anchor base control:
3. There are two activities that we have to supply to the Anchor base control:
Anchor and action activities.
4. Drag and drop the Anchor base activity (for example; Find Element activity) in the
Anchor field and Action activity (for example; Type into) in the Drop Action Activity
Here field of the Anchor base control. The Anchor base activity will find the relative
b) Element scope
This control is used to attach a UI element and perform multiple actions on it. You
can use a bunch of actions within a single UI element.
Drag and drop the Element scope control and double-click on this control:
c) Find children
This control is used to find all the children UI elements of a specified UI element. It
also retrieves a collection of children UI elements. Drag and drop the Find children
control from the Activities panel. Double-click on it to indicate the UI element that
you want to specify. You can indicate it by clicking on Indicate on screen:
42. Analyse a workflow to extract text from an image using OCR activity. (with UiPath
flowchart).
43. Take a look at the above image. Analyse how you can extract the text via OCR
activity. Also discuss the types of OCR available in UiPath studio. (with UiPath
flowchart).
Refer Q.42 for flowchart and text extraction.
Types of OCR:
You can use this activity by simply dragging and dropping the Type into activity, and
specifying the keystrokes and the special keys by clicking on the + icon and
choosing the key from the drop-down list (if you wish to send special keys also). You
also have to Indicate on screen the area where you want the text to be typed.
3.Type secure text
This activity is used to send secure text to the UI element. It sends the string in a
secure way:
i) Drag and drop a Flowchart on the Designer panel. Search for keyboard in the
search bar of the Activities panel. Drag and drop the Type secure text activity.
Right-click on the Type secure text activity and select Set as Start Node.
45. A use case of RPA in amazon webstore was discussed. Interpret an Automation
Process to extract the list of books named “RPA using UiPath” from the URL
“Amazon.com” and build a data table to display the list of the first 50 book titles and
their URL using dynamic data scraping.
(For this question an approach similar to the one below is followed with “RPA using UiPath”
searched in the amazon search instead of books. The entities include book name and URL)
47. Demonstrate automation for opening Notepad, write some data into it, copy the data
to the clipboard. and then extract the data from the clipboard.
48. Analyse a workflow for Facebook login to perform exception handling mechanisms for
the following. (with UiPath flowchart) ***
i) If the login page closes immediately
ii) If any UI element not responding
iii) When to use the System. Exception
There are various techniques provided by UiPath Studio for debugging in order to
check whether the workflow is running successfully or to find out errors in order to
rectify them. At the top of the UiPath window, we can see various available methods
of debugging inside the EXECUTE block.
There are various techniques for debugging. They are:
● Setting breakpoints
● Slow step
● Highlighting
● Break
50. Analyse six common exceptions and the ways to handle them. (with UiPath flowchart)
Six Common exceptions and ways to handle them -
1. Unavailability of UI element:
When working on UiPath, especially on the web, we may encounter this type
of error. This is because the UI element was not found due to the dynamic
behaviour of the web page.
To handle this exception, we have to make changes in the selector attributes
or we have to add new attributes to the selector so that the UI element can be
easily found. For example, if we have a variable which is dynamically
changing, we can use a wildcard so that it can be easily found by the robot.
We can edit the dynamic attribute of the selector using wildcard characters.
Another way is to attach it to the live element.
4. Index was outside the bounds of an array. Index out of the range
This error occurs when we try to iterate array elements by an index which is
out of range. This happens when we are not aware of the size of the array
and we just randomly type the index to access the element.
To resolve this, we must check the size of the indexes of the array or the
collective list.
6. Click Generic error - cannot use UI CONTROL API on this UI node please
use UI Hardware ELEMENTS method
This type of error occurs when the environment in which we are trying to use
the Click activity does not support Simulate or Send message activity (used
by us to click the UI element). Sometimes, either SimulateClick or the
SendWindowMessages may be checked.
In both cases, when an exception is thrown we just have to uncheck the
appropriate box.
51. Analyse a workflow for Excel Application and display its contents via a message box
to perform exception handling mechanisms for the following. (with UiPath flowchart)
○ If the excel file has been closed.
○ If the message box is not displaying the data as expected (string).
53. Analyse the scenarios where the normal implementation would fail and discuss the
entities to tackle failure points
There are 6 scenarios where the normal implementation of an automation could fail:
1. Unavailability of UI element: When working on UiPath, especially on the web,
the UI element would not be found due to the dynamic behaviour of the web
page.
2. Handling runtime exceptions: similar to any program running, We may
encounter runtime errors while working in UiPath.
The entity used to handle exceptions is the Try-catch activity. The Try catch activity can be
found in the Activities panel.
54. What are client logging and server logging? Explain enabling and disabling crash
dumps.
UiPath has a multi-process architecture that offers to execute each workflow
separately in the executor. Executors are managed by UI robots. So, if any executor
stops working, then the entire process will not be affected. Logs are maintained on
both client and server side.