parse-rf-results

star 651

Parse Robot Framework test results from output.xml. Use when: analyzing test execution results, extracting pass/fail statistics, filtering failures, summarizing test runs

MarketSquare By MarketSquare schedule Updated 3/7/2026

name: parse-rf-results description: 'Parse Robot Framework test results from output.xml. Use when: analyzing test execution results, extracting pass/fail statistics, filtering failures, summarizing test runs' argument-hint: 'Path to output.xml, or describe what to extract (e.g. failed tests, keyword timings, suite stats)'

Parse Robot Framework Results

Uses scripts/parse_results.py to parse output.xml via robot.api.ExecutionResult.

The output.xml file is always at atest/output/output.xml. Do not guess another path unless the user explicitly provides one.

Running the script

.venv/bin/python .github/skills/parse-rf-results/scripts/parse_results.py atest/output/output.xml

On Windows:

.venv\Scripts\python .github/skills/parse-rf-results/scripts/parse_results.py atest/output/output.xml

The script prints three sections automatically: pass rate summary, individual failures with error messages, and failures grouped by identical error message.

Optional flags

--keyword-logs

Include all keyword log messages for each failing test. Each log entry shows the timestamp, log level, and message text. HTML tags are stripped from messages.

.venv/bin/python .github/skills/parse-rf-results/scripts/parse_results.py atest/output/output.xml --keyword-logs

Example output for a failing test:

FAIL  Suite.Test Name
      keyword: Some Keyword (SomeLibrary)
      AssertionError: expected True but got False
      --- keyword logs ---
      20260306 14:32:01.123  INFO      Clicks the element 'id=submit'.
      20260306 14:32:01.456  DEBUG     Clicked element: 'id=submit' successfully.
Install via CLI
npx skills add https://github.com/MarketSquare/robotframework-browser --skill parse-rf-results
Repository Details
star Stars 651
call_split Forks 143
navigation Branch main
article Path SKILL.md
More from Creator
MarketSquare
MarketSquare Explore all skills →