Selenium and OfBiz Integration

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

Selenium and OfBiz Integration

kranti
Hi,

I would like to know more on how much testing automation has been done for
OfBiz using Selenium

Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com
Reply | Threaded
Open this post in threaded view
|

Re: Selenium and OfBiz Integration

Erwan de FERRIERES
Le 04/05/2010 11:31, Kranti Agrawal a écrit :

> Hi,
>
> I would like to know more on how much testing automation has been done for
> OfBiz using Selenium
>
> Regards,
> Kranti Agrawal
> Student, IIIT Bangalore
> krantiagrawal.blogspot.com
>
Hi Kranti,

Here are some ressources which could be useful. Please let me know what
you are looking for exactly.

https://issues.apache.org/jira/browse/OFBIZ-3511
https://issues.apache.org/jira/browse/OFBIZ-2116

https://localhost:8443/webtools/control/selenium

Cheers,

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

Re: Selenium and OfBiz Integration

kranti
Hi Erwan,

Actually I have to do automation of testing on OfBiz using Selenium as a
part of a academic project.
I would like to know the areas where the scripting has not been done, so
that I can work on them.

Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com


On Tue, May 4, 2010 at 3:21 PM, Erwan de FERRIERES <
[hidden email]> wrote:

> Le 04/05/2010 11:31, Kranti Agrawal a écrit :
>
>  Hi,
>>
>> I would like to know more on how much testing automation has been done for
>> OfBiz using Selenium
>>
>> Regards,
>> Kranti Agrawal
>> Student, IIIT Bangalore
>> krantiagrawal.blogspot.com
>>
>>  Hi Kranti,
>
> Here are some ressources which could be useful. Please let me know what you
> are looking for exactly.
>
> https://issues.apache.org/jira/browse/OFBIZ-3511
> https://issues.apache.org/jira/browse/OFBIZ-2116
>
> https://localhost:8443/webtools/control/selenium
>
> Cheers,
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>
Reply | Threaded
Open this post in threaded view
|

Re: Selenium and OfBiz Integration

Erwan de FERRIERES
Le 04/05/2010 12:18, Kranti Agrawal a écrit :
> Hi Erwan,
>
> Actually I have to do automation of testing on OfBiz using Selenium as a
> part of a academic project.
> I would like to know the areas where the scripting has not been done, so
> that I can work on them.
>
So, you want to create new tests or help integrating selenium into OFBiz ?

if you want to add tests, just go to the jira 3511, I think those are
the only (public) existing. Then, you will see the not yet covered
areas, and then you will be able to add new tests.

HTH

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

Re: Selenium and OfBiz Integration

kranti
Hi Erwan,

Thanks for your help. I would like to know one more thing.
Taking the example of 'CreationProducts.html' in the Jira Issue, the
productIds, and all the other details are hard coded in the test case. Can
we pass these details as parameters?

Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com


On Tue, May 4, 2010 at 3:56 PM, Erwan de FERRIERES <
[hidden email]> wrote:

> Le 04/05/2010 12:18, Kranti Agrawal a écrit :
>
>  Hi Erwan,
>>
>> Actually I have to do automation of testing on OfBiz using Selenium as a
>> part of a academic project.
>> I would like to know the areas where the scripting has not been done, so
>> that I can work on them.
>>
>>  So, you want to create new tests or help integrating selenium into OFBiz
> ?
>
> if you want to add tests, just go to the jira 3511, I think those are the
> only (public) existing. Then, you will see the not yet covered areas, and
> then you will be able to add new tests.
>
> HTH
>
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>
Reply | Threaded
Open this post in threaded view
|

Re: Selenium and OfBiz Integration

Erwan de FERRIERES
Le 04/05/2010 13:25, Kranti Agrawal a écrit :
> Hi Erwan,
>
> Thanks for your help. I would like to know one more thing.
> Taking the example of 'CreationProducts.html' in the Jira Issue, the
> productIds, and all the other details are hard coded in the test case. Can
> we pass these details as parameters?
>

what are you planning to use to automate your tests or not ? always the
selenium IDE, or using it through JUnit ?

For testing with selenium RC, or use parameters in IDE, take a look at
this post :
http://saucelabs.com/blog/index.php/2010/03/selenium-tip-of-the-week-parametrizing-selenese-tests/

If you are using JUnit, as it's pure java, there is no problem to use
parameters.

Cheers,

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

Re: Selenium and OfBiz Integration

BJ Freeman
In reply to this post by kranti
do we have a wiki page on this yet
did not find any
if not how about putting this info on the wiki

=========================
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>


Erwan de FERRIERES sent the following on 5/4/2010 5:21 AM:

> Le 04/05/2010 13:25, Kranti Agrawal a écrit :
>> Hi Erwan,
>>
>> Thanks for your help. I would like to know one more thing.
>> Taking the example of 'CreationProducts.html' in the Jira Issue, the
>> productIds, and all the other details are hard coded in the test case.
>> Can
>> we pass these details as parameters?
>>
>
> what are you planning to use to automate your tests or not ? always the
> selenium IDE, or using it through JUnit ?
>
> For testing with selenium RC, or use parameters in IDE, take a look at
> this post :
> http://saucelabs.com/blog/index.php/2010/03/selenium-tip-of-the-week-parametrizing-selenese-tests/
>
>
> If you are using JUnit, as it's pure java, there is no problem to use
> parameters.
>
> Cheers,
>


Reply | Threaded
Open this post in threaded view
|

Re: Selenium and OfBiz Integration

BJ Freeman
In reply to this post by kranti
we have basic documentation in ofbiz.
http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML#N231EE

So how each can help is take one page and walk through it using the
selenium IDE plugin.
read
Creating New Tests :
put your html in
(component)/testdef/selenium
make a patch
add to
https://issues.apache.org/jira/browse/OFBIZ-4047



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

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


BJ Freeman sent the following on 5/4/2010 9:33 AM:

> do we have a wiki page on this yet
> did not find any
> if not how about putting this info on the wiki
>
> =========================
> 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>
>
>
> Erwan de FERRIERES sent the following on 5/4/2010 5:21 AM:
>> Le 04/05/2010 13:25, Kranti Agrawal a écrit :
>>> Hi Erwan,
>>>
>>> Thanks for your help. I would like to know one more thing.
>>> Taking the example of 'CreationProducts.html' in the Jira Issue, the
>>> productIds, and all the other details are hard coded in the test case.
>>> Can
>>> we pass these details as parameters?
>>>
>>
>> what are you planning to use to automate your tests or not ? always the
>> selenium IDE, or using it through JUnit ?
>>
>> For testing with selenium RC, or use parameters in IDE, take a look at
>> this post :
>> http://saucelabs.com/blog/index.php/2010/03/selenium-tip-of-the-week-parametrizing-selenese-tests/
>>
>>
>> If you are using JUnit, as it's pure java, there is no problem to use
>> parameters.
>>
>> Cheers,
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Selenium and OfBiz Integration

Jacques Le Roux
Administrator
In trunk when I use the URL below I get

2010-12-08 09:22:32,031 (http-0.0.0.0-28443-4) [     ControlServlet.java:233:ERROR]
---- exception report ----------------------------------------------------------
Error in request handler:
Exception: org.ofbiz.webapp.control.RequestHandlerException
Message: Unknown request [cmssite]; this request does not exist or cannot be called directly.
---- stack trace ---------------------------------------------------------------
org.ofbiz.webapp.control.RequestHandlerException: Unknown request [cmssite]; this request does not exist or cannot be called
directly.
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:143)

BTW, we currently have a problem with the online help in the trunk. It does not only crash, but it also consumes a lot of CPU
ressources. And I suspect that it's one of the reasons we have so much problems recently in demo. I spent a lof of time already on
this, if someone could have a look that would be great (reproductible locally)

Thanks

Jacques


From: "BJ Freeman" <[hidden email]>

> we have basic documentation in ofbiz.
> http://localhost:8080/cmssite/cms/APACHE_OFBIZ_HTML#N231EE
>
> So how each can help is take one page and walk through it using the selenium IDE plugin.
> read
> Creating New Tests :
> put your html in
> (component)/testdef/selenium
> make a patch
> add to
> https://issues.apache.org/jira/browse/OFBIZ-4047
>
>
>
> ========================
>
> 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
>
>
> BJ Freeman sent the following on 5/4/2010 9:33 AM:
>> do we have a wiki page on this yet
>> did not find any
>> if not how about putting this info on the wiki
>>
>> =========================
>> 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>
>>
>>
>> Erwan de FERRIERES sent the following on 5/4/2010 5:21 AM:
>>> Le 04/05/2010 13:25, Kranti Agrawal a écrit :
>>>> Hi Erwan,
>>>>
>>>> Thanks for your help. I would like to know one more thing.
>>>> Taking the example of 'CreationProducts.html' in the Jira Issue, the
>>>> productIds, and all the other details are hard coded in the test case.
>>>> Can
>>>> we pass these details as parameters?
>>>>
>>>
>>> what are you planning to use to automate your tests or not ? always the
>>> selenium IDE, or using it through JUnit ?
>>>
>>> For testing with selenium RC, or use parameters in IDE, take a look at
>>> this post :
>>> http://saucelabs.com/blog/index.php/2010/03/selenium-tip-of-the-week-parametrizing-selenese-tests/
>>>
>>>
>>> If you are using JUnit, as it's pure java, there is no problem to use
>>> parameters.
>>>
>>> Cheers,
>>>
>>
>>
>>
>