Skip to content

Wait Condition Activity

The Wait Condition activity pauses process execution until a specific UI element within a native Windows desktop application meets a defined condition, such as becoming visible or enabled.

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 (e.g. {"Name":"OK","ControlType":"Button"}). Required
Wait condition The condition to wait for (Visible, Enabled, Exists, Disabled, or Hidden). Required
Timeout (sec) The maximum duration in seconds to wait for the condition before failing. Optional

Action Types & Examples

Wait for Visible

  • Format: string
  • Example Result: "Visible"

Wait for Enabled

  • Format: string
  • Example Result: "Enabled"

Wait for Exists / Disabled / Hidden

  • Format: string
  • Example Result: "Exists"

Implementation Examples

Field Setup - Application instance: ${appInstance} - Element: {"Name":"OK","ControlType":"Button"} - Wait condition: Visible - Timeout (sec): 15

Technical Notes

If the specified Wait condition is not met within Timeout (sec), the activity fails. Use this activity before interacting with elements that may take time to render, such as after opening a dialog or loading a large form.