通过USB在多台计算机上运行编码的UI测试作为exe文件 [英] Running Coded UI Tests as a exe file on multiple machines through USB

查看:82
本文介绍了通过USB在多台计算机上运行编码的UI测试作为exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我想创建一个带有所有编码的UI测试脚本的exe,以便在没有安装Visual Studio的机器上执行?有没有人试过这个?



谢谢。

解决方案

< blockquote>

嗨朋友,


欢迎来到MSDN论坛。


>>我想创建一个包含所有编码的UI测试脚本的exe文件,以便在没有安装Visual Studio的机器上执行?



您是否要创建运行编码的UI测试脚本的exe文件?


这是类似的线程,描述了如何使用exe文件来运行测试。


https://social.msdn.microsoft.com/Forums/en-US/3d70a8c2-f194-4c49-a56f-0c6be6743794/to-create-setupexe-of-the-coded-ui-test -script-to-it-on-multiple-machines?forum = vsautotest



此外,我们可以在远程机器中安装测试代理,然后使用该机器中的命令行运行测试.dll文件,而不使用VS IDE。就像文档一样下面:


https://blogs.msdn.microsoft.com/anutthara/2009/12/16/running-tests-in-mstest-without-installing-the-vs-ide/


https://blogs.msdn.microsoft.com/gautamg/2011/02/25/faq-running-coded-ui-test-on-a-machine-without-vs/


您可以选择运行MSTest.exe选项,通过在机器中安装测试代理,从未安装visual studio的机器上执行编码的UI测试。



如果我误解,请随时告诉我。


期待您的回复。




最好的问候,


Fletcher



Hi

I want to create an exe with all coded UI test scripts to be executed on machines with no visual studio installed? Has any one tried this before?

Thanks.

解决方案

Hi friend,

Welcome to MSDN forum.

>>I want to create an exe with all coded UI test scripts to be executed on machines with no visual studio installed?

Did you want to create exe file of the coded UI test script to run?

This is the similar thread describes how to use the exe file to run test.

https://social.msdn.microsoft.com/Forums/en-US/3d70a8c2-f194-4c49-a56f-0c6be6743794/to-create-setupexe-of-the-coded-ui-test-script-to-run-it-on-multiple-machines?forum=vsautotest

In addition, we could install the test agent in the remote machine, then to run the test .dll file using the command line in that machine without VS IDE. Like the documents below:

https://blogs.msdn.microsoft.com/anutthara/2009/12/16/running-tests-in-mstest-without-installing-the-vs-ide/

https://blogs.msdn.microsoft.com/gautamg/2011/02/25/faq-running-coded-ui-test-on-a-machine-without-vs/

You could choose to run MSTest.exe option to execute coded UI tests from a machine where visual studio is not installed by just installing the test agents in the machine.

Please feel free to let me know if I misunderstood.

Looking forward to your reply.

Best regards,

Fletcher


这篇关于通过USB在多台计算机上运行编码的UI测试作为exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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