Is your test class a groovy class or Java class? Usually, you can run Tellurium tests from command line by ANT or Maven, for example, use the following Maven command to run test
mvn test or mvn -Dtest=YOUR_TEST_CLASS test to run a single test class. For ant, please check out our sample ant script at http://code.google.com/p/aost/wiki/TelluriumSampleAntBuildScript and please read the following article for how to run individual test using ANT, http://today.java.net/pub/a/today/2003/09/12/individual-test-cases.html Thanks, Jian On Thu, Sep 3, 2009 at 3:28 AM, d32 <[email protected]> wrote: > > Hi Jian, > > Thanks again, for your help and developing Tellurium for easing our > tasks.. > > One last querry.. > > When we run Tellurium Tests from command prompt like... > java junit.textui.TestRunner <Test Class> > > junit says no Tests found in <Test Class> > > Please help me in resolving this and advice how to run Tellurium test > cases from command line > > Thanks, > Prashant > > On Sep 2, 11:23 pm, Jian Fang <[email protected]> wrote: > > setTimeout(long timeoutInMilliseconds) > > > > is equivalent to > > > > selenium.setTimeout(). > > > > Tellurium encapsulate the selenium object, (actually, it becomes a > session > > object due to the Selenium grid support). Most selenium commands are > > provided in DslContext by removing "selenium.". > > > > If there are any selenium methods that are not provided in DslContext, we > > can > > add them for you. Or you can use the method by the following call. > > > > customDirectCall(String method, Object[] args) > > > > Thanks, > > > > Jian > > > > On Wed, Sep 2, 2009 at 9:22 AM, d32 <[email protected]> wrote: > > > > > Hi Jian, > > > > > Thanks for your quick response and help. > > > > > I have one more query: > > > > > How can we set timeout for the selenium...whats the tellurium > > > equivalent for selenium.setTimeout(). > > > > > Is there any way to access selenium object from tellurium. > > > > > Thanks again > > > Prashant > > > > > On Aug 31, 6:33 pm, Jian Fang <[email protected]> wrote: > > > > I added the following methods in DslContext, > > > > > > void setTimeout(long timeoutInMilliseconds); > > > > > > boolean isCookiePresent(String name); > > > > > > String getCookie(); > > > > > > String getCookieByName(String name); > > > > > > void createCookie(String nameValuePair, String optionsString); > > > > > > void deleteCookie(String name, String optionsString); > > > > > > void deleteAllVisibleCookies(); > > > > > > Please update your core jar from our Maven repo, or download directly > > > from > > > > here, > > > > > > > http://kungfuters.org/nexus/content/repositories/snapshots/tellurium/... > > > > > > Please let us know if you have any problems with the new methods. > > > > > > 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 -~----------~----~----~----~------~----~------~--~---
