User interface automation

Forge

Acting through the screen because no programmatic route exists, which is common in regulated estates.

What is user interface automation?

User interface automation is acting on a system through its own screen, as a person would. It is the route of last resort, chosen where no programmatic interface exists for the work. In regulated estates that situation is common rather than exceptional, which makes the pattern unavoidable.

Also called: UI automation

Why the absence of an interface is an architectural fact

Ask any technology function in a bank how many of their systems expose a modern interface and the honest answer concerns a minority. The rest are vendor applications whose contracts exclude integration, alongside regulator portals that offer nothing beyond a browser. An automation strategy requiring an interface therefore addresses the easy part of the estate and leaves the work where the effort actually lies. Acting through the screen is the compromise, engineered with its fragility assumed rather than discovered later.

  • A large share of a regulated estate offers no interface at all.
  • Screen access inherits whatever validation the interface itself performs.
  • The automation holds a session, so concurrency is bounded by available desktops.
  • Fragility is a property of the approach and has to be designed around.

How user interface automation works

  • The absence of a programmatic route is confirmed before the screen is chosen.
  • A dedicated session is established under a service account rather than a person's.
  • Elements are located by stable anchors with a fallback for each.
  • Each action is confirmed by reading the resulting screen back.
  • Waits depend on the screen reaching a state rather than on elapsed time.
  • Exceptions capture the screen image so a person can see what the agent saw.

How user interface automation is evaluated

User interface automation is assessed on its behaviour during an application release. Examine the following across a period containing one:

  • completion rate per workflow against the screen it uses
  • failures attributable to a layout or timing change
  • actions confirmed by a read back of the result
  • concurrent sessions available against demand at peak
  • elapsed time per case against a programmatic equivalent

Limitations, risks and common failure modes

  • Timing assumptions hold in testing and fail under production latency.
  • An unexpected dialogue intercepts an action that then lands elsewhere.
  • The automation occupies a desktop session that capacity planning never counted.
  • A screenshot captured on failure contains personal data that policy restricts.
  • Workflows proliferate on the screen route while an interface quietly becomes available.

All 315 terms