2012-04-26 22 views
8

Firefox가 최신 버전 12.0으로 업그레이드 된 후 Selenium이 작동하지 않습니다. 아래 메시지와 함께 실패합니다. 내가 파이어 폭스의 구버전을 사용한다면 여전히 잘 작동한다고 조언 해주십시오.Firefox 12.0에서 Selenium이 실행되지 않음

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: 
*** LOG addons.xpi: startup 
*** LOG addons.xpi: Skipping unavailable install location app-system-local 
*** LOG addons.xpi: Skipping unavailable install location app-system-share 
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\Abdul\AppData\Local\Temp\anonymous869859993705622974webdriver-profile\extensions\webdriver-staging 
*** LOG addons.xpi: checkForChanges 
*** LOG addons.xpi: No changes found 

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:95) 
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:157) 
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:93) 
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:136) 
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:78) 
    at Google.Open_Google_Firefox.Test_Google_FireFox(Open_Google_Firefox.java:13) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) 
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:702) 
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:894) 
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1219) 
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) 
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) 
    at org.testng.TestRunner.privateRun(TestRunner.java:768) 
    at org.testng.TestRunner.run(TestRunner.java:617) 
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) 
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) 
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) 
    at org.testng.SuiteRunner.run(SuiteRunner.java:240) 
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) 
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87) 
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185) 
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1110) 
    at org.testng.TestNG.run(TestNG.java:1022) 
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:109) 
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:202) 
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:173) 
FAILED CONFIGURATION: @AfterMethod tearDown 

.. .. .. ..

+1

어떤 셀렌 버전을 사용하고 있습니까? –

+0

셀렌 2.16.0 –

답변

8

나는 2.16과 같은 오류가있었습니다. 2.21.2로 업그레이드하면 Firefox 12를 사용할 수있었습니다.

+0

2.21.0으로 업그레이드했으며 현재 잘 작동 중입니다. 감사 –

0

그리고 당신은 파이어 폭스 11로 되돌릴 경우? (또는 이하?)

되돌아 왔는데 여전히 문제가 있다면, Selenium 웹 사이트를보고 버그로보고하십시오. 참으로 버그 인 경우, 다른 사람도보고 한 경우 너무 놀랍지는 않습니다.

+0

예 이전 버전에서는 정상적으로 작동합니다. –

2

현재 버전을 제거하고 이전 버전의 Firefox를 다시 설치하면이 문제가 해결됩니다.

Firefox의 최신 버전이 현재 Selenium 버전과 통합되어 있지 않기 때문입니다.

관련 문제