I am getting following message when running selenium tests in eclipse.
My configuration is as follows: Selenium: 2.44.0 FireFox: 33 java: 1.8.0_65 OS: Win 7.0 Eclipse: Luna 4.4.0 ****************************************************************************** [TestNG] Running: C:\Users\user\AppData\Local\Temp\testng-eclipse--68524602\testng-customsuite.xml start org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: :\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"42.0","st":1448380921009,"mt":1448380920502}},"winreg-app-global":{"url_advisor@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\url_advisor@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882264477,"mt":1418881858243},"virtual_keyboard@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\virtual_keyboard@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882267702,"mt":1418881865963},"content_blocker@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\content_blocker@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882262972,"mt":1418881822103}}} 1448421119800 addons.xpi DEBUG No changes found 1448421119856 addons.xpi DEBUG Registering manifest for C:\Program Files\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi 1448421119859 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi 1448421119897 addons.xpi DEBUG Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} version 7.5.0.9082 1448421120184 addons.manager DEBUG Registering shutdown blocker for XPIProvider 1448421120187 addons.manager DEBUG Provider finished startup: XPIProvider 1448421120188 addons.manager DEBUG Starting provider: LightweightThemeManager 1448421120188 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager 1448421120190 addons.manager DEBUG Provider finished startup: LightweightThemeManager 1448421120193 addons.manager DEBUG Starting provider: GMPProvider 1448421120226 addons.manager DEBUG Registering shutdown blocker for GMPProvider 1448421120227 addons.manager DEBUG Provider finished startup: GMPProvider 1448421120228 addons.manager DEBUG Starting provider: PluginProvider 1448421120229 addons.manager DEBUG Registering shutdown blocker for PluginProvider 1448421120231 addons.manager DEBUG Provider finished startup: PluginProvider 1448421120233 addons.manager DEBUG Completed startup sequence [GFX1]: Potential driver version mismatch ignored due to missing DLLs 1448421120738 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\user\AppData\Local\Temp\anonymous5728261740562584380webdriver-profile\extensions.json *** Blocklist::_loadBlocklistFromFile: blocklist is disabled 1448421121752 addons.manager DEBUG Starting provider: <unnamed-provider> 1448421121753 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider> 1448421121755 addons.manager DEBUG Provider finished startup: <unnamed-provider> 1448421122602 addons.xpi-utils DEBUG Async JSON file read took 0 MS 1448421122602 addons.xpi-utils DEBUG Finished async read of XPI database, parsing... 1448421122615 addons.xpi-utils DEBUG Successfully read XPI database 1448421123176 addons.manager DEBUG Starting provider: PreviousExperimentProvider 1448421123177 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider 1448421123179 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider JavaScript error: file:///C:/Users/user/AppData/Local/Temp/anonymous5728261740562584380webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js, line 11487: TypeError: this.server_ is undefined JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance] JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js, line 189: TypeError: document.getElementById(...) is null JavaScript warning: https://self-repair.mozilla.org/en-US/repair/, line 8: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95) at jerkinw.com.base.Base.openURL(Base.java:21) at jerkinw.com.utility.Login_Page.login(Login_Page.java:16) at jerkinw.com.admin.usermgmt.SearchUsers.searchUser(SearchUsers.java:15) 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:85) at org.testng.internal.Invoker.invokeMethod(Invoker.java:639) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at org.testng.TestRunner.privateRun(TestRunner.java:774) at org.testng.TestRunner.run(TestRunner.java:624) at org.testng.SuiteRunner.runTest(SuiteRunner.java:359) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312) at org.testng.SuiteRunner.run(SuiteRunner.java:261) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1191) at org.testng.TestNG.runSuitesLocally(TestNG.java:1116) at org.testng.TestNG.run(TestNG.java:1024) at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:112) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:176) org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe) on port 7055; process output follows: :\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"42.0","st":1448380921009,"mt":1448380920502}},"winreg-app-global":{"url_advisor@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\url_advisor@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882264477,"mt":1418881858243},"virtual_keyboard@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\virtual_keyboard@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882267702,"mt":1418881865963},"content_blocker@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\content_blocker@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882262972,"mt":1418881822103}}} 1448421119800 addons.xpi DEBUG No changes found 1448421119856 addons.xpi DEBUG Registering manifest for C:\Program Files\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi 1448421119859 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi 1448421119897 addons.xpi DEBUG Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} version 7.5.0.9082 1448421120184 addons.manager DEBUG Registering shutdown blocker for XPIProvider 1448421120187 addons.manager DEBUG Provider finished startup: XPIProvider 1448421120188 addons.manager DEBUG Starting provider: LightweightThemeManager 1448421120188 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager 1448421120190 addons.manager DEBUG Provider finished startup: LightweightThemeManager 1448421120193 addons.manager DEBUG Starting provider: GMPProvider 1448421120226 addons.manager DEBUG Registering shutdown blocker for GMPProvider 1448421120227 addons.manager DEBUG Provider finished startup: GMPProvider 1448421120228 addons.manager DEBUG Starting provider: PluginProvider 1448421120229 addons.manager DEBUG Registering shutdown blocker for PluginProvider 1448421120231 addons.manager DEBUG Provider finished startup: PluginProvider 1448421120233 addons.manager DEBUG Completed startup sequence [GFX1]: Potential driver version mismatch ignored due to missing DLLs 1448421120738 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\user\AppData\Local\Temp\anonymous5728261740562584380webdriver-profile\extensions.json *** Blocklist::_loadBlocklistFromFile: blocklist is disabled 1448421121752 addons.manager DEBUG Starting provider: <unnamed-provider> 1448421121753 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider> 1448421121755 addons.manager DEBUG Provider finished startup: <unnamed-provider> 1448421122602 addons.xpi-utils DEBUG Async JSON file read took 0 MS 1448421122602 addons.xpi-utils DEBUG Finished async read of XPI database, parsing... 1448421122615 addons.xpi-utils DEBUG Successfully read XPI database 1448421123176 addons.manager DEBUG Starting provider: PreviousExperimentProvider 1448421123177 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider 1448421123179 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider JavaScript error: file:///C:/Users/user/AppData/Local/Temp/anonymous5728261740562584380webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js, line 11487: TypeError: this.server_ is undefined JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance] JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js, line 189: TypeError: document.getElementById(...) is null JavaScript warning: https://self-repair.mozilla.org/en-US/repair/, line 8: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:03:00' System info: host: 'user-PC', ip: '192.168.1.101', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_65' Driver info: driver.version: FirefoxDriver at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95) at jerkinw.com.base.Base.openURL(Base.java:21) at jerkinw.com.utility.Login_Page.login(Login_Page.java:16) at jerkinw.com.admin.usermgmt.SearchUsers.searchUser(SearchUsers.java:15) 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:85) at org.testng.internal.Invoker.invokeMethod(Invoker.java:639) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at org.testng.TestRunner.privateRun(TestRunner.java:774) at org.testng.TestRunner.run(TestRunner.java:624) at org.testng.SuiteRunner.runTest(SuiteRunner.java:359) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312) at org.testng.SuiteRunner.run(SuiteRunner.java:261) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1191) at org.testng.TestNG.runSuitesLocally(TestNG.java:1116) at org.testng.TestNG.run(TestNG.java:1024) at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:112) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:176) sdfsnull Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: :\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"42.0","st":1448380921009,"mt":1448380920502}},"winreg-app-global":{"url_advisor@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\url_advisor@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882264477,"mt":1418881858243},"virtual_keyboard@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\virtual_keyboard@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882267702,"mt":1418881865963},"content_blocker@kaspersky.com":{"d":"C:\\Program Files\\Kaspersky Lab\\Kaspersky Anti-Virus 14.0.0\\FFExt\\content_blocker@kaspersky.com","e":false,"v":"14.0.0.4971","st":1418882262972,"mt":1418881822103}}} 1448421119800 addons.xpi DEBUG No changes found 1448421119856 addons.xpi DEBUG Registering manifest for C:\Program Files\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi 1448421119859 addons.xpi DEBUG Loading bootstrap scope from C:\Program Files\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi 1448421119897 addons.xpi DEBUG Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} version 7.5.0.9082 1448421120184 addons.manager DEBUG Registering shutdown blocker for XPIProvider 1448421120187 addons.manager DEBUG Provider finished startup: XPIProvider 1448421120188 addons.manager DEBUG Starting provider: LightweightThemeManager 1448421120188 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager 1448421120190 addons.manager DEBUG Provider finished startup: LightweightThemeManager 1448421120193 addons.manager DEBUG Starting provider: GMPProvider 1448421120226 addons.manager DEBUG Registering shutdown blocker for GMPProvider 1448421120227 addons.manager DEBUG Provider finished startup: GMPProvider 1448421120228 addons.manager DEBUG Starting provider: PluginProvider 1448421120229 addons.manager DEBUG Registering shutdown blocker for PluginProvider 1448421120231 addons.manager DEBUG Provider finished startup: PluginProvider 1448421120233 addons.manager DEBUG Completed startup sequence [GFX1]: Potential driver version mismatch ignored due to missing DLLs 1448421120738 addons.xpi-utils DEBUG Starting async load of XPI database C:\Users\user\AppData\Local\Temp\anonymous5728261740562584380webdriver-profile\extensions.json *** Blocklist::_loadBlocklistFromFile: blocklist is disabled 1448421121752 addons.manager DEBUG Starting provider: <unnamed-provider> 1448421121753 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider> 1448421121755 addons.manager DEBUG Provider finished startup: <unnamed-provider> 1448421122602 addons.xpi-utils DEBUG Async JSON file read took 0 MS 1448421122602 addons.xpi-utils DEBUG Finished async read of XPI database, parsing... 1448421122615 addons.xpi-utils DEBUG Successfully read XPI database 1448421123176 addons.manager DEBUG Starting provider: PreviousExperimentProvider 1448421123177 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider 1448421123179 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider JavaScript error: file:///C:/Users/user/AppData/Local/Temp/anonymous5728261740562584380webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js, line 11487: TypeError: this.server_ is undefined JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance] JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js, line 189: TypeError: document.getElementById(...) is null JavaScript warning: https://self-repair.mozilla.org/en-US/repair/, line 8: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118) ... 33 more FAILED: searchUser java.lang.NullPointerException at jerkinw.com.utility.Login_Page.login(Login_Page.java:20) at jerkinw.com.admin.usermgmt.SearchUsers.searchUser(SearchUsers.java:15) 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:85) at org.testng.internal.Invoker.invokeMethod(Invoker.java:639) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at org.testng.TestRunner.privateRun(TestRunner.java:774) at org.testng.TestRunner.run(TestRunner.java:624) at org.testng.SuiteRunner.runTest(SuiteRunner.java:359) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312) at org.testng.SuiteRunner.run(SuiteRunner.java:261) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1191) at org.testng.TestNG.runSuitesLocally(TestNG.java:1116) at org.testng.TestNG.run(TestNG.java:1024) at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:112) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:176) =============================================== Default test Tests run: 1, Failures: 1, Skips: 0 =============================================== =============================================== Default suite Total tests run: 1, Failures: 1, Skips: 0 =============================================== [TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@11d617d: 412 ms [TestNG] Time taken by org.testng.reporters.EmailableReporter2@13300e5: 45 ms [TestNG] Time taken by org.testng.reporters.XMLReporter@189ab83: 55 ms [TestNG] Time taken by org.testng.reporters.JUnitReportReporter@55e4af: 43 ms [TestNG] Time taken by org.testng.reporters.jq.Main@7f7052: 275 ms [TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 56 ms ********************************************************************************** Could any body tell me what is the problem? Thanks in advance |
Administrator
|
Seems an issue with version of selenium. You could try with latest version of selenium - http://www.seleniumhq.org/download/
~ seleniumtests.com
|
Free forum by Nabble | Edit this page |