Search code examples
visual-studio-2008unit-testingweb-applicationstfswatin

Timeout problem running WatiN tests as part of TFS build


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.

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

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.

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

Has anyone else hit this problem and found a solution?


Solution

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

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