Chand,
I have been thinking along the same lines.
I think this would be well worth considering as it would document how to
do a lot of the clever things that the seed/demo data already does for
you.
One problem with this is that for a production deployment, being forced
to use Selenium to install seed data would be about as popular a combo
as flatulence and space suits!
So the question is, can anyone think of a clever way to offer both
options without doubling up i.e. maintaining two sets of seed/demo data?
Or, could the demo data be migrated to Selenium leaving only the seed
data to be loaded directly?
Any thoughts?
- Andrew
On Mon, 2007-01-29 at 01:38 -0800, Chandresh Turakhia wrote:
> Tim , Peter :
>
> Can I share unrealized use of Selenium for the team.
>
> (1) works as "great DEMO platform".
>
> Typically new user downlown the ofbiz runs it. works.
>
> Then he tries to findle around the system - create user etc. run a sample
> ecommerce transaction. He tries to figure out various features of ofbiz.
>
> Instead of Selenium can be used to "RE-RUN" standard demos on his box. If
> Selenium scripts are parameterized or he can fiddle with the "Re run "
> variables; he can see for himself different "Use Cases" of ofbiz for himself.
> Seed data population can be "Seleniumized"
>
> Gives him confidence.
>
> (2) User Load Testings.
>
> Did some work on Mircrosoft Test platform for commercial erp. I am sure
> Seleim can also do similiar work.
>
> Logical steps were
>
> for 10 times in loop
> {
> a.. Create user
> b.. Save it password gererated in file with name based on userid.
> c.. Create Purchase Order.
> d.. Add 10 items ( configurable based on conf files )
> e.. Save Generated PurchaseOrderID in file.
> }
> a.. Wait 10 minutes.
> b.. Login as different standard executive userid
> c.. get "Generated PurchaseOrderIDs" from file
> for each "Generated PurchaseOrderID"
> {
> a.. Randomly authorize or reject it
> }
>
>
>
>
> ----- Original Message -----
> From: Tim Ruppert
> To: [email protected]
> Sent: Friday, January 26, 2007 1:54 PM
> Subject: Re: Selenium
>
>
> Peter, there is interest for sure.
>
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
>
> o:801.649.6594
> f:801.649.6595
>
>
>
>
> On Jan 26, 2007, at 2:42 PM, 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