UiPath Automation Developer Professional v1 UiPath-ADPv1 Exam Questions

Page: 1 / 14
Total 205 questions
Question 1

A developer extracts a date from an email. The date will always be In the same format and always from the past. Some examples of this format are: "3 Mar 2023". "20 Nov 2021". The name of the variable where the date is saved is DateString What expression should the developer use to check If the extracted date is within the last 7 days?



Answer : C

The date is in the format 'd MMM yyyy' (e.g., '3 Mar 2023').

The correct expression is: (DateTime.Now - DateTime.ParseExact(DateString, 'd MMM yyyy', CultureInfo.InvariantCulture)).Days < 7.

This expression calculates the difference in days between the current date (DateTime.Now) and the parsed date (DateTime.ParseExact(DateString, 'd MMM yyyy', CultureInfo.InvariantCulture)).

It then checks if this difference is less than 7 days, which means the date is within the last 7 days.


Question 2

A developer wants to create an automation in which the input from the user and pre-defined conditions determine the transition between stages. In UiPath Studio, which is the recommended type of workflow that meets the requirement?



Answer : A


Question 3

What are the four job types present in the Job Type field according to the place of execution and robot impersonation?



Answer : A

In UiPath, the four job types according to the place of execution and robot impersonation are Foreground unattended, Background unattended, Attended, and Development. These job types differentiate the automation tasks based on whether they require user interaction (Attended), can run in the background without user intervention (Background unattended), are designed for development and testing purposes (Development), or are unattended tasks that require a virtual environment (Foreground unattended).Reference:

UiPath Orchestrator Guide: Job Types


Question 4

When automating the process of entering values into a web form, requiring each field to be brought to the foreground, which property of the Type Into activity should be adjusted to achieve this?



Answer : B

The Type Into activity is used to send keystrokes to a UI element, such as a text box1. The activity has several properties that can be adjusted to achieve different behaviors and results1. One of these properties is the Activate property, which determines whether the specified UI element is brought to the foreground and activated before the text is written1. By default, this property is not selected, which means that the activity will type into the current active window1. However, if the property is selected, the activity will first make sure that the target UI element is visible and focused, and then type the text1. Therefore, if the automation process requires each field to be brought to the foreground, the Activate property of the Type Into activity should be adjusted to achieve this


Question 5

A developer Intends to incorporate a Flow Switch activity within a Flowchart. What Is a characteristic of this activity?



Answer : C

In UiPath, the Flow Switch activity is commonly used within flowcharts. Its default TypeArgument property is set to Int32, which means it is primarily used to handle integer-based decision branching.


Question 6

Assume we have the Verify Expression with Operator activity from the UiPath. Testing.Activities package with the properties configured as follows:

The activity is used within a Try-Catch activity. The Catch block is set to System.Exception and UiPath.Testing.Exception.TestingActivitiesException as shown in the screenshot below:

During the execution of the sequence shown above, which block from the Try-Catch activity will be entered first, after the Verify Expression with Operator activity is executed?



Answer : C

The Verify Expression with Operator activity is used to verify an expression by asserting it in relation to a given expression with an operator1. The expressions tested with this activity must be inserted in their respective property fields. In this case, the activity is configured to verify if the expression ''1'' is equal to the expression ''2''.The result of this verification is stored in the Result property, which reflects the state of the verification activity1.If the verification fails, the activity throws a TestingActivitiesException, which is a custom exception type defined by the UiPath.Testing.Activities package2.

The Try-Catch activity is used to catch a specified exception type in a sequence or activity, and either displays an error notification or dismisses it and continues the execution3. The activity has three main sections: Try, Catches, and Finally. The Try section holds the activity or set of activities that could throw an exception. The Catches section indicates the exception type and holds the activity or set of activities to be performed when the specified exception is thrown.The Finally section holds the activity or set of activities to be performed after the Try and Catches blocks are executed, regardless of the result3.

In this scenario, the Verify Expression with Operator activity is placed in the Try section of the Try-Catch activity. The Catches section has two exceptions caught: System.Exception and TestingActivitiesException. The Finally section is empty. During the execution of the sequence, the Verify Expression with Operator activity will throw a TestingActivitiesException, because the expressions 1 and 2 are not equal. The Try-Catch activity will catch this exception and enter the TestingActivitiesException sequence from the Catches section, where the appropriate actions can be performed to handle the error. Therefore, the correct answer is C. The Exception sequence from the Catches block within the Try-Catch activity will be entered first, after the Verify Expression with Operator activity is executed.

The other options are incorrect because:

Option A is incorrect because the Try-Catch activity will execute one of the blocks within the Catches section, depending on the type of exception thrown by the Verify Expression with Operator activity. In this case, the TestingActivitiesException sequence will be executed.

Option B is incorrect because the Finally block within the Try-Catch activity will be executed only after the Try and Catches blocks are executed, not before.The Finally block is used to perform any cleanup or final actions that are needed regardless of the outcome of the Try and Catches blocks3.

Option D is incorrect because the TestingActivitiesException sequence from the Catches block within the Try-Catch activity will be entered second, not first, after the Verify Expression with Operator activity is executed. The first block to be entered is the Try block, where the Verify Expression with Operator activity is placed.


Activities - Verify Expression With Operator - UiPath Documentation Portal

UiPath.Testing.Activities Namespace

Activities - Try Catch - UiPath Documentation Portal

Question 7

Which Scraping method should be used for the Get Text activity to capture hidden text from an application?



Answer : B

The Get Text activity in UiPath Studio is used to extract and copy the text from a UI element. It has a property called Scraping method, which allows you to choose the method of scraping text from the target element. The available methods are Default, Text attribute, Full text, and Native.

The Default method tries all the other methods and chooses the best one automatically. The Text attribute method uses the text value of the target element as the output. The Native method uses the native method of the application to scrape the text, and allows formatting and screen coordinates to be retrieved. The Full text method uses an OCR engine to scrape the text, and offers the option to Ignore hidden text, which can be activated by selecting its respective check box.

To capture hidden text from an application, the Full text method with the Ignore hidden text option enabled should be used. This way, the Get Text activity can retrieve the text that is not visible on the screen, but is present in the UI element. For example, this method can be used to get the text from a combo box that has more items than the ones displayed, or from a terminal window that has more editable text than the ones shown.


Page:    1 / 14   
Total 205 questions