---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Find the elements on the application screen

# Find the elements on the application screen {#ariaid-title1}

* Release version: Yokohama
* 
* Updated April 21, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Use the locators of the captured elements to find the elements on the application screen while using the Universal App Connector (UAC) in the RPA Desktop Design Studio.

## Before you begin

Familiarize yourself with UAC concepts. For more information, see [Universal app connector](https://www.servicenow.com/docs/rekyx1sNkMiQ18g1gPcqbQ "Create automations for your Windows, Java, and web applications by using the Universal App Connector (UAC) of RPA Desktop Design Studio. Configure the application screens and their elements from a single, unified connector instead of using the individual connectors of these applications.").

Configure the UAC. For more information, see [Use the Universal App Connector](https://www.servicenow.com/docs/zkJdqtWyhpAJA3G39JM4WQ "Create automations for your Windows, Java, Google Chrome, and Edge browser-based applications by using the Universal App Connector (UAC). Configure the applications from a single, unified connector and capture the screens and elements or screen controls such as check boxes, and buttons. Use the methods of these screens and elements to build your automation.").

Verify that you have open or active Windows, Java, Google Chrome, or Edge applications.

Role required: None

## About this task

The UAC provides multiple locator types. For example, the XPath locator provides the XPath to the element.Figure 1. Locator types

## Procedure

1. In the Toolbox pane, navigate to Connectors, and drag Universal App Connector to Global Objects in the Project Explorer pane.  
   The connector is added as a UniversalApplication object under Global Objects.
2. Configure Universal App Connector and add a screen.  
   For more information, see [Use the Universal App Connector](https://www.servicenow.com/docs/zkJdqtWyhpAJA3G39JM4WQ "Create automations for your Windows, Java, Google Chrome, and Edge browser-based applications by using the Universal App Connector (UAC). Configure the applications from a single, unified connector and capture the screens and elements or screen controls such as check boxes, and buttons. Use the methods of these screens and elements to build your automation.").
3. Under the Screens and elements pane, select an element under a screen.
4. From the Locator list, select one of the element locators.  
   {#find-elements-screen-uac__table_d5c_1pn_rzb__entry__3}

   | Locator type | Application type | Description |
   |-|-|-|
   | Id | Web, Java, and Windows | Unique identifier of the element if its defined in the target application. |
   | Name | Web, Java, and Windows | Unique name of the element if its defined in the target application. |
   | CssSelector | Web | The CSS selector that locates the captured web element. For example, `div#navbarNav > ul > li > a`. If a web application supports Shadow DOM, the CSS Selector shows the path with the shadow DOM elements. For example, `html > body > shop-app > /ShadowDom/ > app-header[id="header"] > app-toolbar > div:nth-of-type(3) > a > paper-icon-button > /ShadowDom/ > iron-icon[id="icon"]` |
   | TagName | Web | Unique tag name of the web element. |
   | JavaScript | Web | Allows the user to define a custom JavaScript code to locate an element. |
   | XPath | Web | XPath to locate the web element. If a web application supports Shadow DOM, this locator shows the full XPath with the Shadow DOM elements. For example, `html > body > shop-app > /ShadowDom/ > iron-pages > shop-home > /ShadowDom/ > div > h2`. |
   | Type | Java and Windows | Enables you to locate a screen element by its type. For example, button or text box. When you select the `Type` locator, the UAC connector populates the Value field with the type of the element. |
   | Path | Java and Windows | Enables you to locate a screen element by specifying its position in the hierarchy of screen elements. When you select the `Path` locator, the UAC connector populates the Value field with the path of the element. |
   | CustomPath | Windows | Enables you to fine-tune or trim the path to an element. |
   [Table 1. Screen element locators]

   {#find-elements-screen-uac__table_d5c_1pn_rzb}

