John, My tellurium core version is 0.7.0-SNAPSHOT as i saw it from tellurium- core.jar 's pom.properties file. Please let me know if you need any other information.
Thanks and Rgds, Khush. On Nov 25, 11:47 am, Jian Fang <[email protected]> wrote: > What version of Tellurium core are you using? It is very strange that you > have the command bundle processor in the code because I haven't merged them > into trunk yet. > > org.tellurium.config. > TelluriumConfigurator.configCommandBundleProcessor > > On Wed, Nov 25, 2009 at 12:48 AM, khush <[email protected]> wrote: > > Hello Jian, > > > Thanks for yur answers but after adding the poi-3.0.1-FINAL.jar file > > again i am getting the following problem: > > > Wrong test finished. Last started: null stopped: Method Adapter: class > > com.basware.bt.web.user.UserTest#testAddAdminUser; class > > com.intellij.rt.junit4.Junit4TestMethodAdapter > > > java.lang.ExceptionInInitializerError > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:169) > > at org.tellurium.bootstrap.TelluriumSupport.class$ > > (TelluriumSupport.groovy) > > at > > org.tellurium.bootstrap.TelluriumSupport.$get$$class$org$tellurium > > $framework$TelluriumFrameworkMetaClass(TelluriumSupport.groovy) > > at org.tellurium.bootstrap.TelluriumSupport.addSupport > > (TelluriumSupport.groovy:17) > > at org.tellurium.test.java.TelluriumJavaTestCase.setUpForClass > > (TelluriumJavaTestCase.java:22) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > 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 com.intellij.rt.junit4.Junit4TestMethodAdapter.run > > (Junit4TestMethodAdapter.java:62) > > at com.intellij.rt.execution.junit.JUnitStarter.main > > (JUnitStarter.java:40) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > at com.intellij.rt.execution.application.AppMain.main(AppMain.java: > > 90) > > Caused by: > > org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot > > cast object '{}' with class 'groovy.util.ConfigObject' to class > > 'java.lang.Number' > > at > > > org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber > > (DefaultTypeTransformation.java:135) > > at > > > org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber > > (DefaultTypeTransformation.java:117) > > at > > org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.intUnbox > > (DefaultTypeTransformation.java:56) > > at > > > org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType > > (DefaultTypeTransformation.java:305) > > at org.codehaus.groovy.reflection.CachedField.setProperty > > (CachedField.java:61) > > at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2341) > > at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3291) > > at org.tellurium.bundle.CommandBundleProcessor.setProperty > > (CommandBundleProcessor.groovy) > > at groovy.lang.GroovyObject$setProperty.call(Unknown Source) > > at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall > > (CallSiteArray.java:40) > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call > > (AbstractCallSite.java:117) > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call > > (AbstractCallSite.java:129) > > at > > org.tellurium.config.TelluriumConfigurator.configCommandBundleProcessor > > (TelluriumConfigurator.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 org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite > > $PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java: > > 266) > > at > > org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent > > (PogoMetaMethodSite.java:51) > > at > > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent > > (CallSiteArray.java:44) > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent > > (AbstractCallSite.java:143) > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent > > (AbstractCallSite.java:151) > > at org.tellurium.config.TelluriumConfigurator.config > > (TelluriumConfigurator.groovy:219) > > at org.tellurium.config.Configurator$config.call(Unknown Source) > > at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall > > (CallSiteArray.java:40) > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call > > (AbstractCallSite.java:117) > > at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call > > (AbstractCallSite.java:125) > > at org.tellurium.framework.TelluriumFramework.<init> > > (TelluriumFramework.groovy:86) > > 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:196) > > at org.tellurium.framework.TelluriumFrameworkMetaClass.<clinit> > > (TelluriumFrameworkMetaClass.groovy:11) > > ... 25 more > > > Am i missing something else? Or is it possible that for atleast > > diagnosis utility you can provide a complete set of jar files required > > and people can download them as a package? > > > Thanks, > > Khush. > > > On Nov 24, 7:39 pm, John <[email protected]> wrote: > > > Updated the FAQs in case other people have the same problems. > > > >http://code.google.com/p/aost/wiki/UserGuide070AppendixB#Tellurium_De... > > > > On Nov 24, 9:28 am, Jian Fang <[email protected]> wrote: > > > > > Please check the configuration file for 0.7.0 here: > > > > >http://code.google.com/p/aost/wiki/TelluriumSampleConfigurationFile > > > > > For 0.7.0, you also need the Apache POI - the Java API for Microsoft > > > > Documents because we added the excel reader for the data driving test. > > > > > Please download it from (unpack and you need the poi-VERSION.jar): > >http://poi.apache.org/download.html > > > > > Thanks, > > > > > Jian > > > > > On Tue, Nov 24, 2009 at 7:02 AM, khush <[email protected]> > > wrote: > > > > > Hello Hari, > > > > > > Following is my tellurium config file: > > > > > /** > > > > > * For configuring Tellurium > > > > > */ > > > > > > tellurium { > > > > > > embeddedserver { > > > > > > port = "4444" > > > > > useMultiWindows = false > > > > > runInternally = true > > > > > profile = "" > > > > > userExtension = "target/classes/extension/user-extensions.js" > > > > > } > > > > > eventhandler { > > > > > checkElement = false > > > > > extraEvent = true > > > > > } > > > > > //data accessor > > > > > accessor { > > > > > checkElement = true > > > > > } > > > > > connector { > > > > > serverHost = "localhost" > > > > > > port = "4444" > > > > > > baseUrl = "http://localhost:8082" > > > > > browser = "*chrome" > > > > > customClass = "" > > > > > } > > > > > datadriven { > > > > > dataprovider { > > > > > reader = "PipeFileReader" > > > > > } > > > > > } > > > > > test { > > > > > result { > > > > > reporter = "XMLResultReporter" > > > > > output = "Console" > > > > > > filename = "TestResult.output" > > > > > } > > > > > exception { > > > > > captureScreenshot = true > > > > > filenamePattern = "Screenshot?.png" > > > > > } > > > > > } > > > > > uiobject { > > > > > builder { > > > > > } > > > > > } > > > > > widget { > > > > > module { > > > > > //define your widget modules here, for example Dojo or ExtJs > > > > > // included="dojo, extjs" > > > > > included = "" > > > > > } > > > > > } > > > > > } > > > > > > And the set of lib file i am using is as follow: > > > > > > 1) json_simple-r1.jar > > > > > 2) selenium-grid-tools-1.0.2.jar > > > > > 3)selenium-java-client-driver-1.0.1.jar > > > > > 4) selenium-server-1.0.1-te-2.jar > > > > > 5) stringtree-json-2.0.10.jar > > > > > 6) tellurium-core-0.7.0-20090529.134708-1.jar files. > > > > > > Alos if i revert back to my previous jar files of selenium and > > > > > tellurium it works fine. > > > > > > Please help me in figure out the problem. > > > > > Thanks. > > > > > > On Nov 24, 4:56 pm, Harihara Vinayakaram <[email protected]> wrote: > > > > > > Hi > > > > > > This seems to be an error in the JUnit methods. I don't think it > > > > > should > > > > > > be so difficult to migrate to a new version. > > > > > > > There seems to be a problem in the TelluriumConfig.groovy . Can > > you > > > > > post > > > > > > that also > > ... > > read more » -- 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.
