I want to have our Selenium tests to run automatically the same way as our other NUnit tests does. This means that I want to have the Selenium Server started automatically before running the test cases.
- I started by downloading the Selenium RC and unzipped it to C:SeleniumSelenium-RC
- I created a .NET project where I referenced the ThoughtWorks DLLs in C:SeleniumSelenium-RCselenium-dotnet-client-driver-1.0.1
- I added a new class to where I copied the Selenium getting started C# class
- I added my own TestFixtureSetup and a TestFixtureTeardown to this class.
… Fortsätt läsa
Today I played around with jQuery and drawing some basic shapes using the jQuery SVG plugin. It’s awesome!
Update: I played around with it some more. See: /wp/triangle/… Fortsätt läsa
I while ago I introduced a friend to Firefox. I didn’t want to push it but just show it and I hoped it would stick. After some weeks I asked if she liked it and she said it was nice but that she missed the tabs that IE had.… Fortsätt läsa
I tried to run my WatiN tests in the test runner in SharpDevelop and got stuck on the following error:
System.Threading.ThreadStateException : The CurrentThread needs to have it's ApartmentState set to ApartmentState.STA to be able to automate Internet Explorer.
If you are running your tests with MBUnit you can add the following to your TestFixture:
[TestFixture(ApartmentState = ApartmentState.STA)]
But I couldn’t find any similar for NUnit.… Fortsätt läsa