Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:A9T9 RPA Result Reporting

From Leeroopedia
Knowledge Sources
Domains Browser_Automation, Logging
Last Updated 2026-10-22 00:00 GMT

Overview

Mechanism for capturing, persisting, and displaying the results of each command execution during macro playback.

Description

Result Reporting is the process of collecting the outcome of each command execution (status, error, screenshot, timing) and making it available both for the user (in a log UI) and for persistence (on the filesystem). In a macro playback system, the user needs to see what happened at each step — which commands succeeded, which failed, and what the page looked like at the time.

The reporting pipeline:

  • Capture: each command's `RunCommandResult` is captured by the player's `handleResult` callback
  • In-memory display: log entries are dispatched to the UI via state management (Redux actions) and rendered in a log list with color-coded status
  • Screenshot gallery: screenshots from command execution are displayed in a gallery for visual verification
  • Persistence: log text is appended to date-stamped log files on the filesystem (when native filesystem access is available)

Usage

Use this principle when designing an RPA system that needs to report per-command execution results to the user and persist them for later review.

Theoretical Basis

Result reporting follows a fan-out pattern — each command result is sent to multiple sinks:

Report(result)=UI(result)⊕Persist(result)⊕Screenshot(result)

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment