解决方法为将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. node.js和express.js安装和使用步骤 [windows]

    PS: NODEJS:https://nodejs.org NPM:https://www.npmjs.com/ 一.node.js安装与配置 到https://nodejs.org/en/downl ...

  2. sublime3中文乱码解决包ConvertToUTF8.zip

    把ConvertToUTF8.zip解压放到C:\Program Files\Sublime Text 3\Data\Packages中,重启sublime 3,按ctrl+shift+c即可解决中文 ...

  3. IE10、IE11解决不能播放Flash的问题!

    http://jingyan.baidu.com/article/154b46315421b528ca8f41e4.html ie的问题向来是windows系统的传统问题之一.几乎每个版本的windo ...

  4. IOS的UI总结

    一.UIView常见属性 1.frame  位置和尺寸(以父控件的左上角为原点(0,0)) 2.center 中点(以父控件的左上角为原点(0,0)) 3.bounds  位置和尺寸(以自己的左上角为 ...

  5. 解决activity加上Theme.Translucent.NoTitleBar 页面跳转显示桌面

    自定义style 继承Theme.Translucent.NoTitleBar       <style name="My.Translucent" parent=" ...

  6. C# 控制台程序如何能不显示窗口

    创建好控制台程序后,选中项目,右键,属性,输出类型选为“windows 应用程序” 这样就没有dos窗口了

  7. 如何设置a标签的宽高,如何使a标签的文字垂直居中

    通常情况下a标签是没有宽高的,设置 width 和 height 没有作用. 若要使用 width 和 height,需要把a标签转为块级元素,即:display:block|inline-block ...

  8. WampServer服务中MySQL无法正常启动解决方案

    打开wampserver->mysql->my.ini,添加或修改innodb_force_recovery = 1 然后重启所有服务就大功告成了!

  9. SharePoint report site.

    Create site. Upload rdl files into Dashboards lib. Manage Data source. Select the rdl file and click ...

  10. JS中的for/in语句和arguments参数

    在js应用中,有时候我们会遇到希望定义一个函数可以被不同情况调用,比如参数个数不固定的情况. 可以使用for/in语句和arguments参数解决. 举个简单例子:定义一个计算总和的函数,需要计算的数 ...