skillfed

robotframework-stacktrace

A listener that prints a Stack Trace to console to faster find the code section where the failure appears.

robotframework-stacktrace v0.4.1 441.7K downloads/30d#6,641 on PyPI18
Permissive license DORMANT released

What it is and what it does

robotframework-stacktrace is a listener plugin for Robot Framework that intercepts test failures and prints a formatted stack trace to the console. Instead of showing only the final error message, it displays the full execution chain—each test file, keyword file, and line number—so you can immediately see where in your test hierarchy the failure occurred.

You activate it by passing `--listener RobotStackTracer` to the robot command. It works by hooking into Robot Framework's listener API to capture failure events and format them as a readable traceback, similar to Python's standard traceback output. The main dependency is robotframework itself; the package adds no other runtime requirements.

Use it for:

  • Debugging complex nested keyword calls in large test suites to pinpoint which keyword or test step failed.
  • Reducing time spent hunting through log files when a test fails—the stack trace appears immediately in console output.
  • Understanding the execution path through multiple resource files and keyword libraries during test failures.
  • Integrating with CI/CD pipelines to get clearer failure signals without parsing HTML logs.
  • Troubleshooting timeout or assertion errors in browser automation tests (e.g., Playwright, Selenium).

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Robot Framework listener that prints stack traces to console during test failures, showing the exact file and line where each failure occurs in the test execution chain.

Yes, if you run Robot Framework 4.0+ and want faster failure diagnosis. The package is lightweight, permissively licensed, and solves a real debugging pain point. However, be aware that maintenance is dormant—no updates since mid-2023—so if Robot Framework introduces breaking changes to its listener API, this plugin may stop working without community fixes.

Install

robotframework-stacktrace on PyPI

pip

pip install robotframework-stacktrace

uv

uv add robotframework-stacktrace

poetry

poetry add robotframework-stacktrace

Installing robotframework-stacktrace

Before you install

Low install friction with a single wheel distribution. Maintenance is dormant—last release was 2021-07-12 and last commit 2023-11-09—so expect no active updates, though the package remains functional for Robot Framework 4.0 and later.

License in practice

Licensed under Apache Software License (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install robotframework-stacktrace

robot --listener RobotStackTracer path/to/tests.robot

Requires Robot Framework >= 4.0 to be installed separately.

Verify before relying

  • Whether the stack trace output format remains compatible with Robot Framework versions released after 2023-11-09.
  • Whether the listener works with all Robot Framework library types or only specific ones.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 1 — robotframework
Maintenance dormant — 1,859 days since the last release
Last repo commit
First released
Downloads 441,743/month — #6,641 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: robotframework_stacktrace-0.4.1-py3-none-any.whl

Framework :: Robot FrameworkLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software Development :: TestingTopic :: Software Development :: Testing :: Acceptance

Tags

robot framework stack tracerobot framework failure debuggingrobot framework test failure locationrobot framework listener pluginrobot framework error tracebackrobot framework test debuggingrobot framework failure analysis
robot-frameworktest-debugginglistener-plugin

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

robotframework-retryfailed

A Robot Framework listener that automatically…

permissive · top 15,000 on PyPI

robotframework-reportportal

A RobotFramework listener that sends test…

unclear · top 15,000 on PyPI

allure-robotframework

Integrates Robot Framework test execution with…

permissive · top 15,000 on PyPI

robocorp-log

Provides structured, automatic logging for…

permissive · top 15,000 on PyPI

tracebackturbo3

A drop-in replacement for Python's traceback…

permissive · top 15,000 on PyPI

robotframework-assertion-engine

Provides a standardized assertion engine for…

permissive · top 15,000 on PyPI

robotframework-datadriver

DataDriver extends Robot Framework to generate…

permissive · top 15,000 on PyPI

robotframework-browser

Browser automation library for Robot Framework…

permissive · top 5,000 on PyPI

robotframework-dependencylibrary

Declares and enforces dependencies between…

permissive · top 15,000 on PyPI

robotframework-seleniumtestability

SeleniumTestability is a Robot Framework plugin…

permissive · top 15,000 on PyPI