1,163 views
Skip to first unread message

jegadeesh kumar

unread,
Mar 6, 2012, 7:32:33 AM3/6/12
to seleniu...@googlegroups.com
Hi friends,

I am using webdriver

When i run my test in webdriver. Firefox browser did not open it was stuck. and following error i got in console

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: 'x86', os.version: '6.1', java.version: '1.6.0_29'
Driver info: driver.version: firefox
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_29'
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.login.main(login.java:23)
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: 'x86', os.version: '6.1', java.version: '1.6.0_29'
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



I am trying to test https portal. please let me know how to solve my problem.

jegadeesh kumar

unread,
Mar 6, 2012, 8:00:28 AM3/6/12
to seleniu...@googlegroups.com
Hi all,

And  my firefox browser stage in  attached screen shoot

Mike Riley

unread,
Mar 6, 2012, 1:34:57 PM3/6/12
to Selenium Users
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

jegadeesh kumar

unread,
Mar 7, 2012, 1:56:25 AM3/7/12
to seleniu...@googlegroups.com
Hi  Mike,

Thanks for responding me,

I am using following code to access the login page. But i could not get the login page. When i run the url the fire box browser go t stuck to load the login page.


My code

package test;

import java.util.NoSuchElementException;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxProfile;
import org.openqa.selenium.ie.InternetExplorerDriver;


public class login {

    /**
     * @param args
     * @throws InterruptedException
     */
   
    public static void main(String[] args) throws InterruptedException {
        WebDriver d1 = new FirefoxDriver();
        FirefoxProfile f1 = new FirefoxProfile();
        boolean acceptUntrustedSs = false;
        f1.setAssumeUntrustedCertificateIssuer(acceptUntrustedSs);
        d1.get("https://10.99.16.45/superadmin");
        Thread.sleep(500L);
        d1.findElement(By.xpath("//*[@id='right_2']/div/div/form/p/input[1]")).sendKeys("support");
        d1.findElement(By.xpath("//*[@id='right_2']/div/div/form/p/input[2]")).sendKeys("support123");
        WebElement element = d1.findElement(By.xpath("//*[@id='psmartname']"));
        List<WebElement> alloption = element.findElements(By.tagName("option"));
        for (WebElement option : alloption)
        {
            //System.out.println(String.format("value is :%s", option.getText()));
            //System.out.println(option.getText().equals("psmart-AsiaPac(GMT+11)"));
            if (option.getText().equals("psmart-AsiaPac(GMT+11)"))
            {
                //System.out.println(" in if loop ");
                option.setSelected();
            }
        }
        d1.findElement(By.xpath("//*[@id='right_2']/div/div/form/p/input[3]")).click();
        //d1.getWindowHandle();
        System.out.println(d1.getCurrentUrl());
        if (d1.findElement(By.xpath("//*[@id='right']/table/tbody/tr[4]/td[2]/a/font")).isEnabled())
            {
             System.out.println("login passed");
            }
        else
        {
            System.out.println("login failed");
        }
        //assertEquals("https://10.99.16.45/superadmin/superadminprovision.jsp", d1.getCurrentUrl());
        d1.quit();
    }

}

And found following exception in console


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: 'x86', os.version: '6.1', java.version: '1.6.0_29'
Driver info: driver.version: firefox
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_29'
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.login.main(login.java:23)
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: 'x86', os.version: '6.1', java.version: '1.6.0_29'
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


And my fire fox screen shoot



On Wed, Mar 7, 2012 at 12:04 AM, Mike Riley <lvsk...@cox.net> wrote:
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

On Mar 6, 5:00 am, jegadeesh kumar <jegasm...@gmail.com> wrote:
> Hi all,
>
> And  my firefox browser through some pop up message that's in attacehment

Thanks
jegadeesh
>
>
>
>
>
>
>
--
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.


screen.png

jeevan

unread,
Mar 7, 2012, 2:14:31 AM3/7/12
to seleniu...@googlegroups.com
Hope this may help u,
   
   
FirefoxProfile firefoxProfile = new FirefoxProfile();
...........
.....

   
WebDriver driver = new FirefoxDriver(firefoxProfile);
Thanks,
Jeevan

jegadeesh kumar

unread,
Mar 7, 2012, 3:13:09 AM3/7/12
to seleniu...@googlegroups.com
Hi,

I tried as you refer me like

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

jeevan

unread,
Mar 7, 2012, 3:17:20 AM3/7/12
to seleniu...@googlegroups.com
Your not passing the instance of firefox profile to :
WebDriver d1 = new FirefoxDriver();
It should be 
FirefoxProfile firefoxProfile= new FirefoxProfile();
WebDriver d1 = new FirefoxDriver(firefoxProfile);
Thanks,
Jeevan

jegadeesh kumar

unread,
Mar 7, 2012, 3:26:18 AM3/7/12
to seleniu...@googlegroups.com
Apologies for my in conveniences.  I can not understand your answer. please let you answer in more details.

jeevan

unread,
Mar 7, 2012, 3:51:25 AM3/7/12
to seleniu...@googlegroups.com
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");

jegadeesh kumar

unread,
Mar 7, 2012, 3:58:04 AM3/7/12
to seleniu...@googlegroups.com
When i ran the code  fire fox will stuck some where else in the state and through some message like i attached

Finally i got exception in console


Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:

Prashant Kulshrestha

unread,
Mar 7, 2012, 5:29:00 AM3/7/12
to seleniu...@googlegroups.com

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

jeevan

unread,
Mar 7, 2012, 6:21:38 AM3/7/12
to seleniu...@googlegroups.com
Try by changing your webdriver version to the recent one.

jegadeesh kumar

unread,
Mar 7, 2012, 7:10:38 AM3/7/12
to seleniu...@googlegroups.com
I tried the new  java client jar version in my code. Now i got different exception message

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Naresh Nayini

unread,
Mar 7, 2012, 7:38:04 AM3/7/12
to seleniu...@googlegroups.com
Hi,

1. I got the blank firefox browser issue when I had used older version of selenium server. I hope you are using latest selenium server....i.e., version 2.20 (If not use this). I am using 2.19.

2. Change the starting steps of the code like:
        FirefoxProfile f1 = new FirefoxProfile();
        boolean acceptUntrustedSs = false;
        f1.setAssumeUntrustedCertificateIssuer(acceptUntrustedSs);
        WebDriver d1 = new FirefoxDriver( f1);
        d1.get("https://10.99.16.45/superadmin");
3. For the "Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Maps":
 If you are running your code through batch file or command prompt: add selenium server jar file to the Classpath, then execute the code.

Please let me know if this helps you or not......

Thanks,
Naresh
Best Regards,
Naresh Kumar

jegadeesh kumar

unread,
Mar 7, 2012, 8:08:48 AM3/7/12
to seleniu...@googlegroups.com
Hi

your magic got works. now i am able  to login to my web page. please help me to assert the login page

Prashant Kulshrestha

unread,
Mar 7, 2012, 5:26:55 AM3/7/12
to Selenium Users
Hi

Even I am getting the similar kind of error while working with
Firefox 7. I tried the steps provided by Jagdish:-

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





On Mar 7, 8:58 am, jegadeesh kumar <jegasm...@gmail.com> wrote:
> When i ran the code  fire fox will stuck some where else in the state and
> through some message like i attached
>
> Finally i got exception in console
>
> Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla
> Firefox\firefox.exe) on port 7055; process output follows:
>
>
>
>
>
>
>
> On Wed, Mar 7, 2012 at 2:21 PM, jeevan <g1redd...@gmail.com> wrote:
> > 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");
>
> > On Wed, Mar 7, 2012 at 1:56 PM, jegadeesh kumar <jegasm...@gmail.com>wrote:
>
> >> Apologies for my in conveniences.  I can not understand your answer.
> >> please let you answer in more details.
>
> >> On Wed, Mar 7, 2012 at 1:47 PM, jeevan <g1redd...@gmail.com> wrote:
>
> >>> Your not passing the instance of firefox profile to :
>
> >>> WebDriver d1 = new FirefoxDriver();
> >>> It should be
> >>> FirefoxProfile firefoxProfile= new FirefoxProfile();
> >>> WebDriver d1 = new FirefoxDriver(firefoxProfile);
>
> >>> Thanks,
> >>> Jeevan
>
> >>> On Wed, Mar 7, 2012 at 1:43 PM, jegadeesh kumar <jegasm...@gmail.com>wrote:
>
> >>>> Hi,
>
> >>>> I tried as you refer me like
>
> >>>> 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
>
> >>>> On Wed, Mar 7, 2012 at 12:44 PM, jeevan <g1redd...@gmail.com> wrote:
>
> >>>>> Hope this may help u,
>
> >>>>>    FirefoxProfile firefoxProfile = new FirefoxProfile();
>
> >>>>> ...........
> >>>>> .....
>
> >>>>>    WebDriver driver = new FirefoxDriver(firefoxProfile);
>
> >>>>> Thanks,
> >>>>> Jeevan
>
> ...
>
> read more »

jeevan

unread,
Mar 8, 2012, 1:15:24 AM3/8/12
to seleniu...@googlegroups.com

Prashant,
You can try:
WebDirver driver = new FireFoxDriver();
driver.get("");
if you still getting the same issue then you can change the webdriver jar to the new one...
Let me know the result....

If you want to use FireFox Profile you can do that  with the earlier code...

--
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.

jegadeesh kumar

unread,
Mar 8, 2012, 4:42:26 AM3/8/12
to seleniu...@googlegroups.com
Hi friends,

I did some code to log in to the web page. It's ok. so i need  to verify whether my test pass or fail. Is there any one send me the data driver testing sample code.

thanks,
jegadeesh

Neeraj Sharma

unread,
Feb 28, 2013, 5:51:17 PM2/28/13
to seleniu...@googlegroups.com
I think you have recently updated the FF version. Install FF 18 and again check.

On Thursday, 28 February 2013 23:47:51 UTC+5:30, Sathishwaran Selvaraj wrote:
Hi Friends,

I am using WebDriverBackedSelenium
My Current Selenium version is : 2.31.0
FF 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: FirefoxDriver
at 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 more

java.lang.NullPointerException
at 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..

Regards
Sathishwaran

Reply all
Reply to author
Forward
0 new messages