NUnit GUI Runner and Apartment State

Posted by tyndall on Stack Overflow See other posts from Stack Overflow or by tyndall
Published on 2010-03-17T15:17:52Z Indexed on 2010/03/18 9:41 UTC
Read the original article Hit count: 540

Filed under:
|
|
|
|

how do you set the apartment state in the NUnit GUI runner? I'm trying to run a single NUnit test with WatiN and I'm getting the message.

MyNamespace.LoginTests.CanLogin: System.Threading.ThreadStateException : The CurrentThread needs to have it's ApartmentState set to ApartmentState.STA to be able to automate Internet Explorer.

© Stack Overflow or respective owner

Related posts about nunit

Related posts about watin