Questions tagged [mtm]

Use Microsoft Test Manager (MTM) to help you test the application you built. MTM stores your test plans and results on Team Foundation Server (TFS)

144 questions
8
votes
0 answers

Update status of the test case in MTM using c#

I have assigned to create C# application to update the test case status in MTM. I tried the below code and it is working fine. But the problem is the below code is updating the result If the test case is already executed, it is not updating the…
NMKP
  • 789
  • 3
  • 11
  • 33
2
votes
2 answers

Move Test Plan from one Team project to another

We have TFS 2015. Is there guidance or a mechanism to move Test plans from one Team Project to another Team Project in the same project collection? From poking in MTM, it seems like you can clone a Test Plan, but the dialog does not allow you to…
codechurn
  • 3,870
  • 4
  • 45
  • 65
2
votes
2 answers

Share test result TRX file

I have the Enterprise edition of Visual Studio, but not everyone does. How can I share the TRX so that other people can see the results? I've seen that there are several Trx to HTML convertors but they're all quite old and either don't work any…
BanksySan
  • 27,362
  • 33
  • 117
  • 216
2
votes
2 answers

How to pass parameter values from test case in TFS to test method in unit test method using MTM?

I would like to pass parameter values from test cases which are present in Team Foundation Server. I do the automation with the help of Microsoft Test Manager. Below is example test method created using Unit Test Project. namespace…
meshsf
  • 163
  • 2
  • 14
2
votes
2 answers

Is it possible to clone a test suite into another TFS server?

tcm suites can clone suites into different team projects within a TFS server. I want to clone an entire suite from our test TFS server to the prod TFS server. This page doesn't say anything about cloning between servers. Is there a way to do it?…
hxin
  • 938
  • 2
  • 12
  • 25
2
votes
1 answer

Failed to get the file for deployment item while run test case in MTM

We deploy xml file in the code with below statement: [DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|DataDirectory|\\Scripts\\SmokeTestSuite2016Q1\\TestData\\RPSmokeTestData.xml",…
PI1 RPG2_
  • 21
  • 1
  • 2
2
votes
1 answer

TFS API Add multiple test points and results to one test run

I am using the TFS API to add a test run and would like to add multiple test points to a test run and add one test result to each test point in the test run. When I try to retrieve the test results after adding the second test point I only get one…
Steve
  • 4,415
  • 1
  • 19
  • 30
2
votes
1 answer

Is it possible to run whole testsuite as iteration in automation?

I have scenario where whole test cases has shared (global) parameter which changes based on Test rounds with MTM. So here we can say shared parameter is a common parameter based on Test round For example Test Round 1 globalVar="abc" executes…
2
votes
1 answer

Issue linking Ranorex CodedUI tests to MTM/VSO 2013 CI following recent VSO update

We have an established CI process which links 118 Ranorex test cases to MTM test cases and runs them on a dedicated automation VM, which is triggered by a timed build in Visual Studio. The CI process is still working correctly, but I have just…
2
votes
1 answer

How to set notification from test manager or from Team Foundation Server for MTM suite or plan?

I have read it on few msdn forum that test Management service in Team Foundation Server raises notifications on some specific actions by its users. You can subscribe to these notifications to understand what’s going on in the server. Here are some…
simond
  • 684
  • 1
  • 10
  • 36
2
votes
1 answer

Killing all iexplore processes after test run fails

When we run our CodedUI tests and the test cases fail we kill the Internet Explorer process by calling Kill() below: private static readonly HashSet ProcessesToKill = new HashSet(new[] { "iexplore" }); public static void…
user2609980
  • 10,264
  • 15
  • 74
  • 143
2
votes
0 answers

MTM: Error Sps_spsprodch1su1Configuration

What is going on here when this error occurs? Circuit Breaker "BaseSqlComponent-Sps_spsprodch1su1Configuration" exceeded the concurrency limit of 160. In the last 10000 milliseconds, there were: 0 failure, 0 timeout, 0 short circuited, and 158…
2
votes
2 answers

How can i get Team City builds to show up in TFS's build explorer

So here's the setup we have right now 1) We use TFS2013 for our code repository 2) We use TeamCity to do our builds 3) we have our tests created in CodedUI From what I've read online is that for the CodedUI tests to run automatically, they need a…
DanTan
  • 47
  • 1
  • 7
2
votes
0 answers

LabDefaultTemplate-> ExecuteRemoteTestRun2 doesn't take in account the Order field of the test in the MTM

The Scenario: Create 2 codedui tests. First Test will be Test1 and the second Test2. Create 2 test cases in the mtm. Create 2 suites in the MTM. Suite1 and Suite2. Add to Suite1 the tests in the following order, Test1 then Test2. Add to Suite2 the…
barak
  • 61
  • 3
2
votes
1 answer

Iteration ID in TFS

I am trying to understand the underlying Team Foundation Server (TFS) databases, and I came across this sentence : The Iterarion ID in the TFSWarehouse is not the same as the iteration ID in the workItem tracking table. What does this mean. I was…
Div
  • 117
  • 1
  • 1
  • 9
1
2 3
9 10