如何在我的本地和远程服务器(而不是Visual Studio)中运行编码的ui测试? [英] How to run coded ui tests in my local and remote server(not from visual studio)?

查看:79
本文介绍了如何在我的本地和远程服务器(而不是Visual Studio)中运行编码的ui测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用visual studio 2017企业进行编码ui测试。现在我想在我的本地和远程机器上运行我的测试而不使用visual studio。我想要详细的程序。

I have been using visual studio 2017 enterprise for coded ui testing.now i want to run my tests in my local as well as in remote machine without using visual studio.I want detailed procedure.

注意:我使用的是编码ui用于wpf应用程序而非web应用程序。

Note:I am using coded ui for wpf application not web application.

问题:

1)如何为VS 2017配置测试控制器和测试代理?

1)How to configure test controller and test agents for VS 2017?

2)我是否需要配置TFS 2017才能运行编码ui测试?如果是,如何处理。请从头开始解释因为我是TFS的新手。

2)Do i need to configure TFS 2017 to run coded ui tests?if yes how to approach that.please explain from scratch because i am new to TFS.

3)你能解释一下MStest.exe吗?是否有助于远程运行编码的ui测试?我们是否需要Mstest.exe以及测试控制器和测试代理来远程运行编码的ui测试?

3)Can you please explain me about MStest.exe. would it help to run coded ui tests remotely?do we need Mstest.exe along with test controller and test agents to run coded ui tests remotely?

4)我们可以使用TFS配置测试代理吗? ?如果是,请详细说明。

4)Can we configure test agents with TFS?if Yes please explain in detail.




推荐答案

朋友,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

问题1:

您可以从
here

问题2:

我们可以使用测试控制器和代理远程运行测试。使用TFS也可以远程运行测试,但它没有必要。

We can use test controller and agent to run tests remotely. Using TFS can run tests remotely too, but it's not necessary for it.

对于question3:

For question3:

Mstest是一个运行测试的工具。您可以找到有关如何使用它的详细信息  这里。 

Mstest is a tool for running tests. You can find details about how to use it here. 

通常,如果我们有CodedUITest.dll。我们可以使用命令"mstest /testcontainer:CodedUITest.dll"运行测试项目。它确实有助于远程运行测试。我们需要使用测试代理远程运行CUIT。

Normally, if we have a CodedUITest.dll. We can use command"mstest /testcontainer:CodedUITest.dll" to run the test project. And it do help run tests remotely. We need it with test agent to run CUIT remotely.

最后,对于问题3和问题4中的TFS详细信息,因为这是关于vs IDE中的测试的论坛。我建议您可以在
Stackoverflow
开发者社区
,带有TFS标签,以获得更专业的支持。

Finally, for TFS details in question3 and question4, since this is forum about tests in vs IDE. I suggest you can open a new thread in Stackoverflow or Developer community with TFS tag to get more professional support.

感谢您的理解与合作。

最好的问候

Lance


这篇关于如何在我的本地和远程服务器(而不是Visual Studio)中运行编码的ui测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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