Description
Finds an image on the screen and clicks on it. In practice, this activity is most often used as an alternative to such activities as Click on element or Click on coordinate, in both browser and desktop applications.
Parameters
Create image from screenshot allows you to take a screenshot and crop it to an image.
Screenshots are saved at "C:\Users\<Username>\ElectroNeek\screenshots" by default.
-
Set a value: set the path to an image.
-
Save the previous step result: takes the previous activity result as a value.
-
Calculate a value: use JS to calculate the value.
In case of multiple matches are found, only one of these matches should be used to perform a click. 0
is set by default, meaning the robot will click on the first found match.
-
Set a value: set the index value.
-
Save the previous step result: take the previous activity result as a value.
-
Calculate a value: use JS to calculate the value.
Sets the accuracy of the search. If the value is 100%, the robot will search for an exact match.
Search the image in bounds of selected element.
Simulates a right click.
Simulates a double click.
Contains an annotation to the activity. The input text will be displayed above the activity name.
Usage Examples
This activity is useful in cases when it's not possible to use selectors or coordinates to perform a click.