Running Watin on TeamCity

前端 未结 5 1401
孤城傲影
孤城傲影 2020-12-14 19:10

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 ca

5条回答
  •  温柔的废话
    2020-12-14 19:37

    Found this on another forum

    All credits go to Matt Baker

    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!

提交回复
热议问题