Project DescriptionSelenium Toolkit for .NET simplifies the setup and use of the popular functional testing framework Selenium. Simply add a reference and go!
Features
- Supports NUnit 2.5.3, 2.5.5, 2.5.7, 2.5.8, 2.5.9
- Installer includes common selenium tools, including the Selenium IDE and Selenium RC Server so you can download, install and start working with Selenium in your .NET projects faster.
- Configures and runs the java selenium RC host in the background for you
- Supports "configuration-less" mode where required runtime settings are read from the installer's registry keys.
- Runtime settings can be declared as Attributes for quick prototyping or alternatively externalized to a configuration file to support reuse in different environments.
- Configuration support for operating under a proxy-server
- Configuration support for custom user-extensions
- Configuration support for custom browser profiles
News
- January 2nd, 2011 - January release (0.8.4)
- November 22nd, 2010 - November release (0.8.3)
- November 19th, 2009 - November release (0.8.1)
- September 15th, 2009 - Initial release (0.8.0)
Learn More
ExamplesA basic test that uses attributes to define runtime settings:
[WebFixture("*iexplore","http://mywebsite.com"]
public class HomePageTest
{
[WebTest]
public void OpenHomePage()
{
ISelenium browser = Browser.Current;
browser.Open("/");
}
}
A test that uses settings in the config
[WebFixture]
public class HomePageTest
{
[WebTest]
public void OpenHomePage()
{
ISelenium browser = Browser.Current;
browser.Open("/");
}
}
An absolute barebones configuration (assuming registry keys are present):
<configuration>
<confgSections>
<section type="SeleniumToolkit.Config.SeleniumConfiguration, SeleniumToolkit" />
</configSections>
<Selenium
BrowserUrl="http://mywebsite.com"
/>
</configuration>
Buzz