How to get Simulate click option for CV click activities

In my use case it requires simulate click option to CVClick activities. How to get or achieve this? I check in CVClick property i am unable to find simulate click option.

@BNK ,

Simple answer to this - it’s not possible

Explanation:

Computer Vision is a machine-learning based method used to visually identify all the UI elements on a computer screen and interact with them via UiPath Robots, simulating human interaction. It doesn’t require or use the underlying properties of applications, but only the aspect and relationship of various screen elements.

In short we don’t get the UiElement so we cannot simulate any action on it.

Thanks,
Ashok :slight_smile:
Ashok

“CV Click” activity in UiPath doesn’t have a built-in “Simulate Click” option. Here’s why and how to achieve similar functionality:

Why Simulate Click is Missing in CV Activities:*

Computer Vision (CV) activities in UiPath are designed to work even when the target application isn’t in focus or is partially obscured. They operate at a deeper level, often interacting with accessibility APIs to ensure reliability in various scenarios. Simulating clicks, which depends on UI elements’ visual presence, might not always be feasible within CV’s approach.

Alternatives to Achieve Similar Behavior:*

  1. CV Click with Adjusted Timeout:* Increase the ‘TimeoutMS’ property of the “CV Click” activity. This gives the system more time to locate the target element and perform the click action, potentially improving reliability.
    2.Send Hotkey:* If the action you want to trigger has an associated keyboard shortcut, use the “Send Hotkey” activity in combination with CV activities to locate the area where the hotkey should be applied.
    3.Coordinates (Limited):* If strictly necessary, you could use the output coordinates from a “CV Find Image” or “CV Element Exists” activity and combine it with a standard “Click” activity. However, this is less reliable in dynamic environments where the UI might change.