Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have integration type tests (not unit tests) which require different environments/configurations. In order to run them I have to create test settings files for each environment and sync the test settings with agent Attributes.

What I desire is a way to have run my tests in each environment concurrently with a single Test Settings file. Is there a way to do this with MSTest? I am working with VS2010/MSTest and Test Manager (I do not have Lab Management).

share|improve this question
up vote 2 down vote accepted

As I understand it (I'm not that experienced with MSTest/Test Manager yet), without the Lab Management module the way to do this is to install SysInternals to each of your target environments as well as your master/controller environment, then use a batch file that runs the tests.

The basic setup is a batch file to run the tests - you can call MSTest from the command line in your batch file and specify the tests to be run as part of that. Command line options are available at

With SysInternals, you can do almost everything you'd do via command line to a remote system. There's more information at

It's a bit more involved than using the MS Lab Manager functionality, but it does work.

share|improve this answer
Does this method you describe require anything more than the agent on the machines running the tests? – jJack Jul 27 '13 at 18:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.