mtm

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

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

梦想的初衷 提交于 2019-12-20 03:32:17
问题 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 tried to add another test and found that due to changes in the layout of the test case work item page in VSO/MTM, the 'Associated Automation' function is no longer shown. So you used to click on the ellipses and the list of test cases to be linked would

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

主宰稳场 提交于 2019-12-14 02:19:14
问题 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 test result back (the one that corresponds to the first test point). I am using C# 4.5.2 in Visual StudioEnterprise 2015 on Windows 7 my code is: setup test run (I run this once at the beginning of my tests): TfsConfigurationServer

How to read xml attachment from TFS test case to Test method?

▼魔方 西西 提交于 2019-12-13 07:08:27
问题 We have test cases in TFS. I would like to pass test parameters in xml file to each test cases.So for that we have an 'attachment' option in each and every test case in TFS. Now how to read that xml file into our test method and make each test case automated in MTM(Microsoft test manager). Is this possible? 回答1: Unfortunately, it is not supported to get parameter values from workitem attachments directly in MTM. The attachment in TFS test case could be reached using an url: http://SERVERNAME

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

How to retrieve a Test Case ID that is currently running through TFS (vNext) build?

。_饼干妹妹 提交于 2019-12-12 04:32:07
问题 In TFS 2013 when running tests from MTM, we were able to get the ID of the currently running test case by using the TestContext Properties dictionary as follows: var testCaseID = TestContext.Properties["__Tfs_TestCaseId__"].ToString(); This statement returns NULL if tests are being run as part of TFS vNext build (BDT). In order to update some fields in test results for instance Comments/Notes, I will need to know the ID of the current test run and test case. How can I return that information?

Can I use MTM to execute my testcases that are wriiten in Selenium Java using Eclipse IDE

三世轮回 提交于 2019-12-11 06:55:39
问题 I have a application scenario where I am currently executing my test cases(written in selenium C#) using MTM, I want to know whether same can be achieved using selenium java from eclipse? 回答1: No You can't use MTM to execute Java tests, however Microsoft is moving away form that model. This is likely because of this issue and they have already moved to using Team Build with VSTS & TFS 2015+ to execute all sorts of Functional Tests. https://blogs.msdn.microsoft.com/dgartner/2016/02/23/running

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

末鹿安然 提交于 2019-12-11 03:17:32
问题 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 tests in the following order, Test2 then Test1. Now create a build with the template "LabDefaultTemplate" In the Tests add Suite1 and Suite2 Now Use the MTM and change the order of the tests in the suites and run the build again. The Test Agent run

Share test result TRX file

你。 提交于 2019-12-02 10:56:01
问题 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 more or don't show the details of the test. 回答1: Most of the results of a load test are stored in a database. The TRX file has only a very small portion of the results - you can easily see what it actually contains by opening the file in Notepad, it is

Share test result TRX file

流过昼夜 提交于 2019-12-02 05:52:58
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 more or don't show the details of the test. Most of the results of a load test are stored in a database. The TRX file has only a very small portion of the results - you can easily see what it actually contains by opening the file in Notepad, it is just XML. Visual Studio trial versions have some support for load tests. (They only support a small number