2012-04-19 16 views
1

中のSeleneseハングは、私は春Rooのチュートリアルを通じて自分の道を働いていると私は、この時点で立ち往生:MVNのセレン:春Rooのチュートリアル

http://static.springsource.org/spring-roo/reference/html/beginning.html#beginning-step-7

これは、Mavenのコマンドライン出力である:

C:\pizza>mvn selenium:selenese 
[INFO] Scanning for projects... 
[INFO] 
[INFO] ------------------------------------------------------------------------ 
[INFO] Building pizzashop 0.1.0.BUILD-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] 
[INFO] --- selenium-maven-plugin:2.1:selenese (default-cli) @ pizzashop --- 
log4j:WARN No appenders could be found for logger (org.openqa.selenium.server.SeleniumServer). 
log4j:WARN Please initialize the log4j system properly. 
14:53:20.476 INFO - Preparing Firefox profile... 
14:53:23.026 INFO - Launching Firefox... 

私のFireFox 11ブラウザが起動しましたが、現在表示されているURLがあり、すべてがハングアップしているようです。

ご意見やご提案は歓迎します。

環境: OSのWindows 7 JDK 1.6 のMaven 3.0.3 Firefoxの11 最新の春のROOはそれはのpom.xml中のセレンのプラグイン設定だ

答えて

1

をダウンロードしました。 Firefox 3xをインストールするか、別のサポートされているブラウザを使用するように設定を変更することができます。例えば、

 <plugin> 
      <groupId>org.codehaus.mojo</groupId> 
      <artifactId>selenium-maven-plugin</artifactId> 
      <version>2.1</version> 
      <configuration> 
      <browser>*safari</browser> 
      <suite>src/main/webapp/selenium/test-suite.xhtml</suite> 
      <results>${project.build.directory}/selenium.html</results> 
      <startURL>http://localhost:4444/</startURL> 
     </configuration> 
      <dependencies> 
       <dependency> 
        <groupId>org.seleniumhq.selenium</groupId> 
        <artifactId>selenium-server</artifactId> 
        <version>2.9.0</version> 
       </dependency> 
      </dependencies> 
     </plugin> 
関連する問題