Skip to content

Win Set Value

Type: win-set-value  ·  Package: Desktop Activities v1.0.0

Assigns the value of an input field using the UIA Value pattern. It’s similar to Win Type with method = value, but more direct: it simply sets the value, without keyboard simulation options. Fast and reliable for standard text fields.

Locates the field by its selector and assigns it value using the UIA Value pattern (replaces the current content).

ParameterEditorDescription
selectorselectorThe field to assign.
valueexpressionThe value to set. Supports expressions.
ParameterEditorDescription
sessionsessionWin Attach session. If omitted, the selector must include the window.
timeoutnumberMaximum ms to wait for the element. By default 30000.
Win Set Value selector = (campo "Cantidad") value = = toString(cantidad)