UiPath Activities

The UiPath Activities Guide

Click Images

The example below displays the automated interaction of a robot with a simple windows application by manipulating multiple images until creating a pattern. It presents activities such as Click Image, Double Click Image, or Wait Image Vanish. You can find these activities in the UiPath.UIAutomation.Activities package.

This is how the automation process can be built:

  1. Open Studio and create a new Process.

Note:

Place the window application inside the project folder. You can also use the one provided by us in the downloadable example.
Open the application before running the workflow.

  1. Drag a Sequence container in the Workflow Designer.
  2. Drag a Wait Image Vanish activity inside the Sequence container.
    • Inside the activity, click the Indicate image on screen option. Select the loading image like in the following GIF:
      1
    • In the Properties panel, add the value 45000 in the Timeout (milliseconds) field.
  3. Drag a Message Box activity under the Wait Image Vanish activity.
    • Add the expression "Load Complete. Press OK to start" in the Text field.
  4. Drag an Attach Window activity below the Message Box activity.
    • Inside the activity, click the Indicate image on screen option. Select the app image like in the following GIF:
      2
  5. Drag a Click Image activity inside the Body container of the Attach Window activity.
    • Inside the activity, click the Indicate element inside window option. Select the desired element from the image, like in the following GIF:
      3

Note:

Using a Click Image activity clears a box, while using a Double Click Image activity, turns the box blue.
Use as many Click Image and Double Click Image activities, as needed, in order to create a specific pattern.

  1. Run the process. The robot runs the Windows application and creates a pattern using blue images. For this example we're written Ui.
    4

Updated 3 months ago


Click Images


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.