Pre-General Availability: 2024-09-02

View All Elements to Target

When you add an action to a robot using the low-code tools and use the recorder to select an element in the user interface, you have the option of viewing all elements that you can take action on.

You typically complete this task only if a robot failed during testing, and you want to view all of your options for targeting.

  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. Add an action to a robot using the low-code tools.
  3. While you use the recorder to define a locator field for the action, select Settings in the Smart Recording window in the lower-left corner of your browser.
    Settings button

    The Settings panel appears.

  4. In the Settings panel, select Select from various generated selectors, and close the Settings panel.
  5. Point to a UI element that the robot needs to work in, and after the icon changes to a target and the shading turns green, select the UI element.

    The Target Element panel appears. This panel lists all the possible XPaths and other elements that you can target for the selected component.

  6. Identify the selector to target, and click Select.

    The recorder enters a value in the Locator field in the robot.

The setting remains selected for your sign-in session.