无法配置测试代理。 [英] Not able to configuration Test Agent.

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

问题描述

我已经在我的TFS机器上安装了测试控制器并尝试在我的(客户端)机器上安装测试代理,其中MTM可用,它会抛出错误"无法用测试控制器注册此测试代理程序。"&hellip ;&rdquo ;.我的系统正在工作
组,是否会产生任何问题?

I have installed test controller on my TFS machine and tried installing Test Agent on my (client) machine where MTM is available, it throws an error “Failed to register this test agent with the test controller..…”. My systems are in work group, does it create any problem?

由于这个问题,我无法配置"实验室管理"和"rdquo;并且无法运行编码的UI测试。有没有解决这个问题的方法?

Because of this problem I am not able to configure “Lab Management” and not able to run coded UI test as well. Is there any work around for this problem?

推荐答案

由于安装了测试代理的机器在工作组中,并且有测试控制器和测试代理之间没有信任。

Since the machines on which test agent is getting installed are in work group and there is no trust between test controller and test agent.

解决方案是影子帐户:

步骤1:在测试控制器上创建本地帐户(比如User1)使用密码Pass1)并将其添加到本地组:" TeamTestAgentService"和"TeamTestControllerUsers"

Step1: Create an local account on Test controller (say User1 with password Pass1 ) and add this to local groups: "TeamTestAgentService" and "TeamTestControllerUsers"

步骤2:在测试代理上创建与上述帐户相同的本地帐户。

Step2: Create local account on test agent same as above account.

步骤3:现在使用此帐户配置和运行测试代理配置工具。测试代理服务应该使用此帐户运行。

Step3: Now use this account to configure and run test agent configuration tool. Test agent service should be running with this account.

实验室管理通过在TFS管理控制台上的实验室管理配置期间设置实验室服务帐户来解决虚拟环境的此问题[http://msdn.microsoft .com / zh-cn / vstudio / gg131911.aspx]

Lab Management solves this problem for virtual environment by setting lab service account during lab Management configuration on TFS Admin Console [http://msdn.microsoft.com/en-us/vstudio/gg131911.aspx ]

只需在虚拟模板上安装测试代理,TFS负责使用工作组上的实验室服务帐户配置测试代理以及域加入的虚拟机。

One just need to install test agent on virtual templates and TFS takes care of configuring test agent using lab service account on work group as well as domain joined virtual machines.

更多信息@http://blogs.msdn.com/b/lab_management/archive/2010/02/22/what-is-lab-service -account.aspx

More info @http://blogs.msdn.com/b/lab_management/archive/2010/02/22/what-is-lab-service-account.aspx

 


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

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