解决方法为将selenium-server-standalone-2.37.0.jar升级至selenium-server-standalone-2.41.0.jar即可。

下载地址:http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar

这里是因为更新firefox所导致的问题,从27更新到28.0所致。

错误如下:

WARN <init>, HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
ERROR prepareTestInstance, Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@619eb7] to prepare test instance [com.infomorrow.AllUnitStory@fb182b]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:312)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sendReportPageStep' defined in file [D:\develop\webtest\target\classes\com\infomorrow\Step\SendReportPageStep.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.infomorrow.Step.SendReportPageStep]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** 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\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1007)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:120)
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
... 25 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.infomorrow.Step.SendReportPageStep]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** 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\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1000)
... 41 more
Caused by: java.lang.RuntimeException: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** 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\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at com.infomorrow.help.WebDriverHelp.getWebDriver(WebDriverHelp.java:45)
at com.infomorrow.Step.SendReportPageStep.<init>(SendReportPageStep.java:259)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
... 43 more
Caused by: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** 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\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Command duration or timeout: 54.75 seconds
Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)
at com.infomorrow.help.WebDriverHelp.getWebDriver(WebDriverHelp.java:21)
... 49 more
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
addons.xpi-utils: XPI Database saved, setting schema version preference to 15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
System JS : ERROR resource://ntab/NTabDB.jsm:224 - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAppShellService.hiddenDOMWindow]
*** 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\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788},"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000}}}] state [{"name":"winreg-app-global","addons":{"fiddlerhook@fiddler2.com":{"descriptor":"C:\\Program Files (x86)\\Fiddler2\\FiddlerHook","mtime":1393237590984,"rdfTime":1391542948000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1396345095646,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"cehomepage@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cehomepage@mozillaonline.com","mtime":1396402582429,"rdfTime":1395130068000},"cemigration@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cemigration@mozillaonline.com.xpi","mtime":1396402582428},"cpmanager@mozillaonline.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\cpmanager@mozillaonline.com","mtime":1396402582741,"rdfTime":1395041894000},"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\Test3\\AppData\\Local\\Temp\\anonymous4320312143096799259webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1396402581819,"rdfTime":1396402581788}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\Test3\AppData\Local\Temp\anonymous4320312143096799259webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded

Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42', time: '2013-10-18 09:51:02'
System info: host: 'Abby-PC', ip: '169.254.126.2', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_15'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:108)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:197)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:108)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:62)
at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:56)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:215)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

解决org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms org.springframework.beans.BeanInstantiation的更多相关文章

  1. Selenium2学习-038-firefox、webdriver版本不对称问题解决:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055

    今天有个朋友在群里问,为何脚本运行不通过,其脚本操作步骤简单描述如下: 1.启动火狐浏览器 2.打开百度 3.查询框输入关键字 4.点击按钮[百度一下] 脚本挺简单的,其给出的应用报错信息如下所示: ...

  2. Selenium2学习-007-WebUI自动化实战实例-005-解决 Firefox 版本不兼容:org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary

    此文主要讲述 Java 运行 Selenium 脚本时,因 Friefox 浏览器版本与 selenium-server-standalone-x.xx.x.jar 不兼容引起的 org.openqa ...

  3. WebDriver:org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

    今天尝试最新的webDriver与fireFox搭配: 运行代码时出现如下的问题,但是浏览器却可以打开: org.openqa.selenium.firefox.NotConnectedExcepti ...

  4. selenium 运行之后错误提示Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output

    错误提示: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port ...

  5. selenium 问题:Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

    问题:Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms 原因: selenium-server-standalone-x. ...

  6. (org.openqa.selenium.WebDriverException: Unable to launch the app: Error: Trying to start logcat capture but it's already started! )错误解决办法

    新增: capabilities.setCapability("autoLaunch",false); 将setup中的: driver = new AndroidDriver(n ...

  7. selenium运行火狐报错FirefoxDriver : Unable to connect to host 127.0.0.1 on port 7055

    摘要: 这是个常见的启动firefoxdriver的问题,具体的错误日志如下,其实原因很简单,就是你的Selenium版本和firefox 不兼容了. Firefox 版本太高了, 请及时查看你安装的 ...

  8. selenium在Eclipse中打开fireFox浏览器是报报错connect to host 127.0.0.1 on port 7055

    1.相信很多同学刚接触selenium时,在Eclipse中打开fireFox浏览器是报报错: org.openqa.selenium.firefox.NotConnectedException: U ...

  9. 报错org.openqa.selenium.WebDriverException: disconnected: unable to connect to renderer解决方法

    做自动化时经常会遇到不兼容的问题,比如以下简单的脚本,主要是打开浏览器,然后最大化窗口,打开百度,输入内容搜索,代码如下: package com.gs.selenium; import org.op ...

随机推荐

  1. C#List转字符串,字符串转List,字符数组转Int数组

    List转字符串 [C#] 纯文本查看 复制代码 ? 01 02 List<string> List = new List<string>(); string strArray ...

  2. 【其它】 MathJax - 网页中显示数学公式的终极武器

    最近在学习一些数学课程.但时间一长,发现很多东西又都忘了.而且过程中的很多心得没有留下记录,觉得挺可惜的.所以决定开个博客来记录一些东西,也希望能同数学爱好者们一起学习. 但写数学博客首先得解决显示数 ...

  3. Excel中如何提取字符串中的数字

    取字符串中的数字,假如数据在A列,提取公式为 =LOOKUP(9^9,--MID(A1,MIN(FIND({1,2,3,4,5,6,7,8,9,0},A1&5^19)),ROW($1:$99) ...

  4. java 里面的string 和byte[] 怎么互转

    public class TestBytes { private static String FORMAT = "UTF-8"; public static void main(S ...

  5. mysql 启动 pid报错解决方法

    在安装好mysqld的时候 启动的时候报错如下: [root@ mysql]# service mysqld start Starting MySQL.The server quit without ...

  6. input 只读不能修改

    方法1: onfocus=this.blur() <input type="text" name="input1" value="中国" ...

  7. error setting certificate verify locations: CAfile: E:/git/Git/mingw64/ssl/certs/ca-bundle.crt

    一.问题: 当git clone项目时报 error setting certificate verify locations: CAfile: E:/git/Git/mingw64/ssl/cert ...

  8. Mybatis知识点总结

    ---恢复内容开始--- Mybatis知识点总结 1.#{}和${}的区别是什么? 答:#{}的使用场景:在表的sql映射文件中如下使用: <mapper namespace="co ...

  9. 深入理解 Laravel Eloquent(三)——模型间关系(关联)

    Eloquent是什么 Eloquent 是一个 ORM,全称为 Object Relational Mapping,翻译为 "对象关系映射"(如果只把它当成 Database A ...

  10. [ActionScript 3.0] AS3.0 简单封装Socket的通信

    Socket服务器 package com.controls.socket { import com.models.events.AppEvent; import com.models.events. ...