This activity helps the user to replicate any action of the mouse which is routinely
performed by a human such as a single click/right click/double click or click.
Technical Reference
INPUT
|
Action: Choose the action that needs to be performed during the execution. Click: Performs the “Single-click” action on the selected windows application. DoubleClick: Performs “DoubleClick” action where it requires on the selected application. RightClick: Performs “Right Click” action on the selected windows application. Hold: Perform to hold the element or value on the selected windows application. Release: Perform to hold the element or value on the selected windows application. |
|
DelayBeforeActivity: It assists the user to add a delay before initiating subsequent activities. |
||
UseWindowTitle: Indicates to check this box when the action needs to be performed only on the selected active application.
By default, this option will be un-checked. When left blank, the option will not be considered. |
||
WindowTitle: This parameter specifies to choose the applications from the list of active applications to where the text needs to be inputted.
You have the option to either hardcode the values in the “String” variable or pass the values as “String” datatype.
This parameter accepts values in “String” datatype. |
||
MISC
|
DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting. |
|
SkipOnError: Specify the "Boolean" value as "True" or "False."
True: Continue executing the workflow regardless of any errors thrown. False: Halt the workflow if it encounters any errors. None: If the option is left blank, the activity will, by default, behave as if "False" were chosen. |
||
Version: It indicates the version of the feature being used. |
||
OUTPUT
|
Result: It provides the ability to view the execution status of the activity. It returns values in "Boolean."
True: Indicates that the activity has been executed successfully without any errors. False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown. |
* Represents mandatory fields to execute the workflow.
Here’s an example of how the “Click” activity works -
The following example illustrates how to right click on the value where the cursor
is already placed in the "PowerPoint Application." Here I am continuing from the
"MoveTo" activity example.
1. Open the existing workflow.
2. Drag and drop the "Click" activity onto the designer pane after the “MoveTo”
activity.
a. Double-click the activity.
b. Here, I am choosing the “ScreenOn” option to choose the active application as
“Powerpoint” application.
c. Moving to the “Function” as choosing the action as “RightClick” from the
drop-down.
3. Now, Execute the workflow.
The bot will move the cursor to the specified area and performs the click action.