Intro to TCM (Test Case Management) Command-line Utility
Tcm.exe is an application that can be used to create test cases from test methods. We can also run test cases with associated automation tests instead of the user interface so it can be run with the nightly build batch.
When you start the run from the command line, use tcm.exe. You must specify both the test settings that contain the set of roles that you require to run your tests and an environment that contains this set of roles.
Tcm.exe is a command-line utility that lets you perform the following tasks:
- Import automated tests into a test plan
- Run tests that are part of a test plan from the command line
View a list of test items and their corresponding IDs to use when you import tests or run tests.
Let's explore TCM.EXE and see some of its features:
tcm suites /collection:http://WIN-GS9GMUJITS8:8080/tfs/defaultcollection /Teamproject:"Tailspin Toys" /list
https://public.bay.livefilestore.com/y1pMYxiJGdaNpa1P0pygbRJCQY27FFUyQDUP6qsUAm9rV1F6OOJjKcfhOU2IvL8CwMhfM11fSK-bkk9XvsvVCEE-Q/4.png?psid=1
https://public.bay.livefilestore.com/y1pewkbqxt3LQMaty-aTwiN9Z1vdTNlaY9hWSnMVlyy2pt4fPk_IpRRZvkl4349hxnI13Lh5G8RciAVTNepLf7VDw/1.png?psid=1
https://public.bay.livefilestore.com/y1pwZtHZFxMHnl0oCyYrQnNxkXlpG8ttOiBdyLmQ_vJSQX27NXkLq6QKFGFjncOWMU7JkiwCeuJeGxGVJGM2g2SQA/2.png?psid=1
https://public.bay.livefilestore.com/y1pMYxiJGdaNpaoaNy2n9MAntVCQdN0Su1vW-hZaehOpD2nUvIogFyPiNR7ve4W_Oi4QQfD1daW4YEQTZLCQyu0sA/3.png?psid=1
For more information, see the following links: