PATH運行測試Firefox的二進制我不斷收到以下錯誤,當我嘗試運行在硒IDE與webdriver的播放測試。接收org.openqa.selenium.WebDriverException:無法找到在硒IDE與webdriver的播放
Caused by: org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA
Build info: version: ’2.32.0′, revision: ’6c40c18′, time: ’2013-04-09 17:22:56′
System info: os.name: ‘Windows 7′, os.arch: ‘amd64′, os.version: ’6.1′, java.version: ’1.6.0_39′
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.Executable.(Executable.java:72)
at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:59)
at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:55)
at org.openqa.selenium.firefox.FirefoxDriver.getBinary(FirefoxDriver.java:175)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:100)
… 14 more
該錯誤提到在PATH中找不到firefox二進制文件。我更新了路徑中的Firefox二進制文件,但仍然收到相同的錯誤消息。測試用例中使用的函數是一個自定義的case和waitforelementpresent。
這是我在我的路徑C的變量值:\程序文件(x86)\火狐ESR 17
我怎樣才能解決這個問題?