View All Selectors for a Locator Field

When you target a UI element in the Locator field of a robot action, Oracle Integration automatically captures multiple selectors for the UI element, for all actions except web table. You can view the selectors at any time.

Benefit of Capturing Multiple Selectors

Capturing multiple selectors can reduce the time that you spend troubleshooting targeting issues. For example, when a robot runs, if it can't find the first selector on a web page, the robot attempts to find the second and then third selectors.

Selectors That Are Captured

Every Locator field captures the following values, whether you target the field using the recorder or the low-code tools.

The Locator field and Target selector fields appear for a robot action. The Target selector field contains 3 selector values, which have boxes around them and numerical values (1, 2, and 3) pointing to them.

Number in the screenshot Type of selector Beginning of the selector value
1

Relative XPath expression

xpath://
2

Absolute XPath expression

xpath:/
3

Absolute CSS expressions

css:<tag>#

View All Selectors for a Locator Field

  1. Open a robot.
    1. In the navigation pane, select Projects.
    2. Select the project name.
    3. In the left toolbar, select Robot Robot.
    4. In the Robots box, select the robot to open.

      The canvas appears.

  2. Double-click an action with a Locator field.

    The panel for the robot action appears.

  3. Select within the Locator field, and select Show target selector Show target selector.

    The Target selector field appears below the Locator field. This field lists all the selectors, separated by commas, as shown in the previous screenshot.