Station AcademyActivity referenceRPAi StationConsultingAurora Academy
Academy/Station Academy/Level 6/Timing and application state
Level 6 · Reliability and debugging

Timing and application state

Replace fixed delays with waits that check the screen, and make every run start from a known state.

Intermediate≈ 15 min (estimate)Windows, macOSSource-verified
Before this lesson
Understanding why workflows fail
You will learn to
  • Choose between Delay, Wait Window and Wait Element
  • Set sensible timeouts
  • Put the application into a known state at the start

Three ways to wait

ActivityWaitsUse when
Delaya fixed timenothing visible tells you the app is ready (rare)
Wait Windowuntil a window with a title (exact, contains or regex) existsan app or dialog opens
Wait Elementuntil an element is visible, hidden or enableda button appears, a spinner disappears, a field becomes editable

Waits continue as soon as the condition is met, so they are both faster and more reliable than delays. Give them a Timeout (ms) that reflects a slow day, not a fast one.

Minimum pause

Settings › Minimum pause between steps (ms) adds a small gap between all steps. Raising it slows everything down; fix the specific step instead.

Known starting state

At the start of the workflow:

  1. Close App the app if a leftover window could confuse the run (only if no unsaved work can be lost).
  2. Open App it fresh, or Focus Window the right window.
  3. Wait Window for it.

Write the required starting state in a Comment at the top.

Activities in this lesson

Delay · Wait Window · Wait Element · Open App · Close App · Focus Window

Saved only in this browser.

Source-verified. Steps were checked against the Station source code and authentic screenshots. Not yet executed step by step in the app. Written against RPAi Station for macOS 0.1.0 (1) (RPAi_Station_2.0 @ port/macos 9864e96) and the Windows source (RPAi_Station_2.0 @ codex/native-station e68f16d). Reviewed 2026-11-30. UI labels may differ slightly in other versions; see versions and changes.