Hello Haroon,
now I have downloaded this file "TelluriumConfig.groovy" from the
trunk and tried that out.
As a result I got the successful test, but the exception in the output
of Eclipse console is troubling me:
-----------------------------------------------------------------------------------------------------------------------------------------------------
Parse configuration file: TelluriumConfig.groovy
Configure UI Object Builders using configuration file
Configure widget modules using configuration file
Configure event handler using configuration file
Configure data accessor using configuration file
Configure dispatcher using configuration file
Configure Embedded Selenium Server using configuration file
groovy.lang.GroovyRuntimeException: Could not find matching
constructor for: org.openqa.selenium.server.SeleniumServer
(java.lang.Integer)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:
1273)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:
1185)
at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf
(InvokerHelper.java:809)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN
(ScriptBytecodeAdapter.java:230)
at org.tellurium.server.SeleniumServerDaemon.run
(SeleniumServerDaemon.groovy:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke
(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod
(InvokerHelper.java:778)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
(InvokerHelper.java:758)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN
(ScriptBytecodeAdapter.java:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0
(ScriptBytecodeAdapter.java:198)
at org.tellurium.server.EmbeddedSeleniumServer.setUpSeleniumServer
(EmbeddedSeleniumServer.groovy:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke
(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN
(ScriptBytecodeAdapter.java:78)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0
(ScriptBytecodeAdapter.java:112)
at org.tellurium.server.EmbeddedSeleniumServer.runSeleniumServer
(EmbeddedSeleniumServer.groovy:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke
(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod
(InvokerHelper.java:778)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
(InvokerHelper.java:758)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN
(ScriptBytecodeAdapter.java:170)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0
(ScriptBytecodeAdapter.java:198)
at org.tellurium.framework.TelluriumFramework.start
(TelluriumFramework.groovy:94)
at org.tellurium.test.java.TelluriumJavaTestCase.setUpForClass
(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall
(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run
(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively
(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate
(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate
(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run
(JUnit4TestReference.java:45)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run
(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:196)
Configure Selenium Client using configuration file
--------------------------------------------------------------------------------------------------------------------------------------------------------
Before the tellurium testcase is started, I have run the selenium
server.
Greetz
Thomas
On Feb 6, 10:37 am, Haroon Rasheed <[email protected]> wrote:
> Hello Thomas,
> You can download the TelluriumConfig.groovy from the trunk and try that out.
> Let us know the results. In the meanwhile I will try to reproduce this on my
> machine later today.
>
> Cheers,
> Haroon
>
> 2009/2/6 Thomas Roßberg <[email protected]>
>
>
>
> > Hello,
>
> > the passage "widget" didn't exist in my TelluriumConfig.groovy file.
> > Because this passage wasn't mentioned in the project site. Should I
> > post this passage into this file? I'm trying to do this, now.
>
> > Greetz,
>
> > Thomas
>
> > On Feb 5, 7:17 pm, [email protected] wrote:
> > > rossiweb,
>
> > > Seems it complains about this following method,
>
> > > org.tellurium.widget.WidgetConfigurator.configWidgetModule()
>
> > > Please show us your TelluriumConfig.groovy file, especially for this
> > > following section
>
> > > widget{
> > > module{
> > > //define your widget modules here, for example Dojo or
> > > ExtJs
> > > // included="dojo, extjs"
> > > included=""
> > > }
> > > }
>
> > > Also, we did not test Tellurium 0.5.0 for Selenium 1.0 Beta 2 and
> > > Groovy 1.5.7. Please
> > > use Selenium 0.9.2 and Groovy 1.5.6 for Tellurium 0.5.0 instead.
>
> > > Our trunk code is upgraded to use Selenium 1.0 Beta 2 and Groovy 1.6
> > > RC2.
>
> > > Haroon, please try to re-produce this problem in his environment.
>
> > > Thanks,
>
> > > Jian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---