English 中文(简体)
Jenkins停止在发射互联网探索器
原标题:Jenkins stops at Launching Internet Explorer

我们用詹金斯作为项目中的线人 我们用以下命令从指挥线 运行了线人的线人

java -jar C:\jenkins\jenkins.war --httpPort=8085 --ajp13Port=8009

由于系统需要经常重新启动,我们改用光学服务作为窗口服务。

现在,我们正面对着 测试案例的问题。 测试案例不是在我们让詹金斯作为服务之后进行的。 我们得到了以下的日志, 并且从那时起没有取得任何进展 。

18:36:30,718 INFO  [org.openqa.selenium.server.SeleniumDriverResourceHandler] Command request: getNewBrowserSession[*iexploreproxy, http://192.168.132.105:8080/, ] on session null
18:36:30,718 INFO  [org.openqa.selenium.server.BrowserSessionFactory] creating new remote session
18:36:30,796 INFO  [org.openqa.selenium.server.BrowserSessionFactory] Allocated session 80b95d0273ac4ea4a82860c79438f071 for http://192.168.132.105:8080/, launching...
18:36:30,796 INFO  [org.openqa.selenium.server.browserlaunchers.WindowsProxyManager] Modifying registry settings...
18:36:31,781 INFO  [org.openqa.selenium.server.browserlaunchers.InternetExplorerCustomProxyLauncher] Launching Internet Explorer...
最佳回答

之后的修改将解决问题

  1. Update the selenium version.
  2. Use *iexploreproxy or *piiexplore for IE instead of *iehta/*iexplore
问题回答

Perhudson Wiki, 您应该将哈德逊( 或Jenkins) 作为任务而不是 GUI 测试的服务 。 请检查 < a href=" http:// wiki.hudson- ci. org/ display/ HUDSON/ Tomcat" rel = "nofollow" > here 。 请查看 Windows 中的 GUI 测试部分 。





相关问题
Javascript communication with Selenium (RC)

My Application has a lot of calculation being done in JavaScript according to how and when the user acts on the application. The project prints out valuable information (through console calls) as to ...

Running automated Web browser tests under Hudson

I m running Hudson for my automated builds and love it. I d now like to create automated Web browser tests using either WaTiN (preferred) or Selenium. As my Hudson runs as a Windows service (under ...

Using a Java library with Scala reserved words

I m using an external library written in Java (Selenium). One of the function calls has the signature type(String, String), and I keep getting compiler errors when trying to call it from Scala, that ...

Heightened privilege selenium browsers on Windows 7 (x64)

I make use of *firefox and *iexplore etc. within my selenium tests to get around the issue of self-signed SSL certificates on my local machine. Unfortunately, now that I ve moved from XP over to 7, ...

Selenium not working with Firefox 3.x on linux

I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my ...

Selenium IDE: Incrementing values by 1 and 71

Currently I m incrementing a value called wert by 1 with the following code: getEval storedVars[ wert ]=${wert}+1; The value wert is something like 80401299. I want to add 1 to the value, if it ...

热门标签