Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Parsing TFS to extract project, iteration, and suite paths, names and IDs

Parsing TFS to extract project, iteration, and suite paths, names and IDs

Parsing TFS to extract project, iteration, and suite paths, names and IDs

I'm in the process of writing a little utility that'll clone/copy test suites from one project to another. Up until now I've used batch files for this. We have a designated project that is used as a template; just for storing test suites (three so far, more on the way). The batch files (one for each of the test suites) use TCM.exe to copy a suite to another project. Prior to running the batch file I manually go into MS Test Manager and look up the destination project, destination suite ID, area path and iteration path and use that info to modify the batch file. It works, but it's tedious.

Ideally, I'd like to create a GUI with a combo box or list box containing all projects, and when you select one it will populate additional controls with available area and iteration paths. Once all the selections are made I'll use the selections to launch TCM.exe, passing the requisite arguments to it.

I've done some searching online for interfacing with TFS but the majority of the results I've found appear geared towards extracting code, getting build info, triggering builds and such - far beyond what I need (or at least I think it is).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close