젠킨스와 함께 Selenium WebDriver를 사용하고 있습니다. 우리는 Windows Server 2008에서 실행되는 Jenkins 서버를 가지고 있고 모든 테스트 케이스를 실행하고 싶습니다. mstest를 사용하고 Windows 서버에 VS를 설치했습니다 ... 여기에 내 서버에 설치 한 플러그인 목록이 있습니다. :젠킨스가있는 Selenium WebDriver
Selenium Auto Exec Server(AES) plugin
This plugin is for continuous regression test by Selenium Auto Exec Server (AES). 0.5
Jenkins Selenium Builder plugin
1.1
Hudson Seleniumhq plugin
This plugin integrates Seleniumhq to Hudson.
0.4
Selenium HTML report
0.94
SeleniumRC plugin
This plugin allows you to create Selenium server instance for each project build.
1.0
젠킨스에 설치할 플러그인이 있습니까?
편집
이것은 내가 내 드라이버를 인스턴스화하기 위해 사용하고 무엇을, 나는 RemoteDriver
를 사용해야합니까?
public static IWebDriver GetDriver()
{
string _url = new Uri(Common.Url).DnsSafeHost.ToString();
switch (Common.BrowserSelected)
{
case "ff":
FirefoxProfile profile = new FirefoxProfile();
profile.SetPreference("network.http.phishy-userpass-length", 255);
profile.SetPreference("network.automatic-ntlm-auth.trusted-uris", _url);
drv = new FirefoxDriver(profile);
break;
case "ie":
var options = new InternetExplorerOptions();
options.IntroduceInstabilityByIgnoringProtectedModeSettings = true;
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.SetCapability(CapabilityType.AcceptSslCertificates, true);
drv = new InternetExplorerDriver(options);
break;
case "chrome":
//_driver = new ChromeDriver();
break;
}
return drv;
}
"RemoteDriver"를 사용하는 것이 좋습니다. 장기적으로는 도움이됩니다. – aimbire
어떻게? 당신의 제안을 넓혀 주시겠습니까 –