Hot answers tagged

5

I use Microsoft Test Manager and find that I center my test plans around releases. It might be helpful to have a separate Regression Test Plan with suites set up by product area that can be updated as code updates and so new test cases can be added as new features are implemented in existing product areas (or new product areas are added). There is some ...


5

I'd go to the I.M Testy blog http://www.testingmentor.com/imtesty/ ( BJ Rollison of MS ) and search for 'font' I'd also get a copy of How We Test Software At Microsoft and read it


5

Microsoft Test Manager is primarily a tool for managing manual tests. The MTM test recordings can be exported to CodedUI then modified in Visual Studio, but they are not automated tests and should not be treated as such. If you have Microsoft Team Foundation Server configured to manage test environment virtual systems, you can configure MTM to run automated ...


5

I have figured out how to accomplish this and I will post it here since there has been a lot of views of the question but no answer. In test manager, select the Organize tab. Then select the Shared Steps Manager. Create a shared step and pace a parameter in it, e.g. '@Location', enter the URL you wish to navigate to in the parameter at the bottom of the ...


4

If you are a programmer you need Microsoft Visual Studio Enterprise which is $5,999/user/first year and includes Team Foundation Server online access & Microsoft Test Manager stand alone app. Anyone doing just QA and no programming can use Visual Studio Test Professional which will cost your company less $2,169/user/first year and only includes Team ...


3

The insertion of Thread.Sleep() is typically indicative of a race condition in your test and your test is running out of sync with the thing is it testing. One suggestion may be to insert a polling loop to wait for the redirect, or an event to indicate the redirect has happened. See http://www.testingmentor.com/imtesty/?p=652 and read the comments for ...


3

As I understand it (I'm not that experienced with MSTest/Test Manager yet), without the Lab Management module the way to do this is to install SysInternals to each of your target environments as well as your master/controller environment, then use a batch file that runs the tests. The basic setup is a batch file to run the tests - you can call MSTest from ...


3

I'd probably do a Google search for "How would you test the font button in microsoft word", perhaps post the question to a few random forums, then follow whatever came back without even thinking twice about it. Oh wait, no I wouldn't... never mind.


3

I was able to accomplish this by writing a custom TestClassExtensionAttribute and then calling a custom ITestMethodInvoker from the TestExtensionExecution. I answered a similar question on SO about this: https://stackoverflow.com/a/14673329/573218 I have posted the code on GitHub and am working on cleaning it up a bit: https://github.com/johnkoerner/...


3

In my experience, you can't sell new development processes. The only path I've found which works is to simply start doing it: Only develop with TDD from this point forward. You'll still deliver your code on time, but it'll be more maintainable and have far fewer bugs. You'll feel much less anxiety and be proud of your work. After a little time, management ...


2

"it will extend the time a program spends in development" Initially, this may be true but as the software matures and becomes more complex, the TDD approach will actually reduce the time a program spends in development since the code-base will be more robust, easier to maintain and less prone to bugs. Once you have good unit test code coverage and a full ...


2

Microsoft Test Manager (MTM) in Visual Studio 2010 does not have this ability and I am not aware of any plugins/patches that allow this to happen. Unfortunately, it does not appear that MTM in Visual Studio 2012 will have this feature either - http://blogs.msdn.com/b/visualstudioalm/archive/2012/02/29/what-s-new-for-microsoft-test-manager-in-visual-studio-11-...


2

The following steps may help to get QC working in IE9 with Windows 7. Not quite the same environment, but its worth a shot. Adjust your user account control settings to 'Never notify'. This requires a reboot. Disable any proxy account settings that you may have configured in Internet Options. Try installing the QC explorer app. It is a tool that HP ...


2

You've actually got several options here. The key is that Microsoft Test Manager has to integrate with Team Foundation Server: if you can connect your Selenium tests to Team Foundation Server you can use the Associated Automation field in the test case to link your Selenium test code to MTM test cases. Team Foundation Server plugin for Eclipse: this is an ...


2

There are a few ways to do this, one would be: You could create your template list of test cases in an excel file and import them to TFS using http://tcmimport.codeplex.com/ You can also export an existing list to use with http://exporttfs2excel.codeplex.com/ Another way would be to create copies of the test cases.


1

If you can open the test in Visual Studio v14.0 Open the test solution and change the reference to the CodedUITestFramework. It should show as a broken reference because you don't have v11.0 installed. Then save and recompile. If you can't open the test in VS 14.0 Your best option (which may not work) is to edit the test's app.config to include the ...


1

Check out the answer to this question over at StackOverflow. (From the accepted answer) NUnit has few advantages over MS-Test Suite attribute - can aggregate tests and execute them separately (useful for large projects with fast and slow tests for example) Readable Assert method, e.g. Assert.AreEqual(expected, actual) vs Assert.That(actual, Is....


1

This is because test runs are not directly associated to Test Cases. Each test case is associated with at least one configuration (if you don't assign one, there's a generic default). The pair [Test Case, Test Configuration] forms a Test Point, and each run is associated to the test point. MTM queries work on Work Items, and can only return data ...


1

Normally its recommended to keep them outside the application environment itself. In part because the running of the tests will confuse results (for example if you are testing the response time of the system then the load of the test runner will directly skew results) You can kick off the run on code changes using a build server such as TFS/Jenkins/Bamboo. ...


1

You can use the TFS SDK to directly insert test results. See https://stackoverflow.com/questions/6505812/how-to-create-a-test-run-and-result-using-the-team-foundation-server-api. This may or may not be a worthwhile use of your time to implement something like this. TFS is pretty integrated with MSTest and the entire Microsoft infrastructure. While you ...


1

As far as I know, you can only associate and execute MSTest based test automation to test cases in TFS. You could write a MSTest test method to wrap each of your protractor test cases. Somebody did something similar here for Ranorex tests. Doing that manually would be painful, so I'd recommend automating the MSTest dll creation. There's also the ...


1

Adding new column for Test suite depends on version of TFS that you're using. In TFS 2013 Test Suite is a work item like any other, but apparently there's no easy way to get additional information. Comment field (it's 'Description' in TFS, but it looks the same to me) can be accessed via pressing Ctrl+G ("Go to work item" window will appear) and fill in "...


1

Microsoft Test Manager (MTM) supports attachments and it is integrated with Team Foundation Server (TFS). While you executing the test cases you can add screenshots or files to the failed steps.


1

MS has several command line tools that will run tests. There's more information about how to use them and how to choose the tool you use on the MSDN site: http://msdn.microsoft.com/en-us/library/ms182486.aspx I'd suggest reading the documentation and experimenting with the different tools to decide which of the tools works best for your situation.


1

Please refer below link i think it will useful for you http://msdn.microsoft.com/en-us/library/dn282443.aspx


1

This isn't possible without some serious messing around with the TFS API right now. Part of the problem is that internally test cases are stored as work items where test plans and test results are stored in completely different parts of the system with complex relationship structures. As a result, the built in query engine can't access them. https://...


1

Found the answer. Agents cannot debug remotely, and while the build I was executing against in the above post was "release" (in one instance), I was still attempting to debug. If I select the test and click "Run" instead, it executes successfully on the remote agent.


1

Actually not. Microsoft Test Manager is a simple T. management tool which allows you to run a Test case and report a bug into TFS, built on the top of Visual studio. It would be probably possible to plug it in, but usually there is nothing like this. There are several test frameworks and automated test tools build on the top of visual studio as Ranorex, so ...


1

You can pause the test run, then save and close. All the attachments you've created to that point will be saved. When you're ready to come back to the test, you'll need to return to the point you left and located the unfinished run (Test > Analyze Test Runs), then Resume. You should be able to pick up where you left off.


1

This has been added in Visual Studio 2012 Update 1. It adds an Edit button when running a test case.


Only top voted, non community-wiki answers of a minimum length are eligible