Skip to content

Win Click

Type: win-click  ·  Package: Desktop Activities v1.0.0

You click on a control in a desktop application: a button, a menu item, a tab, a cell. It is the most common interaction activity on the desktop.

Locate the control by its selector and click. By default it uses the invoke method (activates control by its UIA pattern: reliable and does not require the window to be visible). You can choose the mouse button and, if necessary, the physical method. See interaction methods.

ParameterEditorDescription
selectorselectorThe item to click.
ParameterEditorDescription
sessionsessionWin Attach session. If omitted, the selector must include the window.
buttonlistButton: left (def.) · right · double (double click).
clickTypelistMethod: invoke (def., UIA pattern, recommended for buttons) · mouse (physical click).
timeoutnumberMaximum ms to wait for the element. By default 30000.
Win Click selector = (botón "Guardar")
Win Click selector = (fila "Factura 001") button = double