在 TeamCity 上运行 Watin [英] Running Watin on TeamCity

查看:26
本文介绍了在 TeamCity 上运行 Watin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 TeamCity 运行一个简单的 Watin 测试,但 Internet Explorer 窗口从未像通常通过 CruiseControl 那样显示.

I'm trying to run a simple Watin test through TeamCity but the Internet Explorer window is never shown as is usually is via CruiseControl.

我收到一个错误,提示它找不到文本字段,因此某些内容正在运行.但是没有窗户我看不到什么.

I get an error that it can't find a text field so something is running. But i can't see what without the window.

是否需要对 TeamCity 服务器的设置进行特定更改?

Is there a specific change to the setup of TeamCity server that I need to do?

推荐答案

另一个论坛

所有学分归马特·贝克所有

All credits go to Matt Baker

供将来尝试使用 TeamCity 自动运行 WatiN 测试的任何人参考.您必须使用 \bin\agent.bat start 而不是作为服务来启动构建代理.WatiN 需要完整的 UI 才能正确执行,但它不会将此环境作为服务.我希望这能让其他人更轻松!

For future reference to anyone who attempts to run WatiN tests automatically using TeamCity. You must start your build agent using \bin\agent.bat start and NOT as a service. WatiN requires a full UI to execute properly and it doesn't get this environment as a service. I hope this makes it easier for other people!

这篇关于在 TeamCity 上运行 Watin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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