Integrating junit test suite in ofbiz framework to do selenium testing

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

Integrating junit test suite in ofbiz framework to do selenium testing

soumya jyoti guru
Hi All,
         I am trying to integrate junit test-suite in the ofbiz
framework for selenium testing.Can anybody help me by providing me the
detailed steps, how we can include our own junit test-suite in the
framework.If there is any included help in ofbiz for selenium then
please provide me with the link.
regards
Soumya
Reply | Threaded
Open this post in threaded view
|

Re: Integrating junit test suite in ofbiz framework to do selenium testing

Erwan de FERRIERES
Le 24/02/2011 11:59, soumya jyoti guru a écrit :
> Hi All,
>           I am trying to integrate junit test-suite in the ofbiz
> framework for selenium testing.Can anybody help me by providing me the
> detailed steps, how we can include our own junit test-suite in the
> framework.If there is any included help in ofbiz for selenium then
> please provide me with the link.
> regards
> Soumya
>
Hi,

there is nothing for using selenium this way.
you may take a look in the help, under the Framework webtools category.

Cheers,

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Integrating junit test suite in ofbiz framework to do selenium testing

BJ Freeman
In reply to this post by soumya jyoti guru
search for SeleniumXml if this link does not get you there.
http://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML#N232B1
just below that is
The OFBiz Test Tools Introduction.
http://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML#N2338A

i am working on building Junit based on black box input and output
automatically as part of the project manager.

looking forward to you contribution.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


soumya jyoti guru sent the following on 2/24/2011 2:59 AM:
> Hi All,
>           I am trying to integrate junit test-suite in the ofbiz
> framework for selenium testing.Can anybody help me by providing me the
> detailed steps, how we can include our own junit test-suite in the
> framework.If there is any included help in ofbiz for selenium then
> please provide me with the link.
> regards
> Soumya
>

Reply | Threaded
Open this post in threaded view
|

Re: Integrating junit test suite in ofbiz framework to do selenium testing

Rene Scheibe
In reply to this post by soumya jyoti guru
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/24/2011 11:59 AM, soumya jyoti guru wrote:
> Hi All,
>          I am trying to integrate junit test-suite in the ofbiz
> framework for selenium testing.Can anybody help me by providing me the
> detailed steps, how we can include our own junit test-suite in the
> framework.If there is any included help in ofbiz for selenium then
> please provide me with the link.
Why would you want to integrate your Selenium tests into OFBiz? I would
not recommend it.

These tests are functional tests and therefore need not and should not
be mixed with the application they are testing. Sure OFBiz provides a
way to specify Selenium tests with their Selenium-XML DSL but I do not
recommend this as this prevents code reusage.

Just run your JUnit-driven Selenium tests with the junit Ant target.
That's it. Plain and simple. And the benefit of this is approach is that
you can use the full power of JUnit4 (OFBiz still only supports JUnit3
for all its test infrastructure).

Regards,
René Scheibe
- --
René Scheibe * [hidden email]
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock
Sitz: Unterföhring * Amtsgericht München * HRB 135082
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1mxDwACgkQUXs9EHvIuCr7DwCfWO3blp9g3+bZdm1T2st2tmNb
31gAn3MMH2M/aEBydbPp+cJt9MBaqJkt
=HymD
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Integrating junit test suite in ofbiz framework to do selenium testing

Paul Foxworthy
In reply to this post by soumya jyoti guru
Hi Soumya,

See also Brett Palmer's presentation from ApacheCon 2008 on Selenium with Ofbiz at

kenfuse.com/files/ApacheCon2008_SeleniumXml.pdf

Cheers

Paul Foxworthy

soumya jyoti guru wrote
Hi All,
         I am trying to integrate junit test-suite in the ofbiz
framework for selenium testing.Can anybody help me by providing me the
detailed steps, how we can include our own junit test-suite in the
framework.If there is any included help in ofbiz for selenium then
please provide me with the link.
regards
Soumya
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/