In the Global Exception Handler, which arguments are provided by default and should not be removed?
Correct Answer: D
The Global Exception Handler is a type of workflow that determines the project's behavior when encountering an execution error. It has two arguments that are provided by default and should not be removed. They are: errorinfo: This argument has the "In" direction and it stores information about the error that was thrown and the workflow that failed. It can be used to log the error details, get the name of the activity that caused the error, or count the number of retries1. result: This argument has the "Out" direction and it is used to specify the next action of the process when it encounters an error. It can have one of the following values: Continue, Ignore, Retry, or Abort. These values determine whether the exception is re-thrown, ignored, retried, or stops the execution1. The other options are not correct, because they either have the wrong direction for the arguments, or they use the "In/Out" direction, which is not valid for the Global Exception Handler arguments1. References: 1: Studio - Global Exception Handler - UiPath Documentation Portal
Question 92
What is the recommended approach for a user to log custom information at each breakpoint while executing a process in Debug mode?
Correct Answer: A
The Log Message option in the Breakpoint Settings allows the user to log custom information at each breakpoint while executing a process in Debug mode. This option can be accessed by right-clicking on a breakpoint and selecting Breakpoint Settings. The user can then enter a message that will be logged in the Output panel when the breakpoint is hit. The message can include variables, arguments, and pseudovariables, such as $PID, $TID, $FUNCTION, etc1 Option B is not recommended, because it requires the user to insert a Log Message activity before each activity with a breakpoint, which can be tedious and clutter the workflow. Option C is not relevant, because it enables or disables logging for all activities in the project, not just the breakpoints. Option D is not related, because it shows the execution flow of the process, not the custom information at each breakpoint. References: 1: Studio - The Breakpoints Panel
Question 93
A developer is working on an automation using the REFramework. Each transaction item represents a piece of client information. For each customer, the automated procedure must click the "Generate Shipment Details" button. This generates a table of shipment records for each customer. What type of exception occurs when the data is not accessible, the created table displays only the header row, and processing for that client must be halted?
Correct Answer: A
When the data is not accessible, the created table displays only the header row, and processing for that client must be halted, a BusinessRuleException occurs. A BusinessRuleException is a type of exception that indicates a business logic error or a validation error that cannot be resolved by retrying the transaction. For example, if the input data is incorrect, incomplete, or outdated, a BusinessRuleException should be thrown. A BusinessRuleException can be thrown by using the Throw activity with the following expression: VB New BusinessRuleException("Message") where Message is a string that describes the error. A BusinessRuleException can be caught by using the Catch activity with the following expression: VB ex As BusinessRuleException where ex is a variable that stores the exception object. A BusinessRuleException can be handled differently from other types of exceptions, such as SystemException or ApplicationException, depending on the logic of the automation. For example, in the REFramework, a BusinessRuleException sets the status of the transaction item to Failed and does not retry the transaction, whereas a SystemException sets the status of the transaction item to Retry and retries the transaction up to a specified number of times. References: [BusinessRuleException], [Throw], [Catch], [REFramework]
Question 94
What happens when the area selection feature in the UiPath Computer Vision wizard is used?
Correct Answer: D
The area selection feature in the UiPath Computer Vision wizard is used to indicate a specific region of the screen that you want to work with. It can be activated by clicking the Indicate on screen button in the CV Screen Scope activity or any other Computer Vision activity that requires a target element. The area selection feature allows you to draw a box around the desired area, and then choose an anchor for it. The anchor is a stable UI element that helps locate the target area at runtime. The area selection feature is helpful when dealing with multiple fields bearing the same label, such as text boxes, check boxes, or radio buttons. In such cases, the Computer Vision engine may not be able to identify the correct field to interact with, or it may return ambiguous results. By using the area selection feature, you can narrow down the scope of the target element and avoid confusion. The other options are not correct descriptions of the area selection feature. Option A is false, because the selected area is not treated as a single UI element, but as a region that contains one or more UI elements. The Computer Vision engine still analyzes the contents of the selected area and returns the best match for the target element. Option B is false, because the selected area is not automatically resized to fit all UI elements within it. The selected area remains fixed, unless you manually adjust it. Option C is false, because the area selection feature does not create a duplicate UI, nor does it modify the copy in the automation process. The area selection feature only selects a portion of the existing UI, and performs the specified action on it. References: Using the Computer Vision activities - UiPath Documentation Portal, Computer Vision activities - UiPath Documentation Portal, Extract multiple words - AI Computer Vision - UiPath Community Forum, Computer Vision Recording - UiPath Community Forum
Question 95
Which of the following statements is true about the existing UiPath Studio installation packages?
Correct Answer: A
The statement that is true about the existing UiPath Studio installation packages is that the Attended Robot installation package installs only the UiPath Robot. The UiPath Robot is the component that executes the automation workflows designed in UiPath Studio. The Attended Robot installation package is intended for scenarios where the Robot works on the same machine as a human user and requires human input or supervision. The Attended Robot installation package does not include UiPath Studio or UiPath Assistant. UiPath Studio is the component that allows the developer to design and debug the automation workflows. UiPath Assistant is the component that allows the user to manage and run the automation workflows on their machine. The Unattended Robot installation package and the Automation Developer installation package both include UiPath Studio, UiPath Assistant, and UiPath Robot, but they are intended for different scenarios. The Unattended Robot installation package is for scenarios where the Robot works on a dedicated machine and does not require human input or supervision. The Automation Developer installation package is for scenarios where the developer needs to create and test the automation workflows on their machine. References: [UiPath Installation Guide], [UiPath Robot], [UiPath Studio], [UiPath Assistant]