robotframework / robotframework/robotframework

Create a possibility to "replay" an output.xml (fast/realtime) with rebot and ListenerAPI there

Open
#5,065 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11.9k
Forks
2.6k
Avg merge
1d 18h
Merged PRs (30d)
10

Description

There are listeners out there in the field that needs to be attached to a running robot and then posts results.

There are two use-cases for that:

  1. Development of listeners (at least "read-only" listeners)
  2. using reporting Listeners that can be run on output.xml
    a. (optionally) in realtime, if the listener is depending on the current time
    b. in fasts mode without any consideration of timings.

Examples:

### Allure
One example is the Allure report.
it has a listener that needs to run with the robot run.
It would be cool to just let that run with rebot --listener robotframework-allure output.xml
So it would not be needed during exec.

Failures in Listeners

There could be a situation that a listener fails and you do not understand why, so you want to debug it, but that error only happens after 2h of running robot. So running again on the existing output.xml would be good for debugging, and after fixing, you could actually still use these results to publish (with the now working listener)

Listener Development

When you develop a listener you run robot tests multiple times, but again with bigger ones ore non deterministic runs, it is hard to test your listener. a "rerun" option would be cool for that as well.

Cheers
René

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the rebot command and ListenerAPI, focusing on how output.xml is currently processed and how listeners attach during a Robot run. Define the expected fast and realtime replay behavior, including listener failures and reporting use cases. Done should mean the requested replay workflow is specified and validated for these cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.