Attached please find a demo project I created using the following Maven command
mvn archetype:create -DgroupId=test -DartifactId=demo -DarchetypeArtifactId=tellurium-junit-archetype -DarchetypeGroupId=org.telluriumsource -DarchetypeVersion=0.7.0 -DarchetypeRepository= http://maven.kungfuters.org/content/repositories/releases The project includes the TelluriumConfig.groovy, pom.xml, and all you need for a Tellurium JUnit project. Please load it up into IntelliJ IDEA by picking up the pom.xml file. Thanks, Jian On Thu, Jul 15, 2010 at 11:57 AM, Jade <[email protected]> wrote: > Will you please post your pom.xml file that corresponds to the info > provided below (for tellurim 0.7.0)? > > I've included the tellurium-udl jar but when I run mvn package, I get > this compile error: > > From file: /lhome/jade/workspaceRefactor/demo/pom.xml > Reason: startup failed, /lhome/jade/workspaceRefactor/demo/src/test/ > groovy/module/GoogleSearchModule.groovy: 3: unable to resolve class > org.telluriumsource.dsl.DslContext > @ line 3, column 1. > import org.tellurium.dsl.DslContext > > I tried changing it to telluriumsource but it's also not found: > import org.telluriumsource.dsl.DslContext > > I've also included groovy-all-1.7.0.jar > > Jade > > On Jun 8, 7:15 pm, Jian Fang <[email protected]> wrote: > > Here is a list of directories in the tar ball, you need to include all > > jars in lib and dist > > directory. > > > > |-- LICENSE.txt > > |-- README > > |-- RELEASENOTE > > |-- dependencies > > | |-- bin > > | | `-- rundsl.groovy > > | |-- config > > | | `-- TelluriumConfig.groovy > > | `-- lib > > | |-- antlr-2.7.7.jar > > | |-- antlr-3.1.3.jar > > | |-- antlr-runtime-3.1.3.jar > > | |-- groovy-all-1.7.0.jar > > | |-- json_simple-r1.jar > > | |-- junit-4.7.jar > > | |-- poi-3.0.1-FINAL.jar > > | |-- reportng-0.9.8.jar > > | |-- selenium-java-client-driver-1.0.1.jar > > | |-- stringtree-json-2.0.10.jar > > | `-- testng-5.8-jdk15.jar > > |-- dist > > | |-- selenium-server-1.0.1-te3.jar > > | |-- tellurium-core-0.7.0.jar > > | `-- tellurium-udl-0.7.0.jar > > |-- doc > > | |-- html > > | | |-- media > > | | `-- tellurium-reference.html > > | `-- pdf > > | `-- tellurium-reference.pdf > > `-- sources > > |-- core > > |-- engine > > |-- extensions > > | |-- dojo-widget > > | |-- extjs-widget > > |-- reference-projects > > | |-- benchmarks > > | |-- tellurium-website > > | `-- ui-examples > > |-- tellurium-assembly > > |-- tellurium-reference > > |-- tools > > | |-- firefox-plugin > > | |-- tellurium-junit-archetype > > | |-- tellurium-testng-archetype > > | `-- tellurium-widget-archetype > > `-- udl > > > > Perhaps I am addicted to Maven and did not write cleanly about the steps > to > > manually create the project. Thanks a lot for your suggestions. We will > add > > that to the update Eclipse wiki page. > > > > Ajay, please add this to the wiki page. > > > > Thanks again, > > > > Jian > > > > On Tue, Jun 8, 2010 at 8:08 PM, kamundse <[email protected]> > wrote: > > > Ok, I found a post in another place about the same error I am > > > currently seeing. > > > > > I see: > > > > > java.lang.NullPointerException: Cannot invoke method open() on null > > > object > > > at > > > org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java: > > > 77) > > > at > > > > > > org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java: > > > 45) > > > at > > > > > > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java: > > > 40) > > > at > > > > org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java: > > > 32) > > > 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.telluriumsource.component.connector.SeleniumConnector.connectUrl(SeleniumConnector.groovy: > > > 54) > > > at > > > > > > org.telluriumsource.test.java.BaseTelluriumJavaTestCase.connectUrl(BaseTelluriumJavaTestCase.java: > > > 57) > > > at > > > > > > GoogleStartPageJavaTestCase.testGoogleSearch(GoogleStartPageJavaTestCase.java: > > > 19) > > > > > Which someone else posted about here and you answered: > > >http://www.mail-archive.com/[email protected]/msg01259. > .. > > > > > So, > > > > > I added connectSeleniumServer() as the last line of initUi() in > > > GoogleStartPageJavaTestCase.java and now everything runs. So, another > > > thing to update on the how-to. > > > > > Thanks for your help. I am off to build on this and learn what I can > > > do. > > > > > -Kristin > > > > > -- > > > 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]> > <tellurium-users%[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]<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.
demo.tar.gz
Description: GNU Zip compressed data
