Tutorial: Clicking to application controls with the recorder

Learn how to use the Click command to click or double-click UI controls in a sample application.

Before you begin

This procedure uses the IBM RPA Studio's recorder to record controls. It assumes that you installed the drivers that are needed to record Windows™ or Java™ applications, and started a driver.

Before you proceed with the procedure, make sure you comply with the following requirements:

  • Product requirements
    IBM RPA Studio license

  • User requirements
    You must have permission to use the IBM RPA Studio application.

    For more information about how to manage user's roles and permissions, see Managing user's roles.

  • Computer requirements
    Use screen scale at 100% when mapping controls.

Procedure

The following video explains how you can create a script that clicks a user interface control. It builds a script with assistance of IBM RPA Studio's recorder tool to enter an example application and click a checkbox. You can follow both the video and the written steps to proceed with the procedure.

Note: This video has no narration.

The following steps create the same script as explained in the previous video, which aims to click a UI control in an example application. The written steps don't explain how to use the IBM RPA Studio's recorder tool.

  1. Start the IBM RPA Studio’s recorder and open an application.
  2. Click Window > Launch and Attach Window
  3. In the Launch and Attach Window dialog, click the File Selection button in the Executable parameter.
  4. In the dialog, select an application executable file, and click Open.
  5. Place the cursor over a control and hold the Ctrl key until it highlights in green.
  6. Click Actions > Click, and click Auto Suggest.
  7. Save the command.

Results

You built your script to open an application and click a control.

What to do next

Follow the Setting values to an application with recorder and Getting values from application controls with recorder tutorials to extend this one with more actions. They follow the same script logic that appears in the previous video.