c# - CodedUI tests are not running on test controller / agent -


i have been unable codedui test project run. goal have run on separate machine (virtual machine). i've configured test controller , agent on vm. i've set run interactive process (details below). when run build partially succeeds , following test error reported:

error calling initialization method test class xxxx.codedui: microsoft.visualstudio.testtools.uitest.extension.uitestexception: run tests interact desktop, must set test agent run interactive process. more information, see "how to: set test agent run tests interact desktop" (http://go.microsoft.com/fwlink/?linkid=255012)

i've performed following steps:

i've installed test controller , test agent vm (separate tfs server)

my test controller set "register test controller team project collection". i've removed checkbox! caused different error when running build removed checkbox.

my test agent set test controller - set interactive process - screen saver disabled

i have added test settings file solution.

  • test execution method: remote execution
  • controller shows controller
  • manage test controllers shows test agent ready!!

resources used:

http://msdn.microsoft.com/en-us/library/ee291332.aspx

http://msdn.microsoft.com/en-us/library/dd695837.aspx

after performing steps i'm still getting same error. problem be? test settings seems correctly point test controller. test controller , agent seems configured correctly. need use lab management have these tests run on vm?

thanks!

you need configure standard environment in lab management tfs knows sending tests.

http://nakedalm.com/standard-environments-for-automated-deployment-and-testing/

should take few minutes setup.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -