# I want to update the test case status executed on Azure Self Hosted Agent into Azure Test Plan

**URL:** <https://forum.robotframework.org/t/i-want-to-update-the-test-case-status-executed-on-azure-self-hosted-agent-into-azure-test-plan/5987>\
**Category:** Tools\
**Created:** [24 July 2023 12:24 UTC](https://forum.robotframework.org/t/i-want-to-update-the-test-case-status-executed-on-azure-self-hosted-agent-into-azure-test-plan/5987 "2023-07-24T12:24:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sekhar](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Sekhar](https://forum.robotframework.org/u/Sekhar)\
**Post date:** [24 July 2023 12:24 UTC](https://forum.robotframework.org/t/i-want-to-update-the-test-case-status-executed-on-azure-self-hosted-agent-into-azure-test-plan/5987/1 "2023-07-24T12:24:54Z")

</div>

Hi Team,

I have test cases in Azure Test Plan and these get executed as per schedule in the Self Hosted Agent.  
Now I want the results of these test cases to be updated in the Test Plan.

Can someone help me out on this?

Thanks,  
Sekhar

---

<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:** [24 July 2023 23:22 UTC](https://forum.robotframework.org/t/i-want-to-update-the-test-case-status-executed-on-azure-self-hosted-agent-into-azure-test-plan/5987/2 "2023-07-24T23:22:40Z")

</div>

Hi Sekhar,

At the most simple level you would probably want to configure the Azure Test Plan to capture the return data from Robot Framework, the 3 things you’d want to capture from the robot command line are:

- the return code (this is a number that every executable returns when it exits, 0=pass, 1-255 = number of failed tests)
- the stdout, this will give you text representation of test names and their pass/fail status
- the stderr, this will give you any exception errors from your test that were not captured by Robot Framework.

Sorry, I am not familiar with Azure Test Plan so I don’t know how to configure them.

Dave.

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [25 July 2023 11:43 UTC](https://forum.robotframework.org/t/i-want-to-update-the-test-case-status-executed-on-azure-self-hosted-agent-into-azure-test-plan/5987/3 "2023-07-25T11:43:06Z")

</div>

Last time i checked, Azure supported JUnit reports that RF can generate. In the past thought, RF’s junit format hasn’t been so great and in some cases i had to resort to 3rd party RF listener…
