Browse by Tags
All Tags »
TFS API »
WPF (
RSS)
Test Case Migrator Between Projects – WPF Metro This is a common question I keep hearing from customers: Question: How can we copy Test Cases \ Shared Steps from one Team Project to another? Answer: You can manually duplicate item after item in visual studio but this isn’t a good solution if you have lots of Test Cases to copy. So, to solve this problem I built a tiny little tool to help you accomplish this task. This tool contains 4 steps: Getting Started: 1. Connection Connect to TFS, pick...
TFS API Part 31 – Working With Queries – Part 2 In my last post TFS API Part 30 – Working With Queries I demonstrate a simple API example for getting Queries from TFS 2010, in this sample I’ll show how to run Queries and display the results, Deleting and Creating new Folder using TFS API. Download Demo Project Step 1: Add Results Using WorkItemStore object and call the Query method you can set the results directly to DataGrid. void item_MouseDoubleClick( object sender, MouseButtonEventArgs e) { ...
TFS API Part 30 – Working With Queries TFS 2010 comes with new abilities for Queries that allows you to define Hierarchy and Direct Links (Read More - Work Item Relations (Visual) ). This is the first post on that subject and this will show how to interact with TFS 2010 Queries – Filter, View and Create New using TFS 2010 API. Download Demo Project Step 1: Create Project and Add Reference Create an WPF/WinForm application and add the following references: using Microsoft.TeamFoundation.Client; using...
TFS API Part 19: Merge In my last post about TFS API TFS API Part 18: More Basic Stuff On Workspaces I demonstrate how to get / create and delete workspaces. In this post I’ll show how to perform Merge using TFS API . First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl.Client.dll located...
TFS API Part 18: More Basic Stuff On Workspaces In my last post I showed how to TFS API Part 17: Get WorkSpaces Information In this post I’ll show to go couple of basic actions on you workspace. Demo Project First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl.Client.dll located in - C:\Program Files...
TFS API Part 17: Get WorkSpaces Information In this post I’ll show how to obtain local workspaces information. Download Demo . First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Step 1 – Connect...
TFS API Part 16: Mapping Source Control Using VersionControlServer In this post I’ll show how to use VersionControlServer class to map your Source Control. This post will be the basic start of how to use VersionControlServer class in TFS API. Download Demo First add reference for Microsoft.TeamFoundation Microsoft.TeamFoundation.Client Microsoft.TeamFoundation.Common.dll Microsoft.TeamFoundation.VersionControl...
TFS API Part 12: Set Security For Area/Iteration In the previous post I’ve talked about Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Add using for: using Microsoft.TeamFoundation.Proxy; using Microsoft.TeamFoundation.Server; using Microsoft.TeamFoundation.Client; ...
TFS API Part 11: Get Area/Iteration Security Settings Using IAuthorizationService In the previous post TFS API Part 9: Get Area/Iteration Programmatically I talked about how to get Area/Iteration nodes from TFS. In this post I’ll show to get Area/Iteration security settings using TFS IAuthorizationService. Download Demo First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll...
TFS API Part 10: Add Area/Iteration Programmatically In my last post I talk about TFS API Part 9: Get Area/Iteration Programmatically . In this post I will show how to add Area or Iteration programmatically ICommonStructureService. First add reference for Microsoft.TeamFoundation, Microsoft.TeamFoundation.Client, Microsoft.TeamFoundation.Common.dll,Microsoft.TeamFoundation.WorkItemTracking.Client.dll located in - C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\ Add using...
TFS API Part 9: Get Area/Iteration Programmatically Over the last posts I talked about TFS API Part 7: Use IEventService To Get User Event Subscriptions and TFS API Part 8: Subscribe/Unsubscribe Events Using IEventService . This summing up how to programmatically get / set Event Subscription using TFS API. More about IEventService on later posts. On this post I will show how to get Area and Iteration tree. This can be useful to map your Area/Iteration tree on third party applications. First...