Selectors in Studio Flashcards

1
Q

What are Selectors?

A
  • A selector in UiPath Studio is a feature that enables the identification of a specific User Interface element through its address and attributes.
  • stored as XML fragments. The element identification is done to perform specific activities in an automation project.
  • Selectors are generated automatically every time we use an activity that interacts with graphical user interface elements.
  • UiPath Studio requires the detailed path to a specific element within the user interface.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the ways of selectors can be viewed and edited?

A

Using the selector editor or UIExplorer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When the selectors require fine tuning?

A
  • When the selectors are too specific
  • When the selectors contain dynamic elements
  • When the selectors contains idx s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the tag of the following selector node?
<webctrl parentid=‘slide-list-container’ tag=‘A’ aaname=‘Details’ class=‘btn-dwnl’ />

A

webctrl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Selector node attributes consist of….

A

Key and value pairs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the attributes of following selector node?
<webctrl parentid=‘slide-list-container’ tag=‘A’ aaname=‘Details’ class=‘btn-dwnl’ />

A
  • parentid=‘slide-list-container’
  • tag=‘A’
  • aaname=‘Details’
  • class=‘btn-dwnl’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the UI Explorer?

A

The UI Explorer is the functionality in UiPath Studio that allows you to analyze and edit selectors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some business scenarios in which I will use the UI Explorer?

A
  • The selectors change from one execution to another.
  • The selectors might change following product updates.
  • The selectors use unreliable info, such as index.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the functionality of the ‘Validate’ option in UIExplorer?

A
  • To check if the selector is valid after editing a selector
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the functionality of the ‘Indicate Element’ option in UIExplorer?

A

To point a UIElement and display its selector and tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the functionality of the ‘Indicate Anchor’ option in UIExplorer?

A

To choose anchor relative to the targeted element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the functionality of the ‘Highlight’ option in UIExplorer?

A

To highlight the element corresponding to the current selector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the functionality of the ‘Visual Tree’ in UIExplorer?

A

Use to find all the UI elements in all the open apps, in a folder/subfolder structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the functionality of the ‘UI Hierachy’ panel in UIExplorer?

A

Display all the nodes of the selector. Nodes can be checked or unchecked.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the functionality of the ‘Edit Attributes’ panel in UIExplorer?

A

To edit the attributes of the selected node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the functionality of the ‘Indicate Anchor’ option in UIExplorer?

A

To switch the UI framework used to identify the selector

17
Q

What are the UI Frameworks available in the UIExplorer

A
  • Default
  • Active Accessibility
  • UI Automation
18
Q

What is the ‘Default’ UI framework?

A

This is the proprietary method that usually works correctly with all types of user interfaces.

19
Q

What is the ‘Active Accessibility’ UI framework?

A

This represents an earlier solution from Microsoft that makes apps accessible. It is recommended when using legacy software, if the default framework does not work as expected.

20
Q

What is the ‘UI Automation’ UI framework?

A

This is the improved accessibility model from Microsoft, which is recommended when using newer applications in case the default framework does not work as expected.

21
Q

What needs to be done after switching to a different UI framework from the UI Explorer

A

Indicate the element again

22
Q

What are the panels available in the Selector Editor window?

A
  • Edit Attributes
  • Edit Selector
23
Q

What is the ‘Property Explorer’ panel available in the UI Explorer?

A

The Property Explorer is a functionality of the UI Explorer that displays all the attributes of a certain UI element, including those that are not displayed in the selector, like position, visibility, innertext, and so on.

24
Q

Which panel in the UiExplorer displays all the nodes of a selector?
A. UI Frameworks
B. UI Hierarchy
C. Visual Tree
E. Property Explorer

A

B. UI Hierarchy

25
Q

What are the types of selectors?

A

Full Selectors
Partial Selectors

26
Q

What are the Full Selectors?

A
  • Contain all the tags and attributes needed to identify a UI element, including the top-level window.
  • Generated by the Basic Recorder
  • Best suited when the actions performed require switching between multiple windows.
27
Q

What are the Partial Selectors?

A
  • Don’t contain the tags and attributes of the top-level window, thus the activities with partial selectors must be enclosed in containers.
  • Generated by the Desktop Recorder.
  • Best suited for performing multiple actions in the same window.
28
Q

Which of the following statements apply to partial selectors?
A. Generated by the Basic Recorder.
B. Generated by the Desktop Recorder.
C. Best suited for performing multiple actions in the same window.
D. Activities with partial selectors must be enclosed in containers.
E. Best suited when the actions performed require switching between multiple windows.

A

B. Generated by the Desktop Recorder.
C. Best suited for performing multiple actions in the same window.
D. Activities with partial selectors must be enclosed in containers.

29
Q

What are the ways of fine-tuning the selectors?

A
  • Using WildCards
  • Using Variables
  • Using index variables
30
Q

How many characters are replaced by Asterisk(*)?

A

0 or more

31
Q

How many characters are replaced by question mark(?)?

A

One

32
Q

Which approach uses a UI element that is stable and is linked to the target UI element to fine-tune the selector?
- Anchor Base
- Visual Tree
- Find Children
- Relative Selector

A
  • Anchor Base
33
Q

What is the type of selector that is generated when you use a Type Into activity in a container such as Open Browser?
a. A partial selector
b. A static selector
c. A full selector
d. A dynamic selector

A

a. A partial selector

34
Q

This is a reliable selector for a dynamic page: “webctrl idx=‘144’ tag=‘IMG’/”.
a. True
b. False

A

b. False

35
Q

Which one of the nodes of a selector is named the “root node”?
a. The center-level node, corresponding to the application
b. The highest-level node, corresponding to the application
c. Neither of the three
d. The lowest-level node, corresponding to the GUI element

A

b. The highest-level node, corresponding to the application

36
Q

Which panel of UI Explorer interface contains all the UI elements of an opened application?

A

Visual Tree

37
Q

What is a selector?
a. The “path” to the UI element, starting from the root, all the way to the target element.
b. The unique ID of an UI element.
c. A container for UI elements.
d. An activity used to select an element

A

a. The “path” to the UI element, starting from the root, all the way to the target element.

38
Q

What is UiExplorer used for?
a. To explore the workflow tree
b. To explore the UI tree
c. UiExplorer is not a component of UiPath
d. To create and fine tune selectors

A

b. To explore the UI tree
d. To create and fine tune selectors