Peter,

Thanks for all the information, this is really useful.

It would be great to get some Selenium tests running.

Did you look into writing tests in java? I can imagine that this would
help make things a lot more flexible.

However as far as I can tell if you embedded Selenium remote control
into OFBiz then you would only be able to test from the machine in which
OFBiz was running - not always ideal!

Did you consider using java tests? Do you think they are necessary?

Thanks
- Andrew



On Fri, 2007-01-26 at 22:42 +0100, Peter Goron wrote:
> Hi Andrew,
> 
> We use Selenium since six month to check there is no regression of the
> business logic of a project based on OFBiz (Neogia[1]) and we are very
> satisfied of this tool. Tests are easy to write and modify by hands, and
> they can be played in all browsers with javascript support.
> Selenium-IDE helps us a lot to write initial test but we often need to
> tweak xpath expressions to be less sensible to html layout change.
> 
> The most difficult part is to write tests that are independent and
> repeatable (particularly with cross-process tests like order and
> shipment).
> 
> On the technical side, Selenium test runner has been embedded in a
> webapp into testtool component [2] and is accessible from webtools
> component (Functional Test Suites link [3]). Tests are stored in each
> component's webapps as html files [4].
> We have two kinds of test suites :
> - component's test suite : run all tests of a given component
> - all-in-one test suite : run all tests
> We run the latest one before each release.
> 
> I can submit a new version of this work under Apache License on JIRA if
> there is an interest.
> 
> Peter
> 
> [1] - http://www.neogia.org/
> [2] -
> http://labs.libre-entreprise.org/plugins/scmcvs/cvsweb.php/ofbizNeogia/framework/testtools/webapp/?cvsroot=neogia
> [3] - https://demo.neogia.org/webtools/control/main (demo site may be
> broken)
> [4] -
> http://labs.libre-entreprise.org/plugins/scmcvs/cvsweb.php/ofbizNeogia/neogia/accounting/webapp/accounting/tests/?cvsroot=neogia
> 
> Le jeudi 25 janvier 2007 à 21:46 +0000, Andrew Sykes a écrit :
> > Hey!
> > 
> > My thread has been hijacked! ;-)
> > 
> > Can someone say something about, er what was it again, oh yes, Selenium.
> > 
> > - Andrew
> > 
> > 
> > On Thu, 2007-01-25 at 14:15 -0700, David E. Jones wrote:
> > > Isn't it actually "[EMAIL PROTECTED]"?
> > > 
> > > Sorry to all about this, there has been some confusion related to the  
> > > recent mailing list migration, including the fact that the email  
> > > addresses on the mailing list pages (like http://mail- 
> > > archives.apache.org/mod_mbox/ofbiz-dev/) are incorrect and we are  
> > > still waiting for the ASF infra team to take care of this. This is  
> > > also happening partially because most of the OFBiz PMC members are  
> > > really slammed with contracts and other concerns right now (which is  
> > > really weird because January is usually slow...).
> > > 
> > > -David
> > > 
> > > 
> > > On Jan 25, 2007, at 12:57 PM, Jacques Le Roux wrote:
> > > 
> > > > Mmm, was [EMAIL PROTECTED] of course
> > > >
> > > > Jacques
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Jacques Le Roux" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Cc: <[email protected]>
> > > > Sent: Thursday, January 25, 2007 6:52 PM
> > > > Subject: Re: Selenium
> > > >
> > > >
> > > >> Please send a blank mesage with title unsubscribe (optionnal) to  
> > > >> [EMAIL PROTECTED]
> > > >>
> > > >> Jacques
> > > >>
> > > >> ----- Original Message -----
> > > >> From: "PhantomsHorridC" <[EMAIL PROTECTED]>
> > > >> To: <[email protected]>; <[EMAIL PROTECTED]>
> > > >> Sent: Thursday, January 25, 2007 5:19 PM
> > > >> Subject: Re: Selenium
> > > >>
> > > >>
> > > >>> REMOVE ME FROM THIS LIST
> > > 
> 
-- 
Kind Regards
Andrew Sykes <[EMAIL PROTECTED]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply via email to