question

MarianoSpiegelberg-6475 avatar image
0 Votes"
MarianoSpiegelberg-6475 asked Monalla-MSFT edited

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

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-supported-azure
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered MarianoSpiegelberg-6475 commented

@MarianoSpiegelberg-6475 - 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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.