Selenium

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

Selenium

Andrew Sykes
Hi,

I noticed David mentioned Selenium a few days ago, has anyone made a
start on tying this into OFBiz yet?
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Tim Ruppert
I have played with it a few different times in the past and it's a good product.  What I tried most recently is the Selenium IDE for Firefox which has some potential, but is not there as of yet.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595


On Jan 25, 2007, at 8:27 AM, Andrew Sykes wrote:

Hi,

I noticed David mentioned Selenium a few days ago, has anyone made a
start on tying this into OFBiz yet?
-- 
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Andrew Sykes
In reply to this post by Andrew Sykes
Tim,

Can you elaborate please? What would you say is missing at present?

Thanks
- Andrew

On Thu, 2007-01-25 at 08:42 -0700, Tim Ruppert wrote:

> I have played with it a few different times in the past and it's a
> good product.  What I tried most recently is the Selenium IDE for
> Firefox which has some potential, but is not there as of yet.
>
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> On Jan 25, 2007, at 8:27 AM, Andrew Sykes wrote:
>
> > Hi,
> >
> >
> > I noticed David mentioned Selenium a few days ago, has anyone made a
> > start on tying this into OFBiz yet?
> > --
> > Kind Regards
> > Andrew Sykes <[hidden email]>
> > Sykes Development Ltd
> > http://www.sykesdevelopment.com
> >
> >
>
>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

PhantomsHorridC
REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 REMOVE ME FROM THIS LIST
 
 
 
---------------------------------
 New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Jacques Le Roux
Administrator
Please send a blank mesage with title unsubscribe (optionnal) to [hidden email]

Jacques

----- Original Message -----
From: "PhantomsHorridC" <[hidden email]>
To: <[hidden email]>; <[hidden email]>
Sent: Thursday, January 25, 2007 5:19 PM
Subject: Re: Selenium


> REMOVE ME FROM THIS LIST

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Jacques Le Roux
Administrator
Mmm, was [hidden email] of course

Jacques


----- Original Message -----
From: "Jacques Le Roux" <[hidden email]>
To: <[hidden email]>
Cc: <[hidden email]>
Sent: Thursday, January 25, 2007 6:52 PM
Subject: Re: Selenium


> Please send a blank mesage with title unsubscribe (optionnal) to [hidden email]
>
> Jacques
>
> ----- Original Message -----
> From: "PhantomsHorridC" <[hidden email]>
> To: <[hidden email]>; <[hidden email]>
> Sent: Thursday, January 25, 2007 5:19 PM
> Subject: Re: Selenium
>
>
> > REMOVE ME FROM THIS LIST
Reply | Threaded
Open this post in threaded view
|

Re: Selenium

David E Jones

Isn't it actually "[hidden email]"?

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 [hidden email] of course
>
> Jacques
>
>
> ----- Original Message -----
> From: "Jacques Le Roux" <[hidden email]>
> To: <[hidden email]>
> Cc: <[hidden email]>
> Sent: Thursday, January 25, 2007 6:52 PM
> Subject: Re: Selenium
>
>
>> Please send a blank mesage with title unsubscribe (optionnal) to  
>> [hidden email]
>>
>> Jacques
>>
>> ----- Original Message -----
>> From: "PhantomsHorridC" <[hidden email]>
>> To: <[hidden email]>; <[hidden email]>
>> Sent: Thursday, January 25, 2007 5:19 PM
>> Subject: Re: Selenium
>>
>>
>>> REMOVE ME FROM THIS LIST


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Jacques Le Roux
Administrator
>
> Isn't it actually "[hidden email]"?

Yes of course, where I had my head ? I asked one more time today to infra but perhaps has I'm not a PMC member they will not answer
(I also asked them about that point)

> 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...).

This january raise is certainly a good thing and maybe means that work around OFBiz begins to be more regular...

Jacques

>
> -David
>
>
> On Jan 25, 2007, at 12:57 PM, Jacques Le Roux wrote:
>
> > Mmm, was [hidden email] of course
> >
> > Jacques
> >
> >
> > ----- Original Message -----
> > From: "Jacques Le Roux" <[hidden email]>
> > To: <[hidden email]>
> > Cc: <[hidden email]>
> > Sent: Thursday, January 25, 2007 6:52 PM
> > Subject: Re: Selenium
> >
> >
> >> Please send a blank mesage with title unsubscribe (optionnal) to
> >> [hidden email]
> >>
> >> Jacques
> >>
> >> ----- Original Message -----
> >> From: "PhantomsHorridC" <[hidden email]>
> >> To: <[hidden email]>; <[hidden email]>
> >> Sent: Thursday, January 25, 2007 5:19 PM
> >> Subject: Re: Selenium
> >>
> >>
> >>> REMOVE ME FROM THIS LIST
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Andrew Sykes
In reply to this post by Jacques Le Roux
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 "[hidden email]"?
>
> 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 [hidden email] of course
> >
> > Jacques
> >
> >
> > ----- Original Message -----
> > From: "Jacques Le Roux" <[hidden email]>
> > To: <[hidden email]>
> > Cc: <[hidden email]>
> > Sent: Thursday, January 25, 2007 6:52 PM
> > Subject: Re: Selenium
> >
> >
> >> Please send a blank mesage with title unsubscribe (optionnal) to  
> >> [hidden email]
> >>
> >> Jacques
> >>
> >> ----- Original Message -----
> >> From: "PhantomsHorridC" <[hidden email]>
> >> To: <[hidden email]>; <[hidden email]>
> >> Sent: Thursday, January 25, 2007 5:19 PM
> >> Subject: Re: Selenium
> >>
> >>
> >>> REMOVE ME FROM THIS LIST
>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Peter Goron
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 "[hidden email]"?
> >
> > 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 [hidden email] of course
> > >
> > > Jacques
> > >
> > >
> > > ----- Original Message -----
> > > From: "Jacques Le Roux" <[hidden email]>
> > > To: <[hidden email]>
> > > Cc: <[hidden email]>
> > > Sent: Thursday, January 25, 2007 6:52 PM
> > > Subject: Re: Selenium
> > >
> > >
> > >> Please send a blank mesage with title unsubscribe (optionnal) to  
> > >> [hidden email]
> > >>
> > >> Jacques
> > >>
> > >> ----- Original Message -----
> > >> From: "PhantomsHorridC" <[hidden email]>
> > >> To: <[hidden email]>; <[hidden email]>
> > >> Sent: Thursday, January 25, 2007 5:19 PM
> > >> Subject: Re: Selenium
> > >>
> > >>
> > >>> REMOVE ME FROM THIS LIST
> >

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Tim Ruppert
Peter, there is interest for sure.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

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

[2] -
broken)
[4] -

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 "[hidden email]"?

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 [hidden email] of course

Jacques


----- Original Message -----
From: "Jacques Le Roux" <[hidden email]>
Sent: Thursday, January 25, 2007 6:52 PM
Subject: Re: Selenium


Please send a blank mesage with title unsubscribe (optionnal) to  

Jacques

----- Original Message -----
From: "PhantomsHorridC" <[hidden email]>
Sent: Thursday, January 25, 2007 5:19 PM
Subject: Re: Selenium


REMOVE ME FROM THIS LIST




smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Andrew Sykes
In reply to this post by Peter Goron
Tim,

You hinted at having some reservations about Selenium, could you explain
in a bit more detail please? It would be good to go into something like
this with our eyes open!

-Andrew

On Fri, 2007-01-26 at 14:54 -0700, Tim Ruppert wrote:

> 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 "[hidden email]"?
> > > >
> > > >
> > > > 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 [hidden email] of course
> > > > >
> > > > >
> > > > > Jacques
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Jacques Le Roux" <[hidden email]>
> > > > > To: <[hidden email]>
> > > > > Cc: <[hidden email]>
> > > > > Sent: Thursday, January 25, 2007 6:52 PM
> > > > > Subject: Re: Selenium
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > Please send a blank mesage with title unsubscribe
> > > > > > (optionnal) to  
> > > > > > [hidden email]
> > > > > >
> > > > > >
> > > > > > Jacques
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "PhantomsHorridC" <[hidden email]>
> > > > > > To: <[hidden email]>; <[hidden email]>
> > > > > > Sent: Thursday, January 25, 2007 5:19 PM
> > > > > > Subject: Re: Selenium
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > REMOVE ME FROM THIS LIST
> > > >
> > > >
> >
> >
>
>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Jacques Le Roux
Administrator
In reply to this post by Tim Ruppert
That's why I was pushing Selenium...

Thank you Peter and all Neogia team !

Jacques
  ----- Original Message -----
  From: Tim Ruppert
  To: [hidden email]
  Sent: Friday, January 26, 2007 10: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 "[hidden email]"?


        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 [hidden email] of course


          Jacques




          ----- Original Message -----
          From: "Jacques Le Roux" <[hidden email]>
          To: <[hidden email]>
          Cc: <[hidden email]>
          Sent: Thursday, January 25, 2007 6:52 PM
          Subject: Re: Selenium




            Please send a blank mesage with title unsubscribe (optionnal) to  
            [hidden email]


            Jacques


            ----- Original Message -----
            From: "PhantomsHorridC" <[hidden email]>
            To: <[hidden email]>; <[hidden email]>
            Sent: Thursday, January 25, 2007 5:19 PM
            Subject: Re: Selenium




              REMOVE ME FROM THIS LIST





Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Tim Ruppert
In reply to this post by Andrew Sykes
Sorry I didn't answer this earlier - I've had great luck with Selenium and writing code directly.  The problem that I ran into was that I couldn't get the IDE to work well on the pages.  Maybe Peter can shed a little light on this with what he was describing earlier?

I've used a ton of record/playback models and very few of them work reliably - especially the open source ones.  I am still working on getting together a webtest example for everyone to see so that we can compare the differences.

Cheers,
Tim
--
Tim Ruppert
HotWax Media

o:801.649.6594
f:801.649.6595

On Jan 26, 2007, at 3:08 PM, Andrew Sykes wrote:

Tim,

You hinted at having some reservations about Selenium, could you explain
in a bit more detail please? It would be good to go into something like
this with our eyes open!

-Andrew

On Fri, 2007-01-26 at 14:54 -0700, Tim Ruppert wrote:
Peter, there is interest for sure.


Cheers,
Tim
--
Tim Ruppert
HotWax Media


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


[2] -
entreprise.org/plugins/scmcvs/cvsweb.php/ofbizNeogia/framework/testtools/webapp/?cvsroot=neogia
be
broken)
[4] -
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 "[hidden email]"?


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 [hidden email] of course


Jacques




----- Original Message -----
From: "Jacques Le Roux" <[hidden email]>
Sent: Thursday, January 25, 2007 6:52 PM
Subject: Re: Selenium




Please send a blank mesage with title unsubscribe
(optionnal) to  


Jacques


----- Original Message -----
From: "PhantomsHorridC" <[hidden email]>
Sent: Thursday, January 25, 2007 5:19 PM
Subject: Re: Selenium




REMOVE ME FROM THIS LIST






-- 
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Peter Goron
Hi Tim,

Selenium-IDE fits 95% of our needs without any problems (recording and
playing tests). The remaining 5% is when page contains ambiguities
during test recording or when we need to store state information during
test execution.

In the first case, if a page contains two hyperlinks with the same
title, selenium-ide will not use link=title target syntax but instead it
will generate an xpath expression. The generated xpath expression is
dependent to html layout (for exemple : //table/tr[4]/td[2]/a). To avoid
to have to correct the test if the layout changes in the future, we
tweak this kind of xpath expression into //a[contains(@href, '...') and
text()='title'].

The second case is an interesting feature of selenium that selenium-ide
can not generate it for us. For example, if you want to test sales order
creation and do some actions on the newly created order, you will have
to store the orderId during test execution and then refer to this
orderId in some urls. Selenium provides a memory during test execution
in which you can read/write variables. So in this case we have to review
the test generated by selenium-ide to include variables usage.

These cases are the only ones that require manual corrections if you use
selenium-ide to generate tests (corrections can be done via selenium-ide
editor interface).


Since six months, we have defined some best practices in selenium test
writing for OFBiz :

All our tests starts with the same three commands :
- logout of the application to force the creation of the new session and
avoid side effects due to a previous test (example: cart)
- login with admin or another user
- set locale

After each action, we check the presence (or not) of error message with
this kind of code :
<tr>
       <td>assertElementNotPresent</td>
       <td>//div[@class='errorMessage']</td>
       <td></td>
</tr>
It should be possible to enhance selenium-ide to automatically generate
this test like it does for assertTitle.

I hope these few explanations will help you to adopt selenium. Don't
hesitate to ask me questions about particular case you may have
encountered that is not described is this mail.

Peter

Le vendredi 26 janvier 2007 à 16:57 -0700, Tim Ruppert a écrit :

> Sorry I didn't answer this earlier - I've had great luck with Selenium
> and writing code directly.  The problem that I ran into was that I
> couldn't get the IDE to work well on the pages.  Maybe Peter can shed
> a little light on this with what he was describing earlier?
>
>
> I've used a ton of record/playback models and very few of them work
> reliably - especially the open source ones.  I am still working on
> getting together a webtest example for everyone to see so that we can
> compare the differences.
>
>
> Cheers,
> Tim
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
>
> o:801.649.6594
> f:801.649.6595
>
>



Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Peter Goron
In reply to this post by Jacques Le Roux
Le vendredi 26 janvier 2007 à 23:07 +0100, Jacques Le Roux a écrit :
> That's why I was pushing Selenium...
>

I know ;-)

This work has always been done with the objective to contribute it back
to OFBiz. It's just a matter of time and availability.

Peter

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Andrew Sykes
In reply to this post by Andrew Sykes
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 "[hidden email]"?
> > >
> > > 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 [hidden email] of course
> > > >
> > > > Jacques
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Jacques Le Roux" <[hidden email]>
> > > > To: <[hidden email]>
> > > > Cc: <[hidden email]>
> > > > Sent: Thursday, January 25, 2007 6:52 PM
> > > > Subject: Re: Selenium
> > > >
> > > >
> > > >> Please send a blank mesage with title unsubscribe (optionnal) to  
> > > >> [hidden email]
> > > >>
> > > >> Jacques
> > > >>
> > > >> ----- Original Message -----
> > > >> From: "PhantomsHorridC" <[hidden email]>
> > > >> To: <[hidden email]>; <[hidden email]>
> > > >> Sent: Thursday, January 25, 2007 5:19 PM
> > > >> Subject: Re: Selenium
> > > >>
> > > >>
> > > >>> REMOVE ME FROM THIS LIST
> > >
>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Chandresh Turakhia
In reply to this post by Tim Ruppert
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: [hidden email]
  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 "[hidden email]"?


        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 [hidden email] of course


          Jacques




          ----- Original Message -----
          From: "Jacques Le Roux" <[hidden email]>
          To: <[hidden email]>
          Cc: <[hidden email]>
          Sent: Thursday, January 25, 2007 6:52 PM
          Subject: Re: Selenium




            Please send a blank mesage with title unsubscribe (optionnal) to  
            [hidden email]


            Jacques


            ----- Original Message -----
            From: "PhantomsHorridC" <[hidden email]>
            To: <[hidden email]>; <[hidden email]>
            Sent: Thursday, January 25, 2007 5:19 PM
            Subject: Re: Selenium




              REMOVE ME FROM THIS LIST





Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Andrew Sykes
In reply to this post by Tim Ruppert
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: [hidden email]
>   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 "[hidden email]"?
>
>
>         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 [hidden email] of course
>
>
>           Jacques
>
>
>
>
>           ----- Original Message -----
>           From: "Jacques Le Roux" <[hidden email]>
>           To: <[hidden email]>
>           Cc: <[hidden email]>
>           Sent: Thursday, January 25, 2007 6:52 PM
>           Subject: Re: Selenium
>
>
>
>
>             Please send a blank mesage with title unsubscribe (optionnal) to  
>             [hidden email]
>
>
>             Jacques
>
>
>             ----- Original Message -----
>             From: "PhantomsHorridC" <[hidden email]>
>             To: <[hidden email]>; <[hidden email]>
>             Sent: Thursday, January 25, 2007 5:19 PM
>             Subject: Re: Selenium
>
>
>
>
>               REMOVE ME FROM THIS LIST
>
>
>
>
>
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply | Threaded
Open this post in threaded view
|

Re: Selenium

Andrew Sykes
In reply to this post by Tim Ruppert
Assuming an automated web browser type technology is the way to go for
testing...

What does everyone think of having an option to run a service
synchronously from webtools?

This would allow a lot of clever asserts from the test tool? Without the
need to make the tool dispatcher aware? Would this be an adequate
approach?
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

12