Click on image

Description

Clicks on the found image on the screen.

Parameters

Image parameters

Create image from screenshot - allows you to take a screenshot and crop the obtained image to search for it. By default, the picture is saved at "C:\Users\<User>\electroNeek\screenshots".

Image path

  1. Set a value: enables you to directly write the desired path. Clicking the 'Pick' button allows you to manually choose the path.

  2. Save the previous step result: chooses the previous function result as a path.

  3. Calculate a value: enables you to use available properties and methods to form a path.

Image index

If several matches are found according to the set image then one of these matches must be selected in order to perform the click. By default, the 0 value is set which means the robot will click on the first found match.

  1. Set a value: enables you to directly specify the match number.

  2. Save the previous step result: chooses the previous function result as the match number.

  3. Calculate a value: enables you to use available properties and methods to form the match number.

Search parameters

Accuracy, %

Sets the match accuracy of the search. If the value is set to 100%, the robot will search for an exact match.

Search inside specific interface element

Clicking on the 'Change the element' button will let you specify the element inside which the robot will search for the image. After the element is chosen, a list of selected attributes appears. You can enable or disable the attributes to make the selector more reliable and stable.

Right click

With this option activated a robot will perform a click with the right mouse button.

Double click

With this option activated a robot will perform a double click on the specified element.

Comment

Contains an annotation to the block. The input text will be displayed inside the block above the function name.

Usage Examples

This function will be useful in cases when it's not possible to use selectors or coordinate to perform a click. Then selecting an image and clicking on that image is a good alternative.

‚Äč