Principle:A9T9 RPA Result Reporting
| 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: