Create your first automation in just a few minutes.Try Studio Web →
by YouTube
1
Snippet
<100
Summary
Summary
Increase the reusability of selectors across multiple automation projects
Overview
Overview
Selectors are used by UiPath Studio and UiPath Robot to locate elements of the user interface (UI). They are represented as XML strings that contain information about UI controls (e.g., wnd and webctrl) and theirs attributes (e.g., aaname and tag). Although selectors are usually hardcoded into the activities that make use of them, in certain situations it can be necessary to choose a selector during runtime. Examples of such cases include:
To enable a more flexible management of selectors, one alternative is to store them in external files, which can be called selector repositories. These repositories can be, for example, Excel workbooks with metadata about selectors, such as language and environment.
The Selector Repository Reader can retrieve selectors from selector repositories, filter them according to the system’s characteristics (e.g., language and environment) and return only selectors that match these characteristics.
Features
Features
The advantages of using the Selector Repository Reader include: Easier organization and management of selectors of an automation project. Fast and efficient choice of selectors that match the system’s characteristics. Increased reusability of workflows across different projects.
Additional Information
Additional Information
Dependencies
None.
Code Language
Visual Basic
Technical
Version
1.0.0Updated
February 18, 2020Works with
Tested with UiPath Studio 2018.2 and UiPath Studio 2019.10.
Certification
Silver Certified
Support
UiPath Community Support
Resources