Visual Studio 2015测试代理配置失败 [英] Visual Studio 2015 Test Agent Configuration Fail

查看:107
本文介绍了Visual Studio 2015测试代理配置失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我正在执行VS2015测试代理配置:TestAgentConfig.exe

它失败了:"例外:索引(基于零)必须大于或等于零且小于参数列表的大小。"

我没有指定:tfsTeamProjectCollection,dtlEnvUrl,dtlMachineName,capabilties,alternativeCredUserName,alternativeCredPassword



=======
$
输出:

=======


C:\>"%VS140COMNTOOLS%.. \IDE \ TestAgentConfig.exe" ConfigureAsProcess / userName:"< domain> \< user>" /密码:"<密码>" / enableAutoLogon:Yes / disableScreenSaver:Yes / currentProcessUserPassword:" empass"



Microsoft(R)Visual Studio测试代理配置工具版本14.0.23102.0

版权所有(c)Microsoft Corporation。  保留所有权利。

获取配置:

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;成功查询当前配置。

验证用户名和密码:

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;验证的用户名和密码。

防火墙配置:

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;跳过防火墙配置,因为此计算机上未安装防火墙。如果您稍后添加防火墙,则需要再次运行此工具以正确配置防火墙。

例外:索引(基于零)必须大于或等于零且小于参数列表的大小。



===========
$
systeminfo:

===========
$
操作系统名称:  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; Microsoftr Windows Serverr 2008企业版
操作系统版本:  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;   6.0.6002 Service Pack 2 Build 6002
$


请帮助我缺少什么?



Best此致,

Moshe



Hello,

I'm executing VS2015 Test Agent Configuration: TestAgentConfig.exe
It failed with: "Exception : Index (zero based) must be greater than or equal to zero and less than the size of the argument list."
I didn't specify: tfsTeamProjectCollection,dtlEnvUrl,dtlMachineName,capabilties,alternativeCredUserName,alternativeCredPassword

=======
Output:
=======

C:\>"%VS140COMNTOOLS%..\IDE\TestAgentConfig.exe" ConfigureAsProcess /userName:"<domain>\<user>" /password:"<password>" /enableAutoLogon:Yes /disableScreenSaver:Yes /currentProcessUserPassword:"empass"

Microsoft (R) Visual Studio Test Agent Configuration Tool Version 14.0.23102.0
Copyright (c) Microsoft Corporation.  All rights reserved.
Getting Configuration:
                Queried current configuration successfully.
Verify user name and password:
                Validated user name and password.
Firewall Configuration:
                Skipped firewall configuration as no firewall is installed on this machine. If you add a firewall later,
 you need to run this tool again to configure the firewall properly.
Exception : Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

===========
systeminfo:
===========
OS Name:                   Microsoftr Windows Serverr 2008 Enterpris
OS Version:                6.0.6002 Service Pack 2 Build 6002

Please help what am I missing?

Best Regards,
Moshe


推荐答案

你好mronen,

Hi mronen,

感谢您在此发布。

您是否运行了TestAgentConfig.exe来配置Test Agent 2015?对于Test Agent 2015,我们经常使用它在Vnext Build的进度中运行测试。您只需要将任务Visual Studio测试代理
添加到构建定义中,此任务将"Test Agent"部署到计算机并自动配置它。

Did you run the TestAgentConfig.exe to configure your Test Agent 2015? For Test Agent 2015, we often use it to run test during the progress of Vnext Build. You just need to add the task Visual Studio test agent to the build definition, this task will deploy "Test Agent" to the machine and configure it automatically.

有关此任务的更多信息,您可以参考以下链接:

For more information about this task, you could refer to the following link:

https://www.visualstudio .com / zh-CN / docs / build / steps / test / visual-studio-test-agent-deployment

最好的问候

Limitxiao Gao

Best Regards
Limitxiao Gao


这篇关于Visual Studio 2015测试代理配置失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆