2010-02-02 84 views
1

運行命令後java -jar selenium-server.jar -htmlSuite "iexplore" "http://www.google.com/" "C:\Selenium\suite.html" "C:\Selenium\results.html"瀏覽器打開並顯示頁面無法顯示在測試套件列中。請幫我解決這個問題?Selenium RC -htmlsuite錯誤

回答

1

通常情況下,這是因爲Selenium Test Suite的路徑錯誤。你確定它正在加載正確的版本嗎?

我還注意到,您正在瀏覽器名稱中加載沒有*的瀏覽器。 E.g使用

java -jar selenium-server.jar -htmlsuite *iexplore http://www.google.com c:\selenium\suite.html C:\selenium\results.html 

我對如何得到這個事情我的網站在http://www.theautomatedtester.co.uk/seleniumtraining/selenium_rc_setup.htm

0

嘗試下面的命令,讓我們知道您的反饋意見的教程,它應該工作。

Java的罐子硒的server.jar -htmlSuite 「IEXPLORE」, 「http://www.google.com/」, 「C:\硒\ suite.html」 「C:\硒\ results.html」 -port 4444