2

Resolved

When Connecting to a Test Plan, It loads every test case in all of TFS, not just the selected Test Plan

description

My TFS Server is on TFS 2012 Update 3. Whenever i try to connect to any test plan at all, it always loads every single test case in the entire server, not just in the test plan. I have dozens of team projects in this collection and over 20,000 test cases. So every time I try to connect to a test plan, it takes 20 or so minutes to load.

Is there a way to make it only load the test cases in the select test plan, rather than every test case on the server?

comments

7astlivec wrote Dec 5, 2013 at 9:22 PM

Hi there,

This is because by default when you load test plan it loads the 'All' node-> All Test Cases in the current Team Project. (Test Manager does the same if you navigate to Management-> Test case Manager -> All Test Cases from the team project are loaded, all test plans).
When you click on suite node, the app will store the id of the selected suite(in the registries) and next time when you turn on the program, only the test cases from the selected suite will be loaded if there isn't such suite id in the test plan the 'All' Node will be loaded.
Maybe a nice feature will be instead of loading All node to load the first suite. Agree? Or maybe you have a better idea, you can share. :)

As a workaround you can find and change yourself the selectedSuiteId registry key.
HKEY_CURRENT_USER -> TestCaseManager -> data -> Filters -> InitialFilters ->selectedSuiteId

Regards,
Anton

pcahill wrote Dec 9, 2013 at 8:36 PM

This is incorrect from my experience with this tool - "by default when you load test plan it loads the 'All' node-> All Test Cases in the current Team Project. " For me it loads every test case in the entire project collection, not team project. If it were just by team project that would be completely acceptable, but by entire project collection, i don't see any reason why it would need to be configured like that at all.

As for your workaround in editing the registry, what value would you change the selectedSuiteId to? Mine is currently set at -1.

Thank you for your help,
Patrick

7astlivec wrote Dec 9, 2013 at 9:19 PM

Hi Patrick,

In order to obtain the desired suite id, first select a suite different from the 'All Node' and check the registry value, this is the id you should set after/before changing plans.
Second I will give my best to implement the feature- after loading the plan, the tool to load the first suite in the project instead of loading all test cases, I hope this will resolve your problem.
Sorry for the inconvenience caused!

Anton

pcahill wrote Dec 9, 2013 at 10:17 PM

Ok that work around did the trick for me. Thank you for your help with this.

Patrick

7astlivec wrote Dec 10, 2013 at 9:03 PM

Hi Patrick,

I have implemented the feature, you can find it in the new version of the app.

Anton

pcahill wrote Dec 11, 2013 at 9:30 PM

That did the trick, thank you Anton.

Patrick