Get Value Activity
The Get Value activity retrieves the current value of a specific UI element within a native Windows desktop application and stores it in a variable for use in subsequent workflow steps.
| Field | Description | Requirement |
|---|---|---|
| Application instance | The reference name of the application instance previously opened or attached. | Required |
| Element | The JSON-based selector identifying the target element. | Required |
| Label | An alternative to Element that identifies the target by label instead of a selector. | Optional |
| Label match type | Defines how Label is compared against candidate elements (e.g., Equals, Contains). | Optional |
| Result variable name | The name of the variable where the retrieved value will be stored. | Required |
Action Types & Examples
Value Retrieval
- Format: string
- Example Result: "5"
Implementation Examples
Field Setup - Application instance: ${appInstance} - Element: the target control identified by the UI Automation Inspector - Result variable name: getValueResult
Technical Notes
LabelandLabel match typeprovide an alternative toElementfor identifying the target, useful when a stable selector is not available. Provide eitherElementorLabel, not both.