I updated the Tellurium Maven archtypes to demonstrate the usage of both jQuery Selector and XPath.
For JUnit project, simply run the following Maven command, mvn archetype:create -DgroupId=example -DartifactId=demo - DarchetypeArtifactId=tellurium-junit-archetype - DarchetypeGroupId=tellurium -DarchetypeVersion=1.0-SNAPSHOT - DarchetypeRepository=http://kungfuters.org/nexus/content/repositories/ snapshots Then go to the demo project directory and run mvn test For TestNG project, run mvn archetype:create -DgroupId=example -DartifactId=demo - DarchetypeArtifactId=tellurium-testng-archetype - DarchetypeGroupId=tellurium -DarchetypeVersion=1.0-SNAPSHOT - DarchetypeRepository=http://kungfuters.org/nexus/content/repositories/ snapshots and mvn test Let us know if you have any problems. Thanks, Jian On Apr 13, 11:37 am, John <[email protected]> wrote: > For your convenience, I uploaded the latest tellurium-core jar, custom > selenium-server.jar to our > user group. You can get them here. > > On Apr 12, 11:19 pm, John <[email protected]> wrote: > > > Our Engine project embeds our custom code inside selenium-core, > > thus, the Engine project will produce a customize selenium-server.jar > > file > > with the version of 1.0-te-2, which matches 1.0-beta-2. We have > > uploaded > > the custom selenium-server.jar to our Maven thirdparty repo and you > > can > > access it using the following maven dependency > > > <dependency> > > <groupId>org.seleniumhq.selenium.server</groupId> > > <artifactId>selenium-server</artifactId> > > <version>1.0-te-2</version> > > <exclusions> > > <exclusion> > > <groupId>ant</groupId> > > <artifactId>ant</artifactId> > > </exclusion> > > </exclusions> > > </dependency> > > <dependency> > > <groupId>org.seleniumhq.selenium.client-drivers</groupId> > > <artifactId>selenium-java-client-driver</artifactId> > > <version>1.0-beta-2</version> > > <exclusions> > > <exclusion> > > <groupId>org.codehaus.groovy.maven.runtime</ > > groupId> > > <artifactId>gmaven-runtime-default</artifactId> > > </exclusion> > > <exclusion> > > <groupId>org.seleniumhq.selenium.core</groupId> > > <artifactId>selenium-core</artifactId> > > </exclusion> > > <exclusion> > > <groupId>org.seleniumhq.selenium.server</groupId> > > <artifactId>selenium-server</artifactId> > > </exclusion> > > </exclusions> > > </dependency> > > > Make sure you exclude selenium-server and selenium-core from selenium- > > rc. > > > Also, make sure you have Tellurium maven thirdparty repo in your pom > > as follows, > > > <repository> > > <id>kungfuters-thirdparty-releases-repo</id> > > <releases> > > <enabled>true</enabled> > > </releases> > > <snapshots> > > <enabled>false</enabled> > > </snapshots> > > <url>http://kungfuters.org/nexus/content/repositories/ > > thirdparty</url> > > </repository> > > > In the future, once we have full-blown engine, we will use our engine > > artfacts > > directly. > > > Thanks, > > > Jian > > > On Apr 12, 1:31 am, John <[email protected]> wrote: > > > > Mikhail, > > > > I created the engine project and put the ant build script there, which > > > is similar to yours. > > > The only difference is that I added jquery.js and json2.js to the test > > > runner htmls. > > > > 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 -~----------~----~----~----~------~----~------~--~---
