Viewing Test Manager Fields in TFS - 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.

Related

Microsoft Test Manager 2015

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.

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.

'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.

TFS - Is there a way to see which TestCase work items are not in any Test Plans?

We'd like to be able to see which new Test Cases work items have yet to be associated with a Test Plan/Test Suite.
I figure that if we can get this query working in TFS in Visual Studio, then we can save it off and the Testing folks can load that query in Test Manager and see which items still need to be added to plans.
Related Link Count=0
I think it can help you.

Specify Order in which Coded UI Tests are executed for TFS Test Agent

I'm trying to setup TFS 2010 Lab Management based Automated Testing system and I have a "Test suite" (Created in TFS Test Manager) with following tests:
1) Start and Login
2) Create group
3) Create user and add to the group
These have order specified properly in Testing Center->Plan->(Test suite)->Order column
However, when they are executed (on TFS Lab Management Build) by Test Agent they run out of order: 2nd then 1st and then 3rd.
Is there a way to make Test Agent run these tests in order?
Thanks.
Create an Ordered Test, it's a simple list of which test methods should run and in what order.
I also had the same issue. I solved it by installing VS2010 Service Pack and TFS 2010 Service Pack in both the Test controller machine and Test agent machines. Please go through the following link for more details
http://social.msdn.microsoft.com/Forums/en-US/vsmantest/thread/29ac3c7b-b0cd-40f3-9992-f5f3c2285331
Unfortunately, There's a blog regarding ordering test cases which says:
Please note this only applies to the manual tests but not automated
tests. For automated tests, the order you set here will not be
respected during test execution.
http://blogs.msdn.com/b/vstsqualitytools/archive/2009/11/21/run-your-tests-in-the-order-you-want.aspx
I don't know if it's a new feature but you can create Ordered tests. Just right click on your project in Solution Explorer and choose Add -> Ordered Test. Select you tests in order.
In Test Explorer, run you ordered test.
Details are in the link below but all I had to do is what I'd said above. I am using VS 2015 Enterprise.
https://msdn.microsoft.com/en-us/library/ms182631.aspx

Resources