batch file - Execution of CodedUI tests on Remote machine without using the TestAgent/Controller -


i have few ordered tests execute locally using vstest.console.exe in batch file. want launch batch file remote system on 15 vms. have desktop active on vms , user under these test cases need executed same user logged in. when try execute batch file using psexec throws error , dosent launch tests error shown below

c:\testrunningfolder>vstest.console.exe c:\buildsfolder\bvttests.orderedtest /settings:c:\buildsfolder\questcodedui.testsettings /logger:trx microsoft (r) test execution command line tool version 12.0.30723.0 copyright (c) microsoft corporation. rights reserved. starting test execution, please wait... warning: warning: test run deployment issue: assembly or module 'uiacomwrapp r' directly or indirectly referenced test container 'c:\buildsfolder\questcodedui.dll' not found.error: test host process exited unexpectedly. error: failed queue test run 'testuser@remotemachine 2015-05-14 15:57:49': unable start agent process.

please let me know how can execute codedui tests on remote machine without using testagent/controller. possible via wmi ?. tried , succeeded please let me know.

update : able past issue copying required files in folder. trying launch codedui tests using psexec.exe on remote system. have remote desktop active , when try launch batch file using command line , gives me message shown below. psexec.exe \remotemachinename -i "c\users\testuser\desktop\runtests.bat" when returns error code 1 , tests not started yet. tried searching solution couldn't find usefull.

for above mentioned scenario, please copy dependency dll (eg : microsoft.visualstudio.qualitytools.codeduitest etc.) folder build dll (projectname.dll) file copied. make sure using correct version of vstest supports version of vs using. example, if code builded using vs 2015, have use vstest.console.exe comes test agent 2015/test agent 2013 update 5. trick worked me. please let me know whether works you. regards.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -