Mouse and Keyboard

Click

This activity simulates a mouse click in the place indicated by GUI element. Choose the type of click from the dropdown (click, generic click, generic double click, generic right click).
Fill in the application custom internal name. Drop the control on the activity.

NOTE: "ordinary" click does not give focus to the element indicated by control, generic click moves focus to the control.

v2_mouse_click-001
v2_mouse_click-002

NOTE: check Selected element properties in Virtual GUI controls tab: the "ordinary" Click will not work when parameter Clickable is False, so consider using Generic Click instead.

v2_mouse_click-003
v2_mouse_click-004
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Application NameStringInputcustom internal name Wizlink will use to identify the application window
Click TypeDropdownInputselect type of click from the dropdown list
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities
Retry Timeout [s]DoubleInputdetermines behaviour if the activity fails to execute. value < 0: try executing once, 0: try indefinitely; value >0: time in seconds during which the activity repeatedly tries to execute (if time elapses without success then Result = False, end activity)

Last updated: 2023, 15 May