# Robot Framework Getting test execution status in real time

**URL:** <https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022>\
**Category:** Robot Framework\
**Created:** [18 March 2024 08:35 UTC](https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022 "2024-03-18T08:35:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louay](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@Louay](https://forum.robotframework.org/u/Louay)\
**Post date:** [18 March 2024 08:35 UTC](https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022/1 "2024-03-18T08:35:30Z")

</div>

Hello,  
i am working on a project that needs the test step execution status to be sent to the client interface right when the keywork execution ends i am using Grpc to make the api call for the method that runs the tests, according to the specifications in the request i am wondering how i can achieve this i tried running the robot tests in a thread but it didn’t work as intended any leads please , i am new to robot framework

---

<div class="post-metadata">

**Author:** ![Many](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/many/32/658_2.png) [@Many](https://forum.robotframework.org/u/Many)\
**Post date:** [18 March 2024 08:45 UTC](https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022/2 "2024-03-18T08:45:22Z")

</div>

Hi,  
one possibility to report the test execution status in real-time is the Listener Interface of Robot Framework  
[https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#listener-interface](https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#listener-interface)

You can find a few simple examples here:

> **[Listener Interface | ROBOT FRAMEWORK](https://docs.robotframework.org/docs/extending_robot_framework/listeners_prerun_api/listeners)**
>
> Listeners can listen 👂 to the events that are fired during the execution of a test suite and react to them.

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [18 March 2024 09:13 UTC](https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022/3 "2024-03-18T09:13:53Z")

</div>

Hi Louay,

As @Many mentioned, you’ll need to create a listener, specifically you want to use the end\_keyword function in your listener, depending on what version of robot framework you are using depends on the type of listener you use

- Robot Framework 7.0 or higher you can use the v3 listener with end\_keyword
- Robot Framework below version 7.0 you need to use the v2 listener with end\_keyword as end\_keyword was not added into v3 listener listener api until version 7.0

If you are not familiar / comfortable with writing python, then there is also the [listenerlibrary](https://github.com/sebastianciupinski/robotframework-listenerlibrary)

Hope that helps,

Dave.

---

<div class="post-metadata">

**Author:** ![Louay](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@Louay](https://forum.robotframework.org/u/Louay)\
**Post date:** [18 March 2024 09:56 UTC](https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022/4 "2024-03-18T09:56:24Z")

</div>

thank you very much Many

---

<div class="post-metadata">

**Author:** ![Louay](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@Louay](https://forum.robotframework.org/u/Louay)\
**Post date:** [18 March 2024 09:57 UTC](https://forum.robotframework.org/t/robot-framework-getting-test-execution-status-in-real-time/7022/5 "2024-03-18T09:57:16Z")

</div>

thank you damies for further clarifying i appreciate your kindness
