I'm currently using Selenium Webdriver and developing my tests in Visual Studio 2012 with C#. I've successfully executed a remote test by using the following code:
public static void Test_RemoteWebDriver()
{
string url = "http://11.11.11.11:4444/wd/hub";
DesiredCapabilities ieCapibility = DesiredCapabilities.InternetExplorer();
ieCapibility.SetCapability("ignoreProtectedModeSettings", true);
IWebDriver driver = new RemoteWebDriver(new Uri(url), ieCapibility);
driver.Navigate().GoToUrl("http://www.google.com/");
driver.Quit();
}
What I want to do now is to use one machine as the automation controller and execute the tests on multiple remote machines. To clarify, I want to have the Selenium code on my controller machine but be able to run the test on multiple remote machines. How do I do this? I'm also using NUnit to run my tests but I understand this may not be the best solution for parallel testing. What would be the best framework to run remote Selenium tests? Many Thanks for any help, John