At indication time, the Strict Selector has the following functionalities available:
Correct Answer: C
Explanation The Strict Selector option allows you to fine-tune the selector by adjusting the accuracy level and showing all the matches in the UI Explorer. The other options are not available at indication time. References: Selectors in UiPath Studio course, Lesson 3: UI Explorer, Topic: Strict Selector Uipath Associate Certification UiRPA Question Latest course, Section 2: UI Automation, Lecture: Question 10
Question 17
A developer has declared a variable of type String named StrVar and assigned it the value "UIPATH STUDIO". What is the output of the expression, StrVar.lndexOf("U")?
Correct Answer: A
Explanation The IndexOf method of String values returns the index of the first occurrence of a specified character or substring in a given string. The index is zero-based, meaning that the first character has the index 0, the second character has the index 1, and so on. If the character or substring is not found, the method returns -1. In this case, the expression StrVar.IndexOf("U") returns the index of the first occurrence of the character "U" in the string "UIPATH STUDIO", which is 0. Therefore, the answer is A. 0. References: String.IndexOf Method, String Variables
Question 18
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
Explanation 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.
Question 19
Starting with UiPath Studio version 2022.10, what happens to dependencies that lack Windows compatibility when they are converted in a project?
Correct Answer: C
Explanation Starting with UiPath Studio version 2022.10, the default project type is Windows, which uses .NET 6 or .NET 5 with Windows support1. If a project contains dependencies that lack Windows compatibility, such as custom activities or libraries, they are marked as unresolved when the project is converted to Windows2. The developer needs to manually resolve them by finding compatible alternatives or updating the code3. References: Studio - Hardware and Software Requirements documentation, Project Compatibility section Getting error: No compatible version with windows projects forum post, Question by @RajeshT Uipath New Version Features - 2022.10.3 blog post, New Default Project Compatibility = Windows section
Question 20
What is the purpose of the Invoke Code activity in UiPath?
Correct Answer: A
Explanation The Invoke Code activity in UiPath is an activity that allows developers to execute custom code written in VB.NET or C# within a workflow. The activity can accept a list of input arguments and return a list of output arguments, which can be used to exchange data between the code and the workflow. The activity can also access the variables and arguments defined in the current scope of the workflow. The Invoke Code activity can be useful for scenarios where the existing activities do not meet the specific requirements or logic of the automation process. (UiPath Automation Developer study guide) References: Invoke Code How To Use Invoke Code Activity - In UiPath