Reputation: 13
I am trying to provide a copy of the test result recorded using MTM 2010 to client, do you know where to grab the result?
Thanks.
Upvotes: 0
Views: 1479
Reputation: 179
I follow either of below mentioned two ways to analyze my test runs :
Run following command from "Run": start mtm://[tfsserver:portnumber/tfs/collectionname]/p:[teamproject]/testing/testrun/open?id=
downloading results file (.trx) to my local system: tcm run /export /id:id /resultsfile:[my_local_path] /collection:CollectionURL /teamproject:project [/login:username,[password]] [/attachment:attachmentname]
Upvotes: 1
Reputation: 4647
The test run and its attachments are stored on the TFS server and available via the TFS SDK. See the TestManagementService apis where ITestRun.Attachments would contain all test run associated attachments
var testsvc = tfs.GetService<TestManagementService>()
IEnumerable<ITestRun> testRun = testsvc.GetTeamProject("myteamprojectname").TestRuns; // you can use the query/find
Upvotes: 1