microsoft-test-manager

Couldn't run my test using Microsoft Test Manager

谁都会走 提交于 2019-12-18 09:37:32
问题 When I'm running the test in Microsoft Test Manager I get an error: The build directory of the test run either does not exist or access permission is required. What does it mean? Where can I check build directory? 回答1: I suppose you are running automated tests. If you are running automated test in Microsoft Test Manageg (MTM) you have Test Case(s) automated by your test implementation. So MTM need to know where is the drop location of the build building your tests. That means you have to:

How to create a test run and result using the Team Foundation Server API?

不羁的心 提交于 2019-12-17 10:43:02
问题 I have found several samples about retrieving test results using the TFS API, but no documentation on creating results programmatically. My aim is to create a lightweight alternative to using Microsoft Test Manager for running manual tests. Does anyone have experience with this? Are there any examples out there that I'm missing? Here's what I have so far: ITestCaseResult CreateNewTestCaseResult(ITestSuiteEntry testCaseEntry) { var run = testCaseEntry.TestSuite.Plan.CreateTestRun(false /* not

unable to run an automated test on agent machine using test manager

╄→尐↘猪︶ㄣ 提交于 2019-12-13 21:27:21
问题 Following error is displayed on running an automated test on an agent machine via Test Manager. The test run is successful on local machine for the same build and same test. System.IO.FileNotFoundException: Could not load file or assembly 'WebDriver, Version=2.35.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM

How to run MTM tests on multiple product builds?

谁说我不能喝 提交于 2019-12-13 01:25:27
问题 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 run telling it which version/build of the product it needs to test. This 'value' will then be read in the test method and correct decision will be taken while the tests are executing (like installation path, test results file updates etc). Is there

Cannot view any Test Suites and Test Cases in TFS 2013 Web Access despite being able to access them in MTM

青春壹個敷衍的年華 提交于 2019-12-11 18:08:04
问题 My organization uses TFS 2013, with a split of VS 2012 and VS 2013 for the programmers and testers. When I try to right click --> open in web access on any of our MTM tests or suites, I get this error: "The test plan with id 97761 does not exist or it’s area path is not owned by the default project team. Include it in the default project team’s owned areas and try again." Which leads me to believe that this is a configuration/permissions issue, however our IT could not find what the problem

Automated Tests in Microsoft Test Manager “build directory of the test run either does not exist or access permission is required”

随声附和 提交于 2019-12-11 05:05:41
问题 We are trying to run automated tests using Microsoft Test Manager 2015. We've almost reached our goal. This is what was done so far: We are able to queue the 'build definitions' and successfully run Coded UI tests on a remote server. We've created a Test Environment and it's in a 'ready' state Test plan has build definition in use Test cases have association to the Coded UI tests. More info: We don't have a build and copy to drop off folder steps because we don't have Visual Studio installed

Ordering Coded UI tests and Results in Test Manager

北战南征 提交于 2019-12-11 03:35:45
问题 I have a series of CodedUI test methods that make up a single test case. The test methods need to run in order (IE testmethoda runs then testmethodb and then testmethodc) and I want the results to show up in Microsoft Test Manager to look like testmethoda passed, testmethodb passed, testmethodc failed. Is there a way to do this while being able to run multiple iterations of the overall test case? I have tried are putting the test methods into a single test method and calling that. This gives

NUnit Integration With Microsoft Test Manager

故事扮演 提交于 2019-12-09 19:43:45
问题 I can import test cases to Microsoft Test Manager from unit test assembly created in Visual Studio using tcm testcase import command.When I try to import test cases but using NUnit assembly the command fails saying "No Tests found to import".Is there another way by which I can import test cases created in Nunit to Microsoft Test Manager? 回答1: We were able to pick up our NUnit tests fine using tcm to import to MTM, by adding a TestMethodAttribute to our NUnit test methods. For example:

“Microsoft Test Manager cannot install test agent on these machines” when creating new Lab Center environment

怎甘沉沦 提交于 2019-12-07 12:39:31
问题 I'm trying to create a new environment in Lab Center and I get the following error on the Verification step Text version: Verify that the machines are accessible using the user name and password provided. Failed JPTest: Microsoft Test Manager cannot install test agent on these machines. Possible causes: Machines are not running or they are not available on the network. The File and Printer Sharing exception is not enabled on the machines. I've verified (many times) that the File and Printer

Sending out email alert when a test case is pass or fail

时光总嘲笑我的痴心妄想 提交于 2019-12-07 04:15:34
问题 i want to send an email alert to the user when a test execution result is pass or fail or any other status when it is executed on test manager. i know test manager can not do it yet the TFS can, i have tried various combination of queries to set an alert for the same. I want to do it for an automated test case. the build i'll create will not be changing much as i am up to testing of services. only test cases will be executed on the same build and results are to be displayed. 回答1: If you start