Pre-General Availability: 2024-09-02

Add a Clear Text Action

The clear text action removes text from a field in a user interface.

Note:

You must use the low-code capabilities to add this action to a robot. Keep reading for step-by-step instructions.
  1. Open the robot to edit.
    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 the action to the robot.
    1. On the canvas, point to an action, and click +.
      A mouse cursor points to an action in the canvas and hovers over the plus sign button, which appears at the bottom of the rectangle that represents the action. A plus sign button also appears at the top of the rectangle, for adding an action after the current action.

      A menu of available actions appears.

    2. Select Clear Text.

      A Clear Text action appears on the canvas, and the Clear Text panel appears.

  3. In the panel, enter a Name and Description for the action.

    The Name appears on the action in the canvas and should help you and others understand the goal of the action.

  4. On the Input tab, specify input details for the action.
    1. In another browser window, open the application that the robot needs to work in.
    2. In the robot, click within the Locator field, and select Target a page element Target a page element.

      The Target a page element panel appears.

    3. In the Target a page element panel, open the Select browser tab to target drop-down, select the application that you want to work in, and select Go. You might need to scroll down to find the application.

      The application that the robot needs to work in opens.

    4. In the application that the robot needs to work in, point to the field from which the robot needs to clear text, but don't select the field yet.

      For example, do not select the UI element while the magnifying lens icon appears and the field is shaded purple. The recorder is still collecting information about the UI element.

      A text box with numbers in it is shaded purple, and a magnifying lens icon appears above it

    5. After the icon changes to a target, the shading turns green, and the mouse icon changes to a hand, select the UI element.

      A text box with numbers in it is shaded green, and a target icon appears above it

      For more tips, see Quick Start for Building Robots.

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

      Tip:

      Your settings determine whether Oracle Integration reuses targets for previously selected UI controls. You can override this setting, if needed. Reusing a target offers benefits. For example, you can update a target one time, and all robots that use the target get the update.
  5. On the Input tab, specify whether to capture any screenshots as part of the action.
  6. On the Pre Validate and Post Validate tabs, specify whether to complete any validation before and after the action.
  7. Click OK.
  8. Above the canvas, select Save.