Microsoft Test Manager 2015 - tfs

Please see the picture below for reference. Does anyone know how to associate Test Runs to a PBI in TFS Microsoft Test manager. The 3 results I have circled below I had to manually associate each Test Run to the PBI. Is there a way to have them automatically link up? Test Cases automatically do this. (Tested By)

To associate automated test results with PBI, you could do this directly from test result page.
On the test results page, select the tests you want to link to PBI and choose the Associate tests to work item (link) icon.
Select the PBI from the list of suggested work items and choose Associate.

Related

Bulk change of Test Case status in Microsoft Test Manager for a particular Test suite

I'm new to Microsoft Test Manager. I have lot of Test suites in my MTM and want to change the status of each test case from Design to Ready state in a particular test suite.
Is there a way to do it in MTM or TFS without individually changing each and every test case status manually. (There are no tags for the Test Case and I tried to query by test suite name but it doesn't work).
Note:
I know the I could change the state of the test suite to In progress and All the test cases will be available for testing.
Thanks in advance.
If you have latest version of tfs on web test hub you may select several test (screens from vsts):
set new value for the State field
You can write a query in TFS to find all the test cases that meet your criteria.
Export into Excel (or Import using TEAM tab in Excel) and change all the values and publish the results back.
Or on the latest version of VSTS I can select all the WI's in the Query Result, right click and select "Edit", then change the State to Ready and save all.

Viewing Test Manager Fields in TFS

I'm using TFS and Test Manager 2015. When I attempt to create a query using either Test Manager or Visual Studios I am not able to see the fields that are in Test Manager. For example, the tester field that is shown is being pulled from the PBI but I want it pulled from the tester who executed the test case in test manager. Does anyone know how to expose the tables/fields that are in test manager so I can created queries in Visual Studio?
Thank you!
There are no these fields in test case work items. You can not simply run a query to get the info.
Here is all the Work item field index.
TCM: Used to support Test case management
You can only found these info in test point.

How do you show failed test comments on Team foundation server

I have added comments on failed tests within tfs but these cannot be shown any where even when you click into the test. How can one show the comments entered on tests?
Presumably you're working in Team Web Access rather than the Test Manager client?
I'd be happy to be proved wrong on this but I don't believe you can view the comments directly in Web Access.
If you open up the test details pane (right hand side of your Test Plan view)
Then you can select Test Results in the Pane menu
If you double click the test result or click the Open in Microsoft Test Manager button (beside Refresh) then it will launch MTM (assuming you have it installed) and you will see more details including the individual steps and any comments you added.
You can also go to this directly in MTM on the Test tab and select Analyse Test Runs. Double click the run you want the details of.
If you're not using MTM then you could associate the test run fail with a Bug (click the Create Bug button on the test runner) and you test steps and comments will be added to the Bug Work Item steps to reproduce.
As rerwinRR mentioned, this is not possible in team web access. But you may vote for this feature wish:
http://visualstudio.uservoice.com/forums/330519-team-services/suggestions/11336064-give-possibility-in-team-web-access-to-see-the-com
In TFS 2015 web interface, open the TEST tab, Test plan, choose the test suite from the dropdown.
Choose the test case on the second pane.
Press the Show/hide details pane button from the second pane's toolbar.
When the third pane shows up, choose Test results from the Pane dropdown at the top right. You will see the list of test runs for the selected test case.
Doubleclick one of the test runs to see the details, including comments you have added to the steps.

How to link a bug created on Microsoft Test Manager to TFS?

I want to be able to see the bugs created on MTM in TFS without having to manually create them again. If anybody has any insight on how to automate this process please help.
Thanks
When you are working with MTM you are either executing Test Cases or doing Exploratory testing when you are creating bugs.
If you are executing test cases MTM will automatically associate any Bugs created with the Test Case in context. However, as your Test Case may test multiple PBI's the tool does not know which PBI is in context.
Note: I am not sure if, when using the 'Add Requirement' option to create a Test Suit that I linked to your PBI if the link to the PBI is created.
If you are doing exploratory testing, where you don't have a Test Case, then you can choose to "Explore a requirement". In this case both Bugs and Test Cases created are associated with the PBI in context.
If you run the reporting services Backlog Overview report you will see the number of tests passing and failing against PBI as this report follows the indirect links.

'Test' section is not displayed while browsing TFS for executing test cases on browser

I am not able to see Test section when I browse to the TFS.
I have tried this with all the Team Project Templates I am not able to view for any.
Is there something I have missed while configuring/setting the TFS or the Team Project?
These projects have test case as work items. Yet options to execute test on browser is not displayed whereas I can see test cases in Work Items and I can update also them.
Make sure the account you are using is setup as a Full Access account in the TFS Control Panel.

Resources