作为 TFS 构建的一部分运行 WatiN 测试的超时问题 [英] Timeout problem running WatiN tests as part of TFS build

查看:34
本文介绍了作为 TFS 构建的一部分运行 WatiN 测试的超时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的开发环境中运行了一个简单的 WatiN Web 测试,并且正在尝试让它在 TFS 构建服务器上运行.仅尝试加载具有以下异常的页面时失败:WatiN.Core.Exceptions.TimeoutException:Internet Explorer 繁忙时超时.

I've gotten a simple WatiN web test running on my dev environment and am trying to get it working on the TFS build server. It is failing when just trying to load a page with the following exception: WatiN.Core.Exceptions.TimeoutException: Timeout while Internet Explorer busy.

我已将测试超时设置为 3 分钟,这应该足够了.

I've set the test timeout to 3 minutes which should be plenty.

我了解到这可能是由 IE 保护模式引起的,但我不确定如何为 TFSService 帐户禁用它.

I've read that this could be caused by IE protected mode, but I'm not sure how to disable that for the TFSService account.

我在 Windows Server 2008 上使用 Visual Studio/TFS 2008.

I'm using Visual Studio/TFS 2008 on Windows Server 2008.

有没有其他人遇到过这个问题并找到了解决方案?

Has anyone else hit this problem and found a solution?

推荐答案

我找到了解决方案 - 关闭管理员的IE 增强安全配置".

I found the solution to this - it was to turn off "IE Enhanced Security Configuration" for Administrators.

下一个问题是 WatiN 认为它没有在 STA 线程中运行 - 我将就此发布一个单独的问题.

Next problem is that WatiN thinks it is not running in a STA thread - I'll post a separate question on that.

这篇关于作为 TFS 构建的一部分运行 WatiN 测试的超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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