# US 2025/0094027 A1 · Component Selector for User Interfaces with Dynamic Identifiers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0094027 A1
- Document ID: US20250094027A1
- Status: Published application
- Kind: A1
- Application number: 18/469,345
- Filed: 2023-09-18
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Sathi Babu Peddada; Akash Kumar; Karthik Macherla; Hari Teja Varma Jampana; Ravindra Sunkaranam; Aditya Ramamurthy
- Web page: https://patentgrep.com/patent/US20250094027A1

## CPC

- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/0483: Interaction with page-structured environments, e.g. book metaphor
- G06F 8/38: for implementing user interfaces
- G06F 9/451: Execution arrangements for user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes obtaining an indication of a user interface (UI) component of a user interface, and determining an association between the UI component and a dynamic identifier. The method also includes, based on determining the association, determining one or more static properties of one or more parent UI components of the UI component, and generating a component selector for the UI component based on the one or more static properties. The method further includes outputting the component selector for the UI component.

## Claims

### Claim 1

A method comprising:
obtaining an indication of a user interface (UI) component of a user interface;
determining an association between the UI component and a dynamic identifier;
based on determining the association, determining one or more static properties of one or more parent UI components of the UI component;
generating a component selector for the UI component based on the one or more static properties; and
outputting the component selector for the UI component.

### Claim 2 (depends on 1)

The method of claim 1, wherein the dynamic identifier is configured to change across renderings of the user interface, and wherein determining the association comprises determining that the UI component comprises the dynamic identifier.

### Claim 3 (depends on 1)

The method of claim 1, wherein the component selector for the UI component is exclusive of the dynamic identifier of the UI component.

### Claim 4 (depends on 1)

The method of claim 1, wherein the component selector for the UI component is unique at least within a context of the user interface.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the component selector comprises:
combining the one or more static properties according to a predetermined pattern.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the user interface comprises a plurality of screens each configured to be toggled between a displayed state and a hidden state;
the plurality of screens is represented using a shared document object model (DOM);
determining the one or more static properties comprises determining, based on the shared DOM, an active screen identifier associated with an active screen of the plurality of screens;
the active screen is in the displayed state and comprises the UI component; and
the component selector is based on the active screen identifier.

### Claim 7 (depends on 6)

The method of claim 6, wherein:
a respective screen of the plurality of screens comprises a plurality of tabs each configured to be toggled between the displayed state and the hidden state;
the plurality of tabs is represented using the shared DOM;
determining the one or more static properties comprises determining, based on the shared DOM, an active tab identifier associated with an active tab of the plurality of tabs;
the active tab is in the displayed state and comprises the UI component; and
the component selector is based on the active tab identifier.

### Claim 8 (depends on 6)

The method of claim 6, wherein:
the user interface comprises (i) a content display portion configured to individually display each respective screen of the plurality of screens and (ii) a navigation pane that provides for selection of the active screen and remains constant as the content display portion displays different screens of the plurality of screens;
determining the one or more static properties comprises:
determining that the UI component is part of the content display portion; and
based on determining that the UI component is part of the content display portion, determining the active screen identifier associated with the active screen.

### Claim 9 (depends on 1)

The method of claim 1, wherein:
the user interface comprises (i) a content display portion configured to display one or more screens of the user interface and (ii) a navigation pane that remains constant as the content display portion displays different screens of the one or more screens;
determining the one or more static properties of the one or more parent UI components comprises:
determining that the UI component is part of the navigation pane; and
based on determining that the UI component is part of the navigation pane, determining a navigation pane identifier associated with the navigation pane; and
the component selector is based on the navigation pane identifier.

### Claim 10 (depends on 1)

The method of claim 1, wherein:
the user interface comprises a screen comprising one or more macroponents configured to define a composition of contents of the screen;
determining the one or more static properties comprises:
determining that the UI component is part of a macroponent of the one or more macroponents; and
based on determining that the UI component is part of the macroponent, determining a macroponent identifier of the macroponent.

### Claim 11 (depends on 1)

The method of claim 1, wherein determining the one or more static properties comprises:
determining a compositional identifier of a compositional element that contains the UI component, wherein the compositional element defines a layout of the UI component within a portion of the user interface, and wherein the component selector is based on the compositional identifier.

### Claim 12 (depends on 11)

The method of claim 11, wherein determining the compositional identifier comprises:
determining that (i) the compositional element is a parent of the UI component and (ii) a name of the compositional element includes a predefined string assigned to the compositional element by a user interface framework configured to assign the dynamic identifier to the UI component.

### Claim 13 (depends on 11)

The method of claim 11, wherein determining the compositional identifier comprises:
determining that the compositional identifier is not unique in a context of a parent component that contains the compositional element; and
based on determining that the compositional identifier is not unique, determining a compositional parent identifier of the parent component, wherein the component selector is based on the compositional identifier and the compositional parent identifier.

### Claim 14 (depends on 1)

The method of claim 1, wherein the one or more static properties comprise at least one static property associated with the UI component, wherein the UI component is associated with a concatenation of (i) the dynamic identifier and (ii) a static identifier that corresponds to a first type of the UI component and is shared by different instantiations of UI components of the first type, and wherein determining the one or more static properties comprises:
identifying, based on the concatenation, the static identifier; and
determining a static component identifier based on the static identifier, wherein the component selector is based on the static component identifier.

### Claim 15 (depends on 14)

The method of claim 14, wherein determining the static component identifier comprises:
determining that the static identifier is not unique in a context of a compositional element that contains the UI component;
based on determining that the static identifier is not unique in the context of the compositional element, determining a parent identifier of a first parent component that contains the UI component and forms part of the compositional element; and
determining the static component identifier based on the parent identifier and the static identifier.

### Claim 16 (depends on 1)

The method of claim 1, wherein determining the association between the UI component and the dynamic identifier comprises:
determining, based on an attribute associated with the user interface, that the user interface has been generated by a user interface framework configured to assign the dynamic identifier to the UI component.

### Claim 17 (depends on 1)

The method of claim 1, further comprising:
parsing a representation of the user interface to identify one or more portions of the component selector within the representation of the user interface; and
based on identifying the one or more portions of the component selector within the representation of the user interface, identifying the UI component within the user interface.

### Claim 18 (depends on 1)

The method of claim 1, further comprising one or more of:
associating the component selector with a portion of a definition of a guided tour for the user interface; or
using the component selector to identify the UI component as part of a playback of the guided tour for the user interface.

### Claim 19

A non-transitory computer-readable medium, having stored thereon program instructions that, upon execution by a computing system, cause the computing system to perform operations comprising:
obtaining an indication of a user interface (UI) component of a user interface;
determining an association between the UI component and a dynamic identifier;
based on determining the association, determining one or more static properties of one or more parent UI components of the UI component;
generating a component selector for the UI component based on the one or more static properties; and
outputting the component selector for the UI component.

### Claim 20

A system comprising:
one or more processors; and
memory, containing program instructions that, upon execution by the one or more processors, cause the system to perform operations comprising:
obtaining an indication of a user interface (UI) component of a user interface;
determining an association between the UI component and a dynamic identifier;
based on determining the association, determining one or more static properties of one or more parent UI components of the UI component;
generating a component selector for the UI component based on the one or more static properties; and
outputting the component selector for the UI component.
