Hi Jian, Thanks for your help. My reference project is now running fine.
-Paul On Jul 16, 1:22 pm, John <[email protected]> wrote: > Hi Paul, > > Sorry for the confusion. jQuerySelector is feature existing in > Tellurium 0.6.0 only. Please download the 0.6.0 version of > the reference project: > > Junit reference project: > > http://aost.googlecode.com/files/reference-junit.0.6.0.tar.gz > > TestNG reference project: > > http://aost.googlecode.com/files/reference-testng.0.6.0.tar.gz > > We removed all the dependent jars from the reference projects to make > the file size much smaller. Thus, you also need to > download the dependent jars from > > http://aost.googlecode.com/files/tellurium-0.6.0-dependencies.zip > > Unzip and put the jars to the lib directory if you use Ant. For Maven, > it should be able to pull out the > dependent jars automatically for you. > > For 0.6.0. You need Groovy 1.6.0. > > Thanks, > > Jian > > On Jul 16, 4:08 pm, Paul <[email protected]> wrote: > > > Hi all, > > > I have been trying to setup Tellurium on my machine via the Tellurium > > reference project > > pagehttp://code.google.com/p/aost/wiki/TelluriumReferenceProjectEclipseSetup > > and I have been running into some problems. Initially when checking > > out the project and looking at my project properties I notice that > > tellurium-0.5.0.jar is missing as is groovy-all-1.5.6.jar. If I > > download these jars and manually add them to my project then most of > > the project compiles, but TelluriumIssuePageJavaTestCase.java has > > errors related to methods like useJQuerySelector(), enableSelectorCache > > () and others. Once I remove this file from the project and rebuild, > > my project compiles, but when attempting to run any of the test case > > files as a JUnit test I get the following groovy runtime exception: > > > 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.internal.runners.ClassRoadie.runBefores(ClassRoadie.java: > > 49) > > at org.junit.internal.runners.ClassRoadie.runProtected > > (ClassRoadie.java:36) > > at org.junit.internal.runners.JUnit4ClassRunner.run > > (JUnit4ClassRunner.java:42) > > 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) > > > Currently I am trying to set up this project with Eclipse SDK 3.4.0. I > > am using JDK 1.6.0, groovy-all-1.5.6.jar, tellurium-0.5.0.jar and the > > default TelluriumConfig.groovy file. I have experimented with > > different versions of Selenium and Tellurium, but I have run into > > different problems when attempting that. I have been able to get a > > Tellurium project to work via the Maven instructions, but I would > > prefer to integrate Tellurium into an existing project and not have > > Maven dependencies. If anyone has any tips I would appreciate it. > > > Thanks, > > Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
