There was no screenshot attached.
Please provide an example of how your code tries to start the Selenium
session and how you are setting up any server (if you are using a
remote server). We are not mind readers...
Mike
> And my firefox browser through some pop up message that's in attacehment
>
>
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.
FirefoxProfile firefoxProfile = new FirefoxProfile();
...........
.....
WebDriver driver = new FirefoxDriver(firefoxProfile);
Thanks,
Jeevan
FirefoxProfile f1 = new FirefoxProfile();
boolean acceptUntrustedSs = false;
f1.setAssumeUntrustedCertificateIssuer(acceptUntrustedSs);
WebDriver d1 = new FirefoxDriver();
d1.get("https://10.99.16.45/superadmin");
Even i tried the above mentioned technique. It is not work out i saw the same error before i reported.
Thanks,
Jegadeesh
WebDriver d1 = new FirefoxDriver();
It should beThanks,
FirefoxProfile firefoxProfile= new FirefoxProfile();
WebDriver d1 = new FirefoxDriver(firefoxProfile);
Try this:
FirefoxProfile f1 = new FirefoxProfile();
boolean acceptUntrustedSs = false;
f1.setAssumeUntrustedCertificateIssuer(acceptUntrustedSs);
WebDriver d1 = new FirefoxDriver(f1);
d1.get("https://10.99.16.45/superadmin");
Hi
Even I am getting the similar kind of error while working with Firefox 7. I tried the steps provided by Jeven:-
Exception in thread "main" org.openqa.selenium.WebDriverException: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
ÿ
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01'
Driver info: driver.version: firefox
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01'
Driver info: driver.version: firefox at org.openqa.selenium.firefox.internal.ExtensionConnectionFactory.connectTo(ExtensionConnectionFactory.java:46)
at org.openqa.selenium.firefox.FirefoxDriver.connectTo(FirefoxDriver.java:139)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:129)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:109)
at Test.SalesForce.main(SalesForce.java:62)
Caused by: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
ÿ
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_01'
Driver info: driver.version: firefox
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.connectToBrowser(NewProfileExtensionConnection.java:68)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.<init>(NewProfileExtensionConnection.java:57)
at org.openqa.selenium.firefox.internal.ExtensionConnectionFactory.connectTo(ExtensionConnectionFactory.java:44)
... 4 more
Caused by: org.openqa.selenium.firefox.NotConnectedException: Failed to start up socket within 45000
at org.openqa.selenium.firefox.internal.AbstractExtensionConnection.connectToBrowser(AbstractExtensionConnection.java:143)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.connectToBrowser(NewProfileExtensionConnection.java:66)
... 6 more
Thanks
Prashant
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/1B_fcGvvvxcJ.
Hi Friends,
I am using WebDriverBackedSeleniumMy Current Selenium version is : 2.31.0FF Version : 19.0
When i run my test in WebDriverBackedSelenium. Firefox browser did not open it was stuck. and following error i got in console the same issue as mentioned above
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
*** LOG addons.manager: Application has been upgraded*** 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\SATHIS~1\AppData\Local\Temp\anonymous5576650165025517378webdriver-profile\extensions\webdriver-staging*** LOG addons.xpi: checkForChanges*** ERROR addons.manager: Exception calling provider startup: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.isFile]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/XPIProvider.jsm :: recursiveLastModifiedTime :: line 1311" data: no]*** LOG addons.manager: shutdown*** LOG addons.xpi: shutdown*** 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\SATHIS~1\AppData\Local\Temp\anonymous5576650165025517378webdriver-profile\extensions\webdriver-staging*** LOG addons.xpi: checkForChanges*** ERROR addons.manager: Exception calling provider startup: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.isFile]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/XPIProvider.jsm :: recursiveLastModifiedTime :: line 1311" data: no]Build info: version: '2.31.0', revision: '1bd294d', time: '2013-02-27 20:53:56'System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0'Driver info: driver.version: FirefoxDriverat org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)at Satpak.Satcls.setUp(Satcls.java:24)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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)at org.junit.runners.ParentRunner.run(ParentRunner.java:309)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.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:*** LOG addons.manager: Application has been upgraded*** 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\SATHIS~1\AppData\Local\Temp\anonymous5576650165025517378webdriver-profile\extensions\webdriver-staging*** LOG addons.xpi: checkForChanges*** ERROR addons.manager: Exception calling provider startup: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.isFile]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/XPIProvider.jsm :: recursiveLastModifiedTime :: line 1311" data: no]*** LOG addons.manager: shutdown*** LOG addons.xpi: shutdown*** 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\SATHIS~1\AppData\Local\Temp\anonymous5576650165025517378webdriver-profile\extensions\webdriver-staging*** LOG addons.xpi: checkForChanges*** ERROR addons.manager: Exception calling provider startup: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.isFile]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/XPIProvider.jsm :: recursiveLastModifiedTime :: line 1311" data: no]at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)... 31 morejava.lang.NullPointerExceptionat Satpak.Satcls.tearDown(Satcls.java:50)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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)at org.junit.runners.ParentRunner.run(ParentRunner.java:309)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)Can any one please give me suggestion how can resolve this issue..RegardsSathishwaran