在Coded UI中,有没有办法指定Agent机器的IP /主机名? [英] In Coded UI, is there any way to specify IP/Hostname of Agent machine?

查看:48
本文介绍了在Coded UI中,有没有办法指定Agent机器的IP /主机名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编码用户界面中,有没有办法指定IP /主机名需要运行测试的代理机器?例如:如果我想在Agent
1上运行method1,在Agent 2上运行method2,依此类推。我可以使用"Test Controller-Test Agent"运行测试。虽然设置。但是,我希望在特定的机器上运行一些测试,并且需要等待其他机器完成当前的测试运行。
(方法2应该等到方法1完成)任何帮助都会非常感激!

推荐答案

嗨Sanoop Karakkat,

Hi Sanoop Karakkat,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

之前我曾试过这个,但没有运气。我们仍然无法指定代理来运行特定的测试方法。作为一种解决方法,我们可以尝试过滤一些代理来实现它。请参考以下主题:

I had tried this before, but with no luck. We still cannot specify the agent to run the specific test methods. As a workaround, we could try to filter some agents to implement it. Please refer to this thread:

https://social.msdn.microsoft.com/Forums/en-US/156b4a3f-fb7f-4522-80af-30cb5255acd0 / running-specific-codeduitest-remote-on-test-agents?forum = vsautotest

Paul 给出了答案。

顺便说一句,如果您考虑使用 MTM (Microsoft测试管理器),它也可以使用它:

Btw, if you’ll consider about using MTM (Microsoft Test Manager), it’s also the tool could make it:

  https ://msdn.microsoft.com/en-us/library/dd286739(v = vs.110).aspx

祝你好运,

Fletch


这篇关于在Coded UI中,有没有办法指定Agent机器的IP /主机名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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