Reputation: 35
I have designed Coded UI tests in Visual Studio 2012. I have associated them with manual tests from Test Manager.
I want to run tests using command line something like this:
tcm run /create /title:"Nightly Run" /planid:1 /suiteid:5 /configid:13 /settingsname:"<Name of your automated test settings>" /testenvironment:"<Name of a matching environment>" /collection:<CollectionURL> /teamproject:<Team Project name>
Any ideas?
Upvotes: 1
Views: 1168
Reputation: 1727
Do you have the Agent and Controller configures for MTM (Microsoft Test Manager)?
If so, well you can do that from MTM. Create a Query-based test suite with the criteria as you described #1 and #2, this will generate a test suite for you. You can then select the tests in that suite, right-click and run the tests. This is what I'm doing today.
If you want to do this using command line options, then maybe look into how you can call that query-based test suite. I never used cmd line so far.
Upvotes: 0