如何以及在何处设置实验室服务帐户 [英] How and where can I setup a Lab Service Account

查看:71
本文介绍了如何以及在何处设置实验室服务帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 


让我解释一下我目前的情况,我的任务是让我们的编码测试运行到带有实验室环境的MTM中。


以下是我现在所拥有的:


1。成功创建了实验室环境(在Azure VM上),成功安装了测试控制器,MTM可以自动查看并安装代理。环境已经准备就绪。


2。检查我们的测试自动化解决方案到TFS。


3。创建了测试计划,已将相关的手动测试用例与相应的自动脚本相关联。


4。创建了构建测试自动化的构建定义,并添加了将其输出发布到服务器中的drop文件夹的任务。


5。设置测试计划以便在运行测试时使用最新版本,这是我遇到错误的地方:


MTM测试运行日志条目:


"启动测试运行时出错:测试运行的构建目录不存在或需要访问权限"


在目标实验室环境中甚至查看器:


(QTController.exe,PID 2788,线程16)无法使用实验室服务帐户访问构建目录。失败:网络路径不存在或无法使用以下用户访问:https://< [包含我们的测试程序集的构建drop]>使用
< [我在测试控制器中指定的帐户作为实验室服务帐户]>。错误代码:67


现在我的问题是我将在哪里创建实验室服务帐户?在我的情况下,我刚刚在实验室环境VM中添加了另一个用户,我做得对吗?任何人都可以提供建议,请耐心等待,因为这是我第一次设置它,我也不确定
Azure VM(实验室环境)如何与我们的TFS进行通信。 


TIA,


3ggerhappy




解决方案

嗨3ggerhappy,


实验室服务帐户是TFS中的帐户具有必要权限的组,它可以是tfs管理员帐户。更多信息,请参考:

什么是实验室服务帐户?


您的测试控制器和代理已安装在Azure VM上,并且实验室环境已准备就绪,因此他们可以相互通信。 / p>

我认为您使用影子帐户(相同的用户名和密码),您需要将相同的帐户添加到TFS计算机并将其添加到TFS组(例如管理员组)
 


问候


Starain


Hi, 

Let me explain my current scenario, I was tasked to make our codedui tests running into MTM with a Lab Environment.

Here is what I have now:

1. Successfully created the Lab Environment(on Azure VM), successfully installed the test controller, MTM where able to see it and installed the agent automatically. Environment is ready.

2. Checked in our Test Automation solution into TFS.

3. Created Test Plan, already associated manual Test Cases to corresponding Automated Script.

4. Created a build definition that would build the Test Automation, and add task that would publish its output to drop folder in the server.

5. Setup the Test Plan to make use of the latest build then upon running a test, here is where i am having an error:

at MTM test run log entries:

"Error starting the test run: The build directory of the test run either does not exist or access permission is required"

at the Target Lab Environment Even Viewer:

(QTController.exe, PID 2788, Thread 16) Could not use lab service account to access the build directory. Failure: Network path does not exist or is not accesible using following user: https://<[the build drop containing our test assemblies]> using <[The account I specified in test controller as lab service account]>. Error Code: 67

Now my question is where will I create the lab service account? in my case I just added another user in the Lab Environment VM am i doing it right? Can anyone please advise, and please bear with me as it is my first time setting this up, i am also unsure how the Azure VM(Lab Environment) could communicate to our TFS. 

TIA,

3ggerhappy

解决方案

Hi 3ggerhappy,

The lab service account is the account that in TFS group with necessary permission, it can be a tfs administrator account. More information, please refer to: What is Lab Service Account?

Your test controller and agent are installed on the Azure VM and the lab environment is ready, so they could communicate to each other.

I think you use the shadow account (same username and password), you need to add the same account to the TFS machine and add it to a TFS group (e.g. administrator group)  

Regards

Starain


这篇关于如何以及在何处设置实验室服务帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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