问题描述
让我解释一下我目前的情况,我的任务是让我们的编码测试运行到带有实验室环境的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
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
这篇关于如何以及在何处设置实验室服务帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!