Click component enables users to simulate any click actions. Using this component, Users can simulate the click actions of a mouse. This component uses Inter Process Communication (IPC) to send the click events to an application.
Click component exposes Control In and Control Out ports by default.
|Control In||Must be connected to the Control Out port of one or more components.|
|Control Out||Can be connected to the Control In port of any other component or connector, or the default end component.|
To edit the properties of the
Click component, access the Property Explorer in the lower-right pane, change the required property. You can edit the following properties-
|Search||Search for the respective property.|
|Delay After Execution||Specifies the wait time (in seconds) after the Click actions is performed.|
|Delay Before Execution||Specifies the wait time (in seconds) before the Click actions is performed.|
|Name||Specifies the name to identify the component the name to match the application field you are interacting with.|
|Click X||Specifies the location of the Click action on the x-axis.|
|Click Y||Specifies the location of the Click action on the y-axis.|
|Search as A Gray Scale Image||Defines the selected area as a gray scale image.|
|Target Platform||Allows users to select the aplication platform.|
|Threshold||Specifies the image matching accuracy before performing the click operation. Value of 1 defines 100% match, 0.5 defines 50% match; Defaults value is 0.9 or 90% match.|
|Max Wait Time in Seconds||Specifies the image matching accuracy before performing the click operation. Value of 1 defines 100% match, 0.5 defines 50% match; Defaults value is 0.9 or 90% match.|
|Max Wait Time in Seconds||Defines the number of Seconds to wait for the image/application to appear on the screen. Default value is 30 Seconds.|
|Wait After Image Found||Specifies the wait time (in seconds) after the image is found.|
|Wait For Create||Define if the
Let us take an example of using the
Click component on a calculator.
To use the
Clickcomponent and drop it on the Design surface.
Double click on the
Clickcomponent to add multiple images.
To select the region, click .Then
Press “CTRL+SHIFT” for selection messageto be displayed.
CTRL+SHIFT. The mouse pointer becomes a crosshair.
If the First captured image is not displayed on the screen then it searches for next captured image. Click sign to add next image.
Select the area of the calculator.The selected region is displayed in the
The Control ports between
Control Outport of the
Clickcomponent with the
Control Inport of the next