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
1
vote
2 answers

Why doesn't the test result view on MTM show the error message field?

I've created a coded UI test to test a basic successful login scenario for a WPF application. I chose the coding approach over the recording approach and I've adopted the page object model. I've integrated this test with TFS and I'm able to execute…
Rusty Wizard
  • 531
  • 6
  • 20
1
vote
1 answer

Ërror Message -The build directory of the test run either does not exist or access permission is required in MTM - Automation setup

I am trying to set up MTM to run the automation test. I set the test controller and also the test agent and is all fine. But when I run the test, I am getting an error message The build directory of the test run either does not exist or access…
Timothy Rajan
  • 1,947
  • 8
  • 38
  • 62
1
vote
1 answer

creating, adding files and run a visual studio project from cmd

I have a main program (python) that will create a c# unit test code. I need to run this code, for which I need to create a new unit test project, add the created code into the project and then run it. I need to perform all these actions from within…
Pranav
  • 115
  • 1
  • 11
1
vote
0 answers

Run a test that disconnects Internet on MTM without effecting MTM

I'm supposed to test the reaction of a page when net is disconnected while on the page. (errors get thrown). My Method does the following - the page loads, i disconnect net, verify if the right actions take place and then connect the net back up…
Anu7
  • 77
  • 1
  • 17
1
vote
1 answer

Microsoft Test Manager cannot install test agent on these machines

I am trying to create a new environment using microsoft test manager. Unfortuntely I get the following error: Microsoft Test Manager cannot install test agent on these machines. Possible causes: - Machines are not running or they are not available…
edek k
  • 103
  • 1
  • 8
1
vote
0 answers

Microsoft Test Manager "Recommended Test" feature not working with TFS Build 2015 (vnext)

I'm trying to use the feature "Recommended Test" from Test Manager but the list is always empty. I did the following: I have run the tests on a previous build and testImpact.xml is attached for each test I have changed the code so that 1 of the 2…
Pak
  • 2,639
  • 2
  • 21
  • 27
1
vote
1 answer

Get all the test run details executed against test plan id

Is there a way I can get the test runs executed against a test plan id programmatically ? Also i want to get the results for say last 30 day or last X days? To get the test case results for a particular test run, I am using below query, var results…
usr021986
  • 3,421
  • 14
  • 53
  • 64
1
vote
1 answer

Select test cases by SpecFlow tag in Microsoft Test Manager

Is it possible to select test cases by SpecFlow tag in Microsoft Test Manager? And if so, how?
user2609980
  • 10,264
  • 15
  • 74
  • 143
1
vote
1 answer

Editing tags on Test Cases in MTM 2013 & TFS

When using MS Test Manager 2013 there does not seem to be any way of adding/editing tags on a test case. I can however select tags as a column to be displayed in for test cases in MTM. If I open the test case work item in the TFS web portal, I can…
Mulder
  • 45
  • 1
  • 8
1
vote
2 answers

Notify tester in TFS when assigned test changes

I use TFS 2013 Update 4 on premise. I want my testers to receive an mail alert when one of the following conditions hit: A test (not test case) was assigned to a tester. (The value in column "Tester" changes) The state of a test assigned to a…
Alexander Schmidt
  • 5,631
  • 4
  • 39
  • 79
1
vote
1 answer

Is there a way to associate and execute protractor tests to MTM test cases?

Here's the background: I've wrote my tests in protractor@visual studio and got it running successfully with the help of this guide; Checked the project into TFS; Now, my intention is to associate my protractor tests to microsoft case tests, then i…
andrepm
  • 867
  • 4
  • 13
  • 31
1
vote
1 answer

Running tests with tcm.exe results in Field not found: 'Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet'

I'm trying to run an automated test case in Microsoft Test Manager from the command line with the following command: TCM.exe run /create /title:"Nightly Run" /planid:5554 /suiteid:6582 /configid:97 /collection:XXX /teamproject:XXX /include…
Wouter de Kort
  • 39,090
  • 12
  • 84
  • 103
1
vote
1 answer

TFS MTM 2013 Test Suite, Test Run on the basis of suite State

Can we disable run button when Test Suite state is “In Planning” or “Completed”. Basically we don't want the test cases to run when Test Suite state is “In Planning” or “Completed”..
1
vote
1 answer

What is a good approach to write Automated tests that depend on data that needs to be setup before executing the test

I am currently working on writing automated tests using Selenium Webdriver. We use MTM to run our test suites. I need some ideas as to what would be a good way to write these tests. Currently before running these tests, we perform a basic setup…
tts8694
  • 51
  • 5
1
vote
4 answers

How to run MTM tests on multiple product builds?

We have MTM tests running on Release build of our product (Desktop Application). Now we want the same tests to run on two product builds: Beta and Release. When a test run is initiated from MTM (or tcm), we need a way to pass a 'value' to the test…
userhpkj
  • 15
  • 3
1 2
3
9 10