A developer indicated a Ul element for a Get Text activity. The automatically-generated selector is shown below. <html app=, chrome.exe, title='temperature now1 /> <webctrl tag='table' class=, ui_side_menu' innertext-19°C 66°F' /> Based on best practices, which selector attribute is unreliable?
Correct Answer: D
Based on best practices, the selector attribute that is unreliable is innertext. The innertext attribute is the text content of a UI element, such as a table, a button, or a label. The innertext attribute is unreliable because it can change dynamically depending on the data or the state of the UI element. For example, the innertext attribute of a table can change when the table is updated with new values, or the innertext attribute of a button can change when the button is clicked or disabled. Using the innertext attribute in a selector can cause the selector to fail or to identify the wrong UI element if the text content is different from the expected value1. Therefore, the innertext attribute should be avoided or replaced with a more reliable attribute, such as tag, class, or title. The tag attribute is the name of the HTML element, such as table, button, or input. The tag attribute is reliable because it does not change unless the UI element is replaced with a different element. The class attribute is the name of the CSS class that defines the style or the behavior of the UI element, such as ui_side_menu, btn-primary, or form-control. The class attribute is reliable because it does not change unless the UI element is styled or modified differently. The title attribute is the text that appears when the mouse pointer is hovered over the UI element, such as temperature now, submit, or username. The title attribute is reliable because it does not change unless the UI element is renamed or removed2. References: Selectors with Wildcards and UiPath Selectors from UiPath documentation and forum.
UiPath-ADAv1 Exam Question 22
What are the components of a process?
Correct Answer: C
The components of a process typically include "Inputs, Process Flows, Source Applications, Outputs". This refers to what the process takes as input (data/files), the sequence of steps or activities that define the process (process flows), the applications involved in the process (source applications), and what the process produces or affects (outputs). References: UiPath Studio Guide: Project Organization Best Practices
UiPath-ADAv1 Exam Question 23
What happens if a process is started from an on-premise UiPath Orchestrator?
Correct Answer: A
In UiPath Orchestrator, when a process is started, it follows a job execution mechanism that ensures the process is executed only on the machines selected for the job. Key Execution Flow in On-Premise Orchestrator: * Machine Provisioning: * Orchestrator provisions the machines (robots) where the automation will execute. * Job Selection: * The user or Orchestrator selects specific machines to run the process. * Process Execution: * The process starts only on the selected machines in Orchestrator. Why is A Correct? # A. The process starts running on all machines that are provisioned in Orchestrator and were selected for the job. * Only the machines selected in Orchestrator will execute the job. * If multiple machines are selected, the process runs on all of them (based on robot allocation and availability). * This follows best practices for load balancing and resource management. References: # UiPath Official Documentation - Jobs in Orchestrator# UiPath Orchestrator Best Practices for Job Execution
UiPath-ADAv1 Exam Question 24
A developer configured the properties for a Click activity as shown below: What happens if the activity cannot find its target at runtime?
Correct Answer: A
If the activity cannot find its target at runtime, an exception is thrown after 10 seconds. This is because the "ContinueOnError" property is set to "False" and the "DelayAfter" property is set to "10" seconds. The "ContinueOnError" property determines whether the automation should continue even when the activity fails, and the "DelayAfter" property specifies the amount of time (in milliseconds) to wait before moving to the next activity. (UiPath Automation Developer study guide) References: * Click * Common Properties
UiPath-ADAv1 Exam Question 25
You are developing the MyApp application that has a table, Table A. When the MyApp application is installed on another instance, you want Table A's records to be installed as part of the application. Table A's records will be installed when:
Correct Answer: D
Comprehensive and Detailed Explanation: In ServiceNow application development, when you want specific records from a table to be included during the installation of an application on another instance, you must explicitly add those records to the application. This is achieved using the "Create Application Files" feature. By doing so, the selected records are packaged as part of the application, ensuring they are installed along with the application's components on any target instance. * Option A: The System Clone > Exclude Tables list pertains to instance cloning processes, not application installations. Modifying this list affects which tables are excluded during cloning but does not influence the inclusion of specific table records during application deployment. * Option B: While extending the Task table allows Table A to inherit certain functionalities, it does not automatically include its records during application installation. The inclusion of records is independent of the table's hierarchy. * Option C: Having an automatic number counter and setting the table property "Includes _data" to True is related to data management within the instance. However, this setting alone does not ensure that specific records are packaged with the application. Therefore, to ensure that Table A's records are included during the installation of MyApp on another instance, you must add those records to the application using the "Create Application Files" feature. References: * ServiceNow Documentation: Application Files