Hi Team
Currently i am using Firefox latest version 36 and selenium web driver version 2.44/2.55.
But it fails to launch browser instance, but when i downgrade to Firefox version 31, it starts working.
Given below is console error, please help. Thanks in Advance :)
[TestNG] Running:
C:\Users\achauhan\AppData\Local\Temp\testng-eclipse--962681097\testng-customsuite.xml
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
97 DeferredSave.extensions.json DEBUG Write succeeded
1427437801698 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1427437801698 addons.xpi DEBUG Notifying XPI shutdown observers
1427437801700 addons.manager DEBUG Async provider shutdown done
1427437802110 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1427437802111 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1427437802113 addons.xpi DEBUG startup
1427437802114 addons.xpi INFO Mapping
fxdr...@googlecode.com to C:\Users\achauhan\AppData\Local\Temp\anonymous2969663420358292623webdriver-profile\extensions\
fxdr...@googlecode.com1427437802114 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\achauhan\AppData\Local\Temp\anonymous2969663420358292623webdriver-profile\extensions\webdriver-staging
1427437802115 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1427437802115 addons.xpi DEBUG Skipping unavailable install location app-system-share
1427437802115 addons.xpi DEBUG Skipping unavailable install location app-system-local
1427437802115 addons.xpi INFO Mapping
autom...@ranorex.com to C:\Program Files (x86)\Ranorex 4.0\Ranorex Firefox Extension
1427437802116 addons.xpi DEBUG checkForChanges
1427437802116 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"
fxdr...@googlecode.com":{"d":"C:\\Users\\achauhan\\AppData\\Local\\Temp\\anonymous2969663420358292623webdriver-profile\\extensions\\
fxdr...@googlecode.com","e":true,"v":"2.44.0","st":1427437800438,"mt":1427437800427}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427263177559,"mt":1427263177389}},"winreg-app-global":{"
autom...@ranorex.com":{"d":"C:\\Program Files (x86)\\Ranorex 4.0\\Ranorex Firefox Extension","e":false,"v":"4.0.4.23593","st":1415878141631,"mt":1369213822000}}}
1427437802117 addons.xpi DEBUG getModTime: Recursive scan of
fxdr...@googlecode.com1427437802122 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1427437802122 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"
fxdr...@googlecode.com":{"d":"C:\\Users\\achauhan\\AppData\\Local\\Temp\\anonymous2969663420358292623webdriver-profile\\extensions\\
fxdr...@googlecode.com","e":true,"v":"2.44.0","st":1427437800438,"mt":1427437800427}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427263177559,"mt":1427263177389}},"winreg-app-global":{"
autom...@ranorex.com":{"d":"C:\\Program Files (x86)\\Ranorex 4.0\\Ranorex Firefox Extension","e":false,"v":"4.0.4.23593","st":1415878141631,"mt":1369213822000}}}
1427437802124 addons.xpi DEBUG No changes found
1427437802126 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1427437802126 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1427437802127 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1427437802128 addons.manager DEBUG Registering shutdown blocker for PluginProvider
JavaScript error: file:///C:/Users/achauhan/AppData/Local/Temp/anonymous2969663420358292623webdriver-profile/extensions/
fxdr...@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]
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1427437802978 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
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 com.testScripts.GetMissingFontFiles.setUp(GetMissingFontFiles.java:33)
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:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.TestRunner.beforeRun(TestRunner.java:641)
at org.testng.TestRunner.run(TestRunner.java:609)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
FAILED CONFIGURATION: @BeforeTest setUp
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
97 DeferredSave.extensions.json DEBUG Write succeeded
1427437801698 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1427437801698 addons.xpi DEBUG Notifying XPI shutdown observers
1427437801700 addons.manager DEBUG Async provider shutdown done
1427437802110 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1427437802111 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1427437802113 addons.xpi DEBUG startup
1427437802114 addons.xpi INFO Mapping
fxdr...@googlecode.com to C:\Users\achauhan\AppData\Local\Temp\anonymous2969663420358292623webdriver-profile\extensions\
fxdr...@googlecode.com1427437802114 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\achauhan\AppData\Local\Temp\anonymous2969663420358292623webdriver-profile\extensions\webdriver-staging
1427437802115 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1427437802115 addons.xpi DEBUG Skipping unavailable install location app-system-share
1427437802115 addons.xpi DEBUG Skipping unavailable install location app-system-local
1427437802115 addons.xpi INFO Mapping
autom...@ranorex.com to C:\Program Files (x86)\Ranorex 4.0\Ranorex Firefox Extension
1427437802116 addons.xpi DEBUG checkForChanges
1427437802116 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"
fxdr...@googlecode.com":{"d":"C:\\Users\\achauhan\\AppData\\Local\\Temp\\anonymous2969663420358292623webdriver-profile\\extensions\\
fxdr...@googlecode.com","e":true,"v":"2.44.0","st":1427437800438,"mt":1427437800427}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427263177559,"mt":1427263177389}},"winreg-app-global":{"
autom...@ranorex.com":{"d":"C:\\Program Files (x86)\\Ranorex 4.0\\Ranorex Firefox Extension","e":false,"v":"4.0.4.23593","st":1415878141631,"mt":1369213822000}}}
1427437802117 addons.xpi DEBUG getModTime: Recursive scan of
fxdr...@googlecode.com1427437802122 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1427437802122 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"
fxdr...@googlecode.com":{"d":"C:\\Users\\achauhan\\AppData\\Local\\Temp\\anonymous2969663420358292623webdriver-profile\\extensions\\
fxdr...@googlecode.com","e":true,"v":"2.44.0","st":1427437800438,"mt":1427437800427}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427263177559,"mt":1427263177389}},"winreg-app-global":{"
autom...@ranorex.com":{"d":"C:\\Program Files (x86)\\Ranorex 4.0\\Ranorex Firefox Extension","e":false,"v":"4.0.4.23593","st":1415878141631,"mt":1369213822000}}}
1427437802124 addons.xpi DEBUG No changes found
1427437802126 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1427437802126 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1427437802127 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1427437802128 addons.manager DEBUG Registering shutdown blocker for PluginProvider
JavaScript error: file:///C:/Users/achauhan/AppData/Local/Temp/anonymous2969663420358292623webdriver-profile/extensions/
fxdr...@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]
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1427437802978 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:03:00'
System info: host: 'noi-namitaj-w7', ip: '172.28.2.215',
os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
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 com.testScripts.GetMissingFontFiles.setUp(GetMissingFontFiles.java:33)
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:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.TestRunner.beforeRun(TestRunner.java:641)
at org.testng.TestRunner.run(TestRunner.java:609)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
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:
97 DeferredSave.extensions.json DEBUG Write succeeded
1427437801698 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1427437801698 addons.xpi DEBUG Notifying XPI shutdown observers
1427437801700 addons.manager DEBUG Async provider shutdown done
1427437802110 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1427437802111 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1427437802113 addons.xpi DEBUG startup
1427437802114 addons.xpi INFO Mapping
fxdr...@googlecode.com to C:\Users\achauhan\AppData\Local\Temp\anonymous2969663420358292623webdriver-profile\extensions\
fxdr...@googlecode.com1427437802114 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\achauhan\AppData\Local\Temp\anonymous2969663420358292623webdriver-profile\extensions\webdriver-staging
1427437802115 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1427437802115 addons.xpi DEBUG Skipping unavailable install location app-system-share
1427437802115 addons.xpi DEBUG Skipping unavailable install location app-system-local
1427437802115 addons.xpi INFO Mapping
autom...@ranorex.com to C:\Program Files (x86)\Ranorex 4.0\Ranorex Firefox Extension
1427437802116 addons.xpi DEBUG checkForChanges
1427437802116 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"
fxdr...@googlecode.com":{"d":"C:\\Users\\achauhan\\AppData\\Local\\Temp\\anonymous2969663420358292623webdriver-profile\\extensions\\
fxdr...@googlecode.com","e":true,"v":"2.44.0","st":1427437800438,"mt":1427437800427}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427263177559,"mt":1427263177389}},"winreg-app-global":{"
autom...@ranorex.com":{"d":"C:\\Program Files (x86)\\Ranorex 4.0\\Ranorex Firefox Extension","e":false,"v":"4.0.4.23593","st":1415878141631,"mt":1369213822000}}}
1427437802117 addons.xpi DEBUG getModTime: Recursive scan of
fxdr...@googlecode.com1427437802122 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1427437802122 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"
fxdr...@googlecode.com":{"d":"C:\\Users\\achauhan\\AppData\\Local\\Temp\\anonymous2969663420358292623webdriver-profile\\extensions\\
fxdr...@googlecode.com","e":true,"v":"2.44.0","st":1427437800438,"mt":1427437800427}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427263177559,"mt":1427263177389}},"winreg-app-global":{"
autom...@ranorex.com":{"d":"C:\\Program Files (x86)\\Ranorex 4.0\\Ranorex Firefox Extension","e":false,"v":"4.0.4.23593","st":1415878141631,"mt":1369213822000}}}
1427437802124 addons.xpi DEBUG No changes found
1427437802126 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1427437802126 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1427437802127 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1427437802128 addons.manager DEBUG Registering shutdown blocker for PluginProvider
JavaScript error: file:///C:/Users/achauhan/AppData/Local/Temp/anonymous2969663420358292623webdriver-profile/extensions/
fxdr...@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]
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1427437802978 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
... 29 more
SKIPPED CONFIGURATION: @AfterTest clearTest
SKIPPED: testCase
===============================================
Default test
Tests run: 1, Failures: 0, Skips: 1
Configuration Failures: 1, Skips: 1
===============================================
===============================================
Default suite
Total tests run: 1, Failures: 0, Skips: 1
Configuration Failures: 1, Skips: 1
===============================================
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@2a098129: 10 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@5cbc508c: 8 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@68f7aae2: 25 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@555590: 7 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@5f8ed237: 10 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 4 ms