how to do group and subgroup in FOP report?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
48 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Re: demo-trunk error changing Company address

Matt Warnock
Not sure I fully understand your comment, BJ.  It seems to me that we
can't assume that updating one (Postal) address updates any or all other
matching addresses as well.

The CC address is a billing address that is sometimes transmitted with
payment requests, and probably has to match the info your bank has for
you, or CC payments may be rejected.  That address may or may not change
with the invoice address, or any other address.  Certainly any change
there needs to be made with caution.

Shouldn't an address change here simply link the new address (or an
existing one, if appropriate) to the contact mechanism "general
correspondence", "invoice/payment" or whatever?  Why would it need to
lookup or verify EFT addresses at all? And shouldn't NameOnAccount be in
a separate entity from the address anyway?  Or am I reading Silverston
wrong?

Seems like usually (e.g. for partys, groups, etc), we take the approach
of <find> first, or <create> as necessary, then <link> with a relation,
in this case contact_mech.  Here we throw up an edit screen and collect
a contact purpose and address, which is maybe rolling the <find> and
<link> together?

What changed since 9.04?  I would expect this part of the code to be
pretty stable.

--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Tue, 2010-05-25 at 14:16 -0700, BJ Freeman wrote:

> I agree with you that the postal address must first be varified that it
> matches then update.
> most CC have and address component that needs update if you change the
> contact mech address.
> I think an reviews should go back to if the contact mech address is
> linked to the cc entity. this way if that contact mech is updated none
> of that is necessary.
>
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Matt Warnock sent the following on 5/25/2010 1:09 PM:
> > Thanks BJ.  
> >
> > Looks like it already has a Jira issue, but it isn't fixed yet.  
> > https://issues.apache.org/jira/browse/OFBIZ-3485
> >
> > Anybody know a workaround?
> >
> > Why do we call updatePaymentMethodAddress if only a PostalAddress is
> > involved?  I haven't set up any payment methods yet, though maybe some
> > are already in the demo data.
>

Reply | Threaded
Open this post in threaded view
|

Re: demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
in short you said what I said, or intended to get across.
have to sort through the commits to answer you about 9.04.
if you have eclipse or  want to learn svn line commands you can find the
 history of the ECA'a mentioned in the log.


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Matt Warnock sent the following on 5/25/2010 3:29 PM:

> Not sure I fully understand your comment, BJ.  It seems to me that we
> can't assume that updating one (Postal) address updates any or all other
> matching addresses as well.
>
> The CC address is a billing address that is sometimes transmitted with
> payment requests, and probably has to match the info your bank has for
> you, or CC payments may be rejected.  That address may or may not change
> with the invoice address, or any other address.  Certainly any change
> there needs to be made with caution.
>
> Shouldn't an address change here simply link the new address (or an
> existing one, if appropriate) to the contact mechanism "general
> correspondence", "invoice/payment" or whatever?  Why would it need to
> lookup or verify EFT addresses at all? And shouldn't NameOnAccount be in
> a separate entity from the address anyway?  Or am I reading Silverston
> wrong?
>
> Seems like usually (e.g. for partys, groups, etc), we take the approach
> of <find> first, or <create> as necessary, then <link> with a relation,
> in this case contact_mech.  Here we throw up an edit screen and collect
> a contact purpose and address, which is maybe rolling the <find> and
> <link> together?
>
> What changed since 9.04?  I would expect this part of the code to be
> pretty stable.
>


Reply | Threaded
Open this post in threaded view
|

Re: demo-trunk error changing Company address

Matt Warnock
I'm reading the SVN book from O'Rielly, but I don't yet know the
command-line syntax to search/track changes like this.  Any pointers on
practical approaches would be appreciated.  

I also have eclipse installed on my laptop, but haven't yet learned the
way around it.  Is there a good resource you'd recommend for learning
it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)

Also, how do you keep a laptop (development, derby, Ubuntu) code copy
synced with a server (production, postgresql, Debian) version?  The SVN
book seems to assume one central repository from which we check out/in
code.  Since I don't commit, it's one-way from Apache for me, but it
would be nice to track local changes on both machines, and to learn best
practices from those that have certainly already passed this way before.

Thanks in advance, again.
--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Tue, 2010-05-25 at 15:59 -0700, BJ Freeman wrote:

> in short you said what I said, or intended to get across.
> have to sort through the commits to answer you about 9.04.
> if you have eclipse or  want to learn svn line commands you can find the
>  history of the ECA'a mentioned in the log.
>
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Matt Warnock sent the following on 5/25/2010 3:29 PM:
> > Not sure I fully understand your comment, BJ.  It seems to me that we
> > can't assume that updating one (Postal) address updates any or all other
> > matching addresses as well.
> >
> > The CC address is a billing address that is sometimes transmitted with
> > payment requests, and probably has to match the info your bank has for
> > you, or CC payments may be rejected.  That address may or may not change
> > with the invoice address, or any other address.  Certainly any change
> > there needs to be made with caution.
> >
> > Shouldn't an address change here simply link the new address (or an
> > existing one, if appropriate) to the contact mechanism "general
> > correspondence", "invoice/payment" or whatever?  Why would it need to
> > lookup or verify EFT addresses at all? And shouldn't NameOnAccount be in
> > a separate entity from the address anyway?  Or am I reading Silverston
> > wrong?
> >
> > Seems like usually (e.g. for partys, groups, etc), we take the approach
> > of <find> first, or <create> as necessary, then <link> with a relation,
> > in this case contact_mech.  Here we throw up an edit screen and collect
> > a contact purpose and address, which is maybe rolling the <find> and
> > <link> together?
> >
> > What changed since 9.04?  I would expect this part of the code to be
> > pretty stable.
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman

yes I remember my struggles when I got started.
I will try to make it easier for you.
I use eclipse some other use the svn command lines.
I am not versed on svn command lines. I pick up from emails I read.
Get the SVN plug in
http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
if you have one get a account on the
https://cwiki.apache.org/confluence/display/OFBIZ/
I use the search there to find things. You can then star then ones you
want in your Dashboard

put in the search box on the wiki:
eclipse svn plugin
this is one link
 https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips

once you have that under you belt pull up the file mentioned in the log,
in eclipse.
you can use search for find which file contains The ECA's
next rt click on the file and select team->history
you will see all that has been done to that file when, and who did it.
it also gives you the commit so you can search the commit mailing list
and see what was done.\


=======================

BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Matt Warnock sent the following on 5/25/2010 4:16 PM:

> I'm reading the SVN book from O'Rielly, but I don't yet know the
> command-line syntax to search/track changes like this.  Any pointers on
> practical approaches would be appreciated.  
>
> I also have eclipse installed on my laptop, but haven't yet learned the
> way around it.  Is there a good resource you'd recommend for learning
> it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)
>
> Also, how do you keep a laptop (development, derby, Ubuntu) code copy
> synced with a server (production, postgresql, Debian) version?  The SVN
> book seems to assume one central repository from which we check out/in
> code.  Since I don't commit, it's one-way from Apache for me, but it
> would be nice to track local changes on both machines, and to learn best
> practices from those that have certainly already passed this way before.
>
> Thanks in advance, again.


Reply | Threaded
Open this post in threaded view
|

Re: syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development
Since I have my own product I do it slightly different.
but here is a simple way.
on the server make a copy of all the configuration files you do.
that way you can make a script to copy them back over after you update.
I use the nightly builds since they are complied and ready to go with
demo data in derby.
then copy the config files back over.
In put a copy of my script in
https://issues.apache.org/jira/browse/OFBIZ-3705
when I am designing I do that on eclipse then run ofbiz from command line.
once the jar is built I replace it on the server and do a restart.


========================

BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Matt Warnock sent the following on 5/25/2010 4:16 PM:

> I'm reading the SVN book from O'Rielly, but I don't yet know the
> command-line syntax to search/track changes like this.  Any pointers on
> practical approaches would be appreciated.  
>
> I also have eclipse installed on my laptop, but haven't yet learned the
> way around it.  Is there a good resource you'd recommend for learning
> it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)
>
> Also, how do you keep a laptop (development, derby, Ubuntu) code copy
> synced with a server (production, postgresql, Debian) version?  The SVN
> book seems to assume one central repository from which we check out/in
> code.  Since I don't commit, it's one-way from Apache for me, but it
> would be nice to track local changes on both machines, and to learn best
> practices from those that have certainly already passed this way before.
>
> Thanks in advance, again.


Reply | Threaded
Open this post in threaded view
|

Re: demo-trunk error changing Company address

Matt Warnock
In reply to this post by BJ Freeman
Thanks for the pointers!
--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Tue, 2010-05-25 at 17:31 -0700, BJ Freeman wrote:

> yes I remember my struggles when I got started.
> I will try to make it easier for you.
> I use eclipse some other use the svn command lines.
> I am not versed on svn command lines. I pick up from emails I read.
> Get the SVN plug in
> http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
> if you have one get a account on the
> https://cwiki.apache.org/confluence/display/OFBIZ/
> I use the search there to find things. You can then star then ones you
> want in your Dashboard
>
> put in the search box on the wiki:
> eclipse svn plugin
> this is one link
>  https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips
>
> once you have that under you belt pull up the file mentioned in the log,
> in eclipse.
> you can use search for find which file contains The ECA's
> next rt click on the file and select team->history
> you will see all that has been done to that file when, and who did it.
> it also gives you the commit so you can search the commit mailing list
> and see what was done.\
>
>
> =======================
>
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Matt Warnock sent the following on 5/25/2010 4:16 PM:
> > I'm reading the SVN book from O'Rielly, but I don't yet know the
> > command-line syntax to search/track changes like this.  Any pointers on
> > practical approaches would be appreciated.  
> >
> > I also have eclipse installed on my laptop, but haven't yet learned the
> > way around it.  Is there a good resource you'd recommend for learning
> > it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)
> >
> > Also, how do you keep a laptop (development, derby, Ubuntu) code copy
> > synced with a server (production, postgresql, Debian) version?  The SVN
> > book seems to assume one central repository from which we check out/in
> > code.  Since I don't commit, it's one-way from Apache for me, but it
> > would be nice to track local changes on both machines, and to learn best
> > practices from those that have certainly already passed this way before.
> >
> > Thanks in advance, again.
>

Reply | Threaded
Open this post in threaded view
|

Re: syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
Just a note, nightly builds are for testing not production.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


BJ Freeman sent the following on 5/25/2010 5:43 PM:

> https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development
> Since I have my own product I do it slightly different.
> but here is a simple way.
> on the server make a copy of all the configuration files you do.
> that way you can make a script to copy them back over after you update.
> I use the nightly builds since they are complied and ready to go with
> demo data in derby.
> then copy the config files back over.
> In put a copy of my script in
> https://issues.apache.org/jira/browse/OFBIZ-3705
> when I am designing I do that on eclipse then run ofbiz from command line.
> once the jar is built I replace it on the server and do a restart.
>
>
> ========================
>
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Matt Warnock sent the following on 5/25/2010 4:16 PM:
>> I'm reading the SVN book from O'Rielly, but I don't yet know the
>> command-line syntax to search/track changes like this.  Any pointers on
>> practical approaches would be appreciated.  
>>
>> I also have eclipse installed on my laptop, but haven't yet learned the
>> way around it.  Is there a good resource you'd recommend for learning
>> it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)
>>
>> Also, how do you keep a laptop (development, derby, Ubuntu) code copy
>> synced with a server (production, postgresql, Debian) version?  The SVN
>> book seems to assume one central repository from which we check out/in
>> code.  Since I don't commit, it's one-way from Apache for me, but it
>> would be nice to track local changes on both machines, and to learn best
>> practices from those that have certainly already passed this way before.
>>
>> Thanks in advance, again.
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: syncing code on server and laptop was demo-trunk error changing Company address

Matt Warnock
In reply to this post by BJ Freeman
Every time I think I've read the relevant docs, someone points out
something that is right on point that I should have seen.  Maybe I need
to practice searching more.  Or perhaps its that I understand what I
didn't before.  Either way, thanks again.

This is EXACTLY what I needed.
--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Tue, 2010-05-25 at 17:43 -0700, BJ Freeman wrote:

> https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development
> Since I have my own product I do it slightly different.
> but here is a simple way.
> on the server make a copy of all the configuration files you do.
> that way you can make a script to copy them back over after you update.
> I use the nightly builds since they are complied and ready to go with
> demo data in derby.
> then copy the config files back over.
> In put a copy of my script in
> https://issues.apache.org/jira/browse/OFBIZ-3705
> when I am designing I do that on eclipse then run ofbiz from command line.
> once the jar is built I replace it on the server and do a restart.
>
>
> ========================
>
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Matt Warnock sent the following on 5/25/2010 4:16 PM:
> > I'm reading the SVN book from O'Rielly, but I don't yet know the
> > command-line syntax to search/track changes like this.  Any pointers on
> > practical approaches would be appreciated.  
> >
> > I also have eclipse installed on my laptop, but haven't yet learned the
> > way around it.  Is there a good resource you'd recommend for learning
> > it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)
> >
> > Also, how do you keep a laptop (development, derby, Ubuntu) code copy
> > synced with a server (production, postgresql, Debian) version?  The SVN
> > book seems to assume one central repository from which we check out/in
> > code.  Since I don't commit, it's one-way from Apache for me, but it
> > would be nice to track local changes on both machines, and to learn best
> > practices from those that have certainly already passed this way before.
> >
> > Thanks in advance, again.
>

Reply | Threaded
Open this post in threaded view
|

Re: syncing code on server and laptop was demo-trunk error changing Company address

Matt Warnock
In reply to this post by BJ Freeman
Based on encouraging comments from you and Jacopo and others, and seeing
the rate at which new commits are added, I am thinking it may be best to
get on the trunk, even for production.  However I can't imagine running
nightly builds on a production server.  

I'm thinking I'd build nightly on the development laptop, and update the
production server every week or two, to a fairly recent, more-or-less
"known good" revision level.  I'm hoping this would provide the best of
both worlds.  And I'm hoping that this would avoid any mission-critical
breakages until the fixes have been committed.  Does that seem
reasonable?

I don't kid myself that I can submit much code yet, but hopefully I can
help test and document bugs, even if I can't fix them yet.  Hopefully
that will come soon.

--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Tue, 2010-05-25 at 18:28 -0700, BJ Freeman wrote:

> Just a note, nightly builds are for testing not production.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> BJ Freeman sent the following on 5/25/2010 5:43 PM:
> > https://cwiki.apache.org/confluence/display/OFBADMIN/Apache+OFBiz+Contribution+and+Development
> > Since I have my own product I do it slightly different.
> > but here is a simple way.
> > on the server make a copy of all the configuration files you do.
> > that way you can make a script to copy them back over after you update.
> > I use the nightly builds since they are complied and ready to go with
> > demo data in derby.
> > then copy the config files back over.
> > In put a copy of my script in
> > https://issues.apache.org/jira/browse/OFBIZ-3705
> > when I am designing I do that on eclipse then run ofbiz from command line.
> > once the jar is built I replace it on the server and do a restart.
> >
> >
> > ========================
> >
> > BJ Freeman
> > http://bjfreeman.elance.com
> > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> > Specialtymarket.com <http://www.specialtymarket.com/>
> >
> > Systems Integrator-- Glad to Assist
> >
> > Chat  Y! messenger: bjfr33man
> > Linkedin
> > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
> >
> >
> > Matt Warnock sent the following on 5/25/2010 4:16 PM:
> >> I'm reading the SVN book from O'Rielly, but I don't yet know the
> >> command-line syntax to search/track changes like this.  Any pointers on
> >> practical approaches would be appreciated.  
> >>
> >> I also have eclipse installed on my laptop, but haven't yet learned the
> >> way around it.  Is there a good resource you'd recommend for learning
> >> it?  Googling "Eclipse primer" gives a lot of astronomy articles. :)
> >>
> >> Also, how do you keep a laptop (development, derby, Ubuntu) code copy
> >> synced with a server (production, postgresql, Debian) version?  The SVN
> >> book seems to assume one central repository from which we check out/in
> >> code.  Since I don't commit, it's one-way from Apache for me, but it
> >> would be nice to track local changes on both machines, and to learn best
> >> practices from those that have certainly already passed this way before.
> >>
> >> Thanks in advance, again.
> >
> >
> >
>

Reply | Threaded
Open this post in threaded view
|

Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
we need button pusher and business that need to accomplish a task.
one of the top level testing tools is selenium
https://issues.apache.org/jira/browse/OFBIZ-3511
your welcome to add to the library.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Matt Warnock sent the following on 5/25/2010 6:40 PM:

> Based on encouraging comments from you and Jacopo and others, and seeing
> the rate at which new commits are added, I am thinking it may be best to
> get on the trunk, even for production.  However I can't imagine running
> nightly builds on a production server.  
>
> I'm thinking I'd build nightly on the development laptop, and update the
> production server every week or two, to a fairly recent, more-or-less
> "known good" revision level.  I'm hoping this would provide the best of
> both worlds.  And I'm hoping that this would avoid any mission-critical
> breakages until the fixes have been committed.  Does that seem
> reasonable?
>
> I don't kid myself that I can submit much code yet, but hopefully I can
> help test and document bugs, even if I can't fix them yet.  Hopefully
> that will come soon.
>


Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

Matt Warnock
Well, we certainly qualify for those two things.
 
FWIW, for OFBiz, it doesn't seem to me that selenium would add that much
over good regression testing of the SECAs, services, actions, methods,
and other elements-- since inputs feed directly into services in a very
consistent and predictable way (unlike many other systems I have seen),
it would seem that good regression "harness" testing would uncover
almost everything everything except true "look and feel" or browser
quirk problems.  Selenium would be largely superfluous, IMO.

I first assumed that selenium was similar to the test suites in the perl
CPAN world-- automated regression testing of the libraries under a broad
variety of execution environments.  I was surprised to find out what it
really was.

--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Tue, 2010-05-25 at 19:18 -0700, BJ Freeman wrote:

> we need button pusher and business that need to accomplish a task.
> one of the top level testing tools is selenium
> https://issues.apache.org/jira/browse/OFBIZ-3511
> your welcome to add to the library.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> Matt Warnock sent the following on 5/25/2010 6:40 PM:
> > Based on encouraging comments from you and Jacopo and others, and seeing
> > the rate at which new commits are added, I am thinking it may be best to
> > get on the trunk, even for production.  However I can't imagine running
> > nightly builds on a production server.  
> >
> > I'm thinking I'd build nightly on the development laptop, and update the
> > production server every week or two, to a fairly recent, more-or-less
> > "known good" revision level.  I'm hoping this would provide the best of
> > both worlds.  And I'm hoping that this would avoid any mission-critical
> > breakages until the fixes have been committed.  Does that seem
> > reasonable?
> >
> > I don't kid myself that I can submit much code yet, but hopefully I can
> > help test and document bugs, even if I can't fix them yet.  Hopefully
> > that will come soon.
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

chris snow-2
In reply to this post by BJ Freeman
Hi BJ - i'd like to start adding selenium tests, however, before adding
selenium tests, test cases need to be created. To create test cases, process
flows need to be understood/documented (I'm still at the understanding stage
hence my work on the help system).  So in conclusion only those with
detailed knowledge of ofbiz processes can start adding selenium tests (only
a few people?).

On 26 May 2010 03:18, "BJ Freeman" <[hidden email]> wrote:

we need button pusher and business that need to accomplish a task.
one of the top level testing tools is selenium
https://issues.apache.org/jira/browse/OFBIZ-3511
your welcome to add to the library.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <
http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>


Matt Warnock sent the following on 5/25/2010 6:40 PM:

> Based on encouraging comments from you and Jacopo and others, and seeing
> the rate at which new commits are added, I am thinking it may be best to
> get on the trunk, even for production.  However I can't imagine running
> nightly builds on a production server.
>
> I'm thinking I'd build nightly on the development laptop, and update the
> production server every week or two, to a fairly recent, more-or-less
> "known good" revision level.  I'm hoping this would provide the best of
> both worlds.  And I'm hoping that this would avoid any mission-critical
> breakages until the fixes have been committed.  Does that seem
> reasonable?
>
> I don't kid myself that I can submit much code yet, but hopefully I can
> help test and document bugs, even if I can't fix them yet.  Hopefully
> that will come soon.
>
Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

samhamilton
Hi Chris,

Perhaps if we start with the a big overview of test cases per component
people will start adding to them later for the ones that are missing?

Perhaps the simplest tests to start adding would be ecommerce as its all
customer facing and so in my opinion the simplest to get good selenium
coverage.

I can help out with some facility stuff as we use that here.

Cheers
Sam


On 26/05/2010 12:12, chris snow wrote:

> Hi BJ - i'd like to start adding selenium tests, however, before adding
> selenium tests, test cases need to be created. To create test cases, process
> flows need to be understood/documented (I'm still at the understanding stage
> hence my work on the help system).  So in conclusion only those with
> detailed knowledge of ofbiz processes can start adding selenium tests (only
> a few people?).
>
> On 26 May 2010 03:18, "BJ Freeman" <[hidden email]> wrote:
>
> we need button pusher and business that need to accomplish a task.
> one of the top level testing tools is selenium
> https://issues.apache.org/jira/browse/OFBIZ-3511
> your welcome to add to the library.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <
> http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>
>
>
> Matt Warnock sent the following on 5/25/2010 6:40 PM:
>> Based on encouraging comments from you and Jacopo and others, and seeing
>> the rate at which new commits are added, I am thinking it may be best to
>> get on the trunk, even for production.  However I can't imagine running
>> nightly builds on a production server.
>>
>> I'm thinking I'd build nightly on the development laptop, and update the
>> production server every week or two, to a fairly recent, more-or-less
>> "known good" revision level.  I'm hoping this would provide the best of
>> both worlds.  And I'm hoping that this would avoid any mission-critical
>> breakages until the fixes have been committed.  Does that seem
>> reasonable?
>>
>> I don't kid myself that I can submit much code yet, but hopefully I can
>> help test and document bugs, even if I can't fix them yet.  Hopefully
>> that will come soon.
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

chris snow-2
Hi Sam,

A useful technique is to base tests on the use cases / activity diagrams.
It may be a good idea to focus on creating these first.

BOUML is a good free tool for UML diagramming.

Cheers,

Chris

On Wed, May 26, 2010 at 7:27 AM, Sam Hamilton <[hidden email]> wrote:

> Hi Chris,
>
> Perhaps if we start with the a big overview of test cases per component
> people will start adding to them later for the ones that are missing?
>
> Perhaps the simplest tests to start adding would be ecommerce as its all
> customer facing and so in my opinion the simplest to get good selenium
> coverage.
>
> I can help out with some facility stuff as we use that here.
>
> Cheers
> Sam
>
>
> On 26/05/2010 12:12, chris snow wrote:
> > Hi BJ - i'd like to start adding selenium tests, however, before adding
> > selenium tests, test cases need to be created. To create test cases,
> process
> > flows need to be understood/documented (I'm still at the understanding
> stage
> > hence my work on the help system).  So in conclusion only those with
> > detailed knowledge of ofbiz processes can start adding selenium tests
> (only
> > a few people?).
> >
> > On 26 May 2010 03:18, "BJ Freeman" <[hidden email]> wrote:
> >
> > we need button pusher and business that need to accomplish a task.
> > one of the top level testing tools is selenium
> > https://issues.apache.org/jira/browse/OFBIZ-3511
> > your welcome to add to the library.
> >
> > =========================
> > BJ Freeman
> > http://bjfreeman.elance.com
> > Strategic Power Office with Supplier Automation <
> > http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> > Specialtymarket.com <http://www.specialtymarket.com/>
> >
> > Systems Integrator-- Glad to Assist
> >
> > Chat  Y! messenger: bjfr33man
> > Linkedin
> > <
> >
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> >>
> >
> >
> > Matt Warnock sent the following on 5/25/2010 6:40 PM:
> >> Based on encouraging comments from you and Jacopo and others, and seeing
> >> the rate at which new commits are added, I am thinking it may be best to
> >> get on the trunk, even for production.  However I can't imagine running
> >> nightly builds on a production server.
> >>
> >> I'm thinking I'd build nightly on the development laptop, and update the
> >> production server every week or two, to a fairly recent, more-or-less
> >> "known good" revision level.  I'm hoping this would provide the best of
> >> both worlds.  And I'm hoping that this would avoid any mission-critical
> >> breakages until the fixes have been committed.  Does that seem
> >> reasonable?
> >>
> >> I don't kid myself that I can submit much code yet, but hopefully I can
> >> help test and document bugs, even if I can't fix them yet.  Hopefully
> >> that will come soon.
> >>
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
Chris there are many ways to test.
I see selenium more as business logic to data test using the available UI.
It test real world interaction with the user of ofbiz.
here is one scenario
Place an order(ecoomerce or Orderentry)
send product
view the GL for expected results (through the UI).

For PO
Place an order(Orderentry)
receive product
pay supplier
check GL for expected results(through the UI)
Now this test all underlying code and if the user can use the results
for business.

you  can break this down to component tests if you like but the end goal
is totest user ability to have a functional system.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


chris snow sent the following on 5/25/2010 9:12 PM:

> Hi BJ - i'd like to start adding selenium tests, however, before adding
> selenium tests, test cases need to be created. To create test cases, process
> flows need to be understood/documented (I'm still at the understanding stage
> hence my work on the help system).  So in conclusion only those with
> detailed knowledge of ofbiz processes can start adding selenium tests (only
> a few people?).
>
> On 26 May 2010 03:18, "BJ Freeman" <[hidden email]> wrote:
>
> we need button pusher and business that need to accomplish a task.
> one of the top level testing tools is selenium
> https://issues.apache.org/jira/browse/OFBIZ-3511
> your welcome to add to the library.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <
> http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>
>
> Matt Warnock sent the following on 5/25/2010 6:40 PM:
>> Based on encouraging comments from you and Jacopo and others, and seeing
>> the rate at which new commits are added, I am thinking it may be best to
>> get on the trunk, even for production.  However I can't imagine running
>> nightly builds on a production server.
>>
>> I'm thinking I'd build nightly on the development laptop, and update the
>> production server every week or two, to a fairly recent, more-or-less
>> "known good" revision level.  I'm hoping this would provide the best of
>> both worlds.  And I'm hoping that this would avoid any mission-critical
>> breakages until the fixes have been committed.  Does that seem
>> reasonable?
>>
>> I don't kid myself that I can submit much code yet, but hopefully I can
>> help test and document bugs, even if I can't fix them yet.  Hopefully
>> that will come soon.
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
forgot
should use User manual as the test case.

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


BJ Freeman sent the following on 5/26/2010 2:18 AM:

> Chris there are many ways to test.
> I see selenium more as business logic to data test using the available UI.
> It test real world interaction with the user of ofbiz.
> here is one scenario
> Place an order(ecoomerce or Orderentry)
> send product
> view the GL for expected results (through the UI).
>
> For PO
> Place an order(Orderentry)
> receive product
> pay supplier
> check GL for expected results(through the UI)
> Now this test all underlying code and if the user can use the results
> for business.
>
> you  can break this down to component tests if you like but the end goal
> is totest user ability to have a functional system.
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> chris snow sent the following on 5/25/2010 9:12 PM:
>> Hi BJ - i'd like to start adding selenium tests, however, before adding
>> selenium tests, test cases need to be created. To create test cases, process
>> flows need to be understood/documented (I'm still at the understanding stage
>> hence my work on the help system).  So in conclusion only those with
>> detailed knowledge of ofbiz processes can start adding selenium tests (only
>> a few people?).
>>
>> On 26 May 2010 03:18, "BJ Freeman" <[hidden email]> wrote:
>>
>> we need button pusher and business that need to accomplish a task.
>> one of the top level testing tools is selenium
>> https://issues.apache.org/jira/browse/OFBIZ-3511
>> your welcome to add to the library.
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation <
>> http://www.businessesnetwork.com/automation/viewforum.php?f=93>
>> Specialtymarket.com <http://www.specialtymarket.com/>
>>
>> Systems Integrator-- Glad to Assist
>>
>> Chat  Y! messenger: bjfr33man
>> Linkedin
>> <
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>
>>
>> Matt Warnock sent the following on 5/25/2010 6:40 PM:
>>> Based on encouraging comments from you and Jacopo and others, and seeing
>>> the rate at which new commits are added, I am thinking it may be best to
>>> get on the trunk, even for production.  However I can't imagine running
>>> nightly builds on a production server.
>>>
>>> I'm thinking I'd build nightly on the development laptop, and update the
>>> production server every week or two, to a fairly recent, more-or-less
>>> "known good" revision level.  I'm hoping this would provide the best of
>>> both worlds.  And I'm hoping that this would avoid any mission-critical
>>> breakages until the fixes have been committed.  Does that seem
>>> reasonable?
>>>
>>> I don't kid myself that I can submit much code yet, but hopefully I can
>>> help test and document bugs, even if I can't fix them yet.  Hopefully
>>> that will come soon.
>>>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

chris snow-2
User manual would be a good basis, if it describes ui processes.  Where can
I find the user manual?

On 26 May 2010 10:30, "BJ Freeman" <[hidden email]> wrote:

forgot
should use User manual as the test case.


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Suppli...
BJ Freeman sent the following on 5/26/2010 2:18 AM:

> Chris there are many ways to test.
> I see selenium more as business logic to data test using the ...

> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http:/...

> chris snow sent the following on 5/25/2010 9:12 PM:
>> Hi BJ - i'd like to start adding selenium t...

>> we need button pusher and business that need to accomplish a task.
>> one of the top level testin...
Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman
ah the crux of the problem.
we have some but it really needs to be fleshed out.
here is a place to start
https://cwiki.apache.org/confluence/display/OFBENDUSER/OFBiz+End+User+Docs+Home


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


chris snow sent the following on 5/26/2010 2:40 AM:

> User manual would be a good basis, if it describes ui processes.  Where can
> I find the user manual?
>
> On 26 May 2010 10:30, "BJ Freeman" <[hidden email]> wrote:
>
> forgot
> should use User manual as the test case.
>
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Suppli...
> BJ Freeman sent the following on 5/26/2010 2:18 AM:
>
>> Chris there are many ways to test.
>> I see selenium more as business logic to data test using the ...
>
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation <http:/...
>
>> chris snow sent the following on 5/25/2010 9:12 PM:
>>> Hi BJ - i'd like to start adding selenium t...
>
>>> we need button pusher and business that need to accomplish a task.
>>> one of the top level testin...
>


Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

BJ Freeman
In reply to this post by BJ Freeman

here is one not in the links
https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


BJ Freeman sent the following on 5/26/2010 2:49 AM:

> ah the crux of the problem.
> we have some but it really needs to be fleshed out.
> here is a place to start
> https://cwiki.apache.org/confluence/display/OFBENDUSER/OFBiz+End+User+Docs+Home
>
>
> =========================
> BJ Freeman
> http://bjfreeman.elance.com
> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> Specialtymarket.com <http://www.specialtymarket.com/>
>
> Systems Integrator-- Glad to Assist
>
> Chat  Y! messenger: bjfr33man
> Linkedin
> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
>
>
> chris snow sent the following on 5/26/2010 2:40 AM:
>> User manual would be a good basis, if it describes ui processes.  Where can
>> I find the user manual?
>>
>> On 26 May 2010 10:30, "BJ Freeman" <[hidden email]> wrote:
>>
>> forgot
>> should use User manual as the test case.
>>
>>
>> =========================
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Suppli...
>> BJ Freeman sent the following on 5/26/2010 2:18 AM:
>>
>>> Chris there are many ways to test.
>>> I see selenium more as business logic to data test using the ...
>>> BJ Freeman
>>> http://bjfreeman.elance.com
>>> Strategic Power Office with Supplier Automation <http:/...
>>> chris snow sent the following on 5/25/2010 9:12 PM:
>>>> Hi BJ - i'd like to start adding selenium t...
>>>> we need button pusher and business that need to accomplish a task.
>>>> one of the top level testin...
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Sorely need testers-- was syncing code on server and laptop was demo-trunk error changing Company address

chris snow-2
In reply to this post by BJ Freeman
That's why I am focusing on improving the help / documentation!

On 26 May 2010 10:49, "BJ Freeman" <[hidden email]> wrote:

ah the crux of the problem.
we have some but it really needs to be fleshed out.
here is a place to start
https://cwiki.apache.org/confluence/display/OFBENDUSER/OFBiz+End+User+Docs+Home



=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Suppl...
chris snow sent the following on 5/26/2010 2:40 AM:

> User manual would be a good basis, if it describes ui processes. Where can
> I find the user manu...

> On 26 May 2010 10:30, "BJ Freeman" <[hidden email]> wrote:
>
> forgot
> should use User manu...
> Strategic Power Office with Suppli...

> BJ Freeman sent the following on 5/26/2010 2:18 AM:
>
>> Chris there are many ways to test.
>> I see selenium more as business logic to data test using the ...

>
>> BJ Freeman
>> http://bjfreeman.elance.com
>> Strategic Power Office with Supplier Automation <http:/...

>
>> chris snow sent the following on 5/25/2010 9:12 PM:
>>> Hi BJ - i'd like to start adding selenium t...

>
>>> we need button pusher and business that need to accomplish a task.
>>> one of the top level testin...
>
123