2011-03-04 23 views
0

,當我嘗試運行命令命令「硒測試」不可用Spring Roo的

roo> selenium test --controller ~.web.TimerController 

我得到以下錯誤:

Command 'selenium test --controller ~.web.TimerController' was found but is not 
currently available (type 'help' then ENTER to learn about this command) 

有誰知道爲什麼會這樣?

+0

也許你應該'輸入'幫助'然後ENTER':-) – 2011-03-04 14:42:44

+0

測試運行在Roo shell之外嗎?從shell中,如果在項目庫中鍵入'mvn selenium:selenese',它是否工作? – 2011-03-05 15:24:56

+0

它確實有效!但實際上原來的命令今天也工作,我不知道爲什麼,因爲我沒有改變任何東西。但無論如何感謝! – Neets 2011-03-07 09:41:42

回答

0

看來你首先必須運行「網絡mvc控制器」,然後硒測試可用。版本1.2.3-RELEASE是這樣。我不確定以前的版本。