不使用Visual Studio执行CodedUI脚本 [英] Execute CodedUI scripts without Visual Studio

查看:55
本文介绍了不使用Visual Studio执行CodedUI脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我有编码的IBM脚本。我们知道它需要Visual Studio的许可证。我将要运行多个机器的脚本。我不想要任何许可证使用。


我的目标是我想在另一台机器上运行它们,没有视觉工作室和任何其他许可证。我只会开发在我的机器上使用高级版本的代码。(想要在没有VS和任何许可证的情况下在另一台机器上运行)


是否有一种在没有Visual Studio的情况下运行脚本的方法。如果是的话。请向我发送stesp和所需的支持文件以及如何执行代码。


是否需要许可。?



请提供您的反馈意见,选择codedUi自动化会很有帮助


谢谢


ThamaraiSelvan

解决方案

嗨ThamaraiSelvan,


编码的UI测试脚本可以在没有VS的机器上执行,并且不需要许可证


如果你想在没有安装Visual Studio的情况下在机器上本地运行编码的UI测试,你可以尝试在该机器上安装
测试代理,然后执行在命令行中使用
MSTest.exe 编码的UI 测试脚本。




mstest.exe文档
显示了如何从命令行运行编码的UI测试。


欲了解更多信息,请参阅此博客:


FAQ:
在没有VS的机器上运行编码的UI测试
 






您只需要确保编码的UI将与之交互的应用程序安装在测试机器中。




此外,您应该将测试脚本
(。dll文件)直接从原始编码的UI测试项目位置复制到测试计算机。


然后你可以使用
mstest.exe 从命令行执行这些测试。






祝你好运,


陈伟伟


Hi All

I have codedUI scripts.We know that it required license for Visual Studio.Since am going to run the scripts with multiple machine.i dont want any license to use.

My aim is i want to run them in another machine  without visual studio and any other license.I will just develop the code using premium version in my machine.(want to run in another machine without VS and any License)

Is there  a way to run our scripts without Visual Studio.If Yes.please send me the stesp and required support files  and how to execute the code.

Is there any licensing required for it.?

Kindly provide your feedback ,it would be helpful for us to select the codedUi automation

Thanks

ThamaraiSelvan

解决方案

Hi ThamaraiSelvan,

Coded UI test script could be executed in a machine without VS, and there is no license needed.

If you want to run coded UI test locally on a machine without installing Visual Studio, you could try to install the test agent on that machine and then execute the coded UI test script using MSTest.exe in command line.

The mstest.exe documentation on MSDN shows how to run the coded UI test from the command line.

For more information, please see this blog:

FAQ: Running Coded UI Test on a machine without VS 

You’ll just need make sure the applications, which the coded UI will interact with, are installed in the test machine.

In addition, you should copy your test script (.dll file) directly from your original coded UI test project location to your test machine.

Then you could use the mstest.exe to execute these tests from the command line.

Best regards,

Fletch


这篇关于不使用Visual Studio执行CodedUI脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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