Seems your selenium server is not running. Are you using the embedded
selenium server or an external server?

Please check the following portion of the TelluriumConfig.groovy file

    embeddedserver {
        //port number
        port = "4444"
        //whether to use multiple windows
        useMultiWindows = false
        //whether to trust all SSL certs, i.e., option
"-trustAllSSLCertificates"
        trustAllSSLCertificates = true
        //whether to run the embedded selenium server. If false, you need to
manually set up a selenium server
        runInternally = true

Also, run the following command

telnet localhost 4444

to see if the server is listening on the port 4444.

Thanks,

Jian

On Wed, Sep 1, 2010 at 11:04 AM, Viktor Korling <[email protected]> wrote:

> Hi,
>
> I'm successfully running a test suite on linux(Ubuntu) using maven,
> with tellurium-core-0.7.0 and the embedded selenium-server-1.0.1-te4-
> SNAPSHOT and the *chrome browser setting.
>
> However if I change to using the tellurium-core-0.8.0-SNAPSHOT in the
> maven  pom file, keeping the other settings, the first test in the
> suite will run as expected but the remaining tests will all end in
> error showing the following error in the test reports:
>
> org.telluriumsource.exception.TelluriumException: Cannot start
> selenium: Could not contact Selenium Server; have you started it on
> 'localhost:4444' ?
> Read more at
> http://seleniumhq.org/projects/remote-control/not-started.html
> Connection refused
>        at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>        at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
> 39)
>        at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
> 27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:
> 513)
>        at
>
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:
> 77)
>        at org.codehaus.groovy.runtime.callsite.ConstructorSite
> $ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:
> 107)
>        at
>
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:
> 52)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:
> 192)
>        at
>
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:
> 200)
>        at
>
> org.telluriumsource.component.connector.CustomSelenium.startSeleniumSession(CustomSelenium.groovy:
> 66)
>        at org.telluriumsource.component.connector.CustomSelenium
> $startSeleniumSession.call(Unknown Source)
>        at
>
> org.telluriumsource.component.connector.SeleniumConnector.connectSeleniumServer(SeleniumConnector.groovy:
> 95)
>
> thanks
> Viktor
>
> --
> You received this message because you are subscribed to the Google Groups
> "tellurium-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<tellurium-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/tellurium-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to