waitin closes browsers for all projects that are building.

Posted by Scooter on Stack Overflow See other posts from Stack Overflow or by Scooter
Published on 2010-05-24T12:43:59Z Indexed on 2010/05/24 13:01 UTC
Read the original article Hit count: 189

Filed under:
|

I'm having an issue running WatiN under CruiseControl.net, where on a .forceclose, watin is closing all open browser instances. I have multiple projects running under cruisecontrol, and its not uncommon for some of those projects to be building and testing at the same time. There has been more than one occasion where watin will close the browser window for a different project, causing it to fail. In my local tests, creating my watin instance under a new process fixes this issue. But running under cruisecontrol, when doing this, I lose my IE object:

Object reference not set to an instance of an object.

  • Running CC.net as a service
  • CC.Net server is Windows 2003
  • IE6

Any thoughts?

© Stack Overflow or respective owner

Related posts about cruisecontrol.net

Related posts about watin