Hi Jian, It is not working for us.
After having upgraded to the latest 0.8.0 snapshot and added a bugReport field in the TelluriumConfig.groovy file, we have the following problem: - all our tests are skipped (as indicated in the output xml), even if they succeeded with the previous version of Tellurium. - the browser starts, shows 3 lines in the Command History (getTitle, getContext, cleanCache) and aborts. We don't know if there is someting we did wrong, but any help is welcome. Thanks, Yves. On 4 oct, 17:55, Jian Fang <[email protected]> wrote: > The following method is provided to use the abort option > > public void useAbortOnException(boolean isUse) > > You need to switch to 0.8.0 core snapshot: > > http://maven.kungfuters.org/content/repositories/snapshots/org/tellur... > > Example: > > class GoogleDataDrivenTest extends TelluriumDataDrivenTest{ > > String data = """ > ##Data test for "Google Search" > ##TEST | INPUT > DoGoogleSearch | tellurium testing > DoFeelingLuckySearch | aost groovy > DoGoogleSearch | data driven testing""" > > public void testDataDriven() { > > includeModule org.telluriumsource.ddt.GoogleDataDrivenModule.class > > //load String > useData data > > connectSeleniumServer() > > useAbortOnException(true) > > //read each line and run the test script until the end of the file > stepToEnd() > > //close file > closeData() > } > > } > > Hope this helps. > > Thanks, > > Jian > > > > On Mon, Oct 4, 2010 at 9:27 AM, Jian Fang <[email protected]> wrote: > > Right now, Tellurium does not support that. But it is pretty easy to add a > > flag to indicate > > whether to abort the tests when error happens. Will add that to 0.8.0 > > snapshot and let you know > > soon. > > > Thanks, > > > Jian > > > On Mon, Oct 4, 2010 at 8:54 AM, yca <[email protected]> wrote: > > >> Hello, > > >> I have a request from one of my teams: how to abort the Data Driven > >> Test execution when one test (one line in the data driven test), > >> fails? > > >> With an xml output that could contain something like: > > >> <Total>5</Total> > >> <Succeeded>2</Succeeded> > >> <Failed>1</Failed> > > >> meaning: > > >> Skipped>2</Skipped> > > >> Please note that they want this behavior for all their DDT (and not > >> for 'some' DDT). > > >> Thanks a lot for your help and, btw, for your very nice tool. > > >> Yves. > > >> -- > >> 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%2bunsubscr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/tellurium-users?hl=en.- Masquer le texte des > >>messages précédents - > > - Afficher le texte des messages précédents - -- 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.
