How to get TestRun <> TestSuite relation in Azure via C# Api?

Mariano Spiegelberg 21 Reputation points
2022-05-19T13:03:49.577+00:00

Hi,

We're using azure devops and I try to create a TestReport via C#-Api . The problem is to get the mapping between a TestRun and a TestSuite.
E.g. we have a TestPlan with TestSuites, these ones have TestCases. I get via TestCase-ID all TestRuns for this TestCase...but we have the same TestCase in different Suites. So if I loop thru these Runs... I put them under the first appearance... 7x under the TestCase 123 under TestSuite 1 ..but it run only one time in context ( this first Suite ).

I tried to work with TestPoints...but it seems to be not the way to go... I can't find a fitting suite within a single run.

So how can I get this information ?

Cheers and thanks
Mariano

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,236 questions
0 comments No comments
{count} votes

Accepted answer
  1. Monalla-MSFT 11,961 Reputation points
    2022-05-19T14:05:04.983+00:00

    @Mariano Spiegelberg - Welcome to Microsoft Q&A and thanks for reaching out.
    Devops is not currently supported here on Microsoft QnA.
    The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum:
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://azure.microsoft.com/en-in/support/devops/

    Hope this helps. and please feel free to reach out if you have any further questions.

    ------------------------------------------------------------------

    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.


0 additional answers

Sort by: Most helpful