microsoft-test-manager

Show Test result Form test suites using TFS api

偶尔善良 提交于 2020-01-11 05:36:09
问题 I am working with a school project where I am going to analyse a companies defect database. They are using Microsoft Foundation Server (TFS). I am all new to TFS and the TFS api. I have some problem in getting the right data from TFS using the TFS Client Object Model . I can retrieve all Test Plans, their respective test suites and every test case that a specific test suite uses, but the problem comes when I want to see in which test suite I have a specific test result from a test case. Since

How do I grant permissions to manage test plans in VSO?

雨燕双飞 提交于 2019-12-30 07:56:39
问题 I am unsure whether this is the correct stackexchange site to ask this question, however it is about software tools commonly used by programmers (sort of). I am collection administrator of 100s of .net projects that I have recently migrated from an on-premise TFS to VSO. I am receiving requests from developers to grant them permission to create/manage test plans. Now, these developers are members of the "Developer" and "Contributor" groups and as such have the following permissions: But even

How to read parameter values from a TestCase in Microsoft Test Manager

无人久伴 提交于 2019-12-30 04:40:09
问题 I am trying to execute the testcases programatically using the microsoft test manager using c#. For that I want to read the parameter values stored in Microsoft Test Manager. Please suggest me how to do that Eg:- Read the value of internal paramter "MY Value" I tried to enter the image but its not working ... Regards Harsh 回答1: I suppose you want to read the parameters from the datasource of the Test Case that your automated test implements. You have to associate your test with the Test Case

Pass parameter to testsettings setup script

折月煮酒 提交于 2019-12-25 04:12:10
问题 I am using MTM to run Tests using a specific "Test Settings". I added a Setup script which is a batch file and its working fine. The batch file is echo %1 %2 Now I am not able to figure out how to pass argument to this batch file. I tried all the below methods, but the test run throws illigal character in path , incorrect file format , etc. errors. C:\SetupScript.bat Hello World "C:\SetupScript.bat" Hello World "C:\SetupScript.bat" "Hello" "World" start "" "C:\SetupScript.bat" Hello World I

How can my first Build definition work if is getting broken after “Queue a new Build” in Visual Studio 2010?

邮差的信 提交于 2019-12-24 17:22:31
问题 I am trying to use my automated coded UI test (CUIT) with Microsoft Test Manager 2010 in a physical enviroment. Created a Build definition Defined a drop folder for Builds and Shared this folder as recomended here Created a Build service in TFS 2010 as "Interactive Process" Created a Build Controler Created a Agent Controler I dont remember in which order (In case this is important) ERRORS FROM MS Visual Studio 2010 (For IMAGE Plese go HERE) Error One (1) TF215097: An error occurred while

Why can't I can use anymore the Test Automation feature with VSO

二次信任 提交于 2019-12-24 15:56:04
问题 So basically, I'm using Visual Studio Online for some months, and I've a lot of existing test cases, each being associated with a unit test thanks to the Test Automation feature. Since a few days, I cannot anymore associate test automation to my test cases. Might be related to the changes that have been introduced with the December 10th update: https://www.visualstudio.com/news/2015-dec-10-vso Basically, all existing and new test cases now show an empty screen instead of the UI that allows me

upload test cases from excel to microsoft test manager 2013

最后都变了- 提交于 2019-12-24 02:10:07
问题 In my current project we are using Microsoft Test Manager 2013. We have prepared test cases in excel. How can we upload prepared test cases from excel to MTM 2013. 回答1: Additionally to the answer by @MrHinsh: Check Create Manual Tests using Team Web Access and look for the question Can I copy test cases and test steps from an existing Excel worksheet? in the Q&A part. 回答2: I do this using the free tool tcmimport: http://tcmimport.codeplex.com/ 回答3: You can do this by copying and pasting into

Run CodedUI from MTM 2013

霸气de小男生 提交于 2019-12-23 04:33:55
问题 I want to run a codedUI test case using MTM 2013 Here is what I already have so far: I have codedUI test cases to test my web application. The solution of these test cases has got nothing to do with my web application. Now I have few test cases written in MTM 2013 (initially for manual execution). Later I had plan to automate these Test Cases Using codedUI and associate these automated Test cases to MTM test cases so that I don't have to open VSTS to run my automated test cases. Also this may

How can I disable code coverage / assembly instrumentation in Visual Studio 2012?

只愿长相守 提交于 2019-12-22 12:18:28
问题 I have a project upgraded from Visual Studio 2010 to 2012 and the .testrunconfig file was included in the upgrade process. I noticed that it was possible to click "Analyze code coverage" on any of the unit tests that I had run and it would correctly display the result. However, my test run configuration (originally from VS 2010) had code coverage disabled. After doing a bit of research I learned that the VS 2010 configuration files have been deprecated and replaced by .runsettings files. It

How to associate a Build to the test plan in Microsoft Test Manager (MTM) 2010?

那年仲夏 提交于 2019-12-22 09:15:23
问题 I am new using Microsoft Test tools, please help: When trying to run a test case from MTM, I am receiving the following warning message: Cannot create automated test run. A build associated with the active test plan is required to submit an automated test run Background info: I have created a Build definition in VS 2010 I have created a Build service host with Agents:Controller and Agent When I open MTM>Testing Center>Properties Build Configurations I can see my build definition selected in