You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Erwan de FERRIERES <er...@nereide.biz> on 2009/12/01 18:36:29 UTC

selenium xml in OFBiz

Hi all,

while looking a bit deeper to the testtools component, I found that 
there was a library duplicated and another one which is not used, and 
both of them are not declared in the .classpath file.

json-lib-2.2.3-jdk15.jar is already present in webapp/lib
httpmime-4.0-beta1.jar os not called anywhere

What are the steps to follow ?

Brett,

we (some colleagues and myself) would like to improve the seleniumXML 
component. Have you made some code updates since last august ?
Have you advices to give us ?

Cheers,

-- 
Erwan

Re: selenium xml in OFBiz

Posted by Erwan de FERRIERES <er...@nereide.biz>.
Le 02/12/2009 10:27, Hans Bakker a écrit :
> corrected in rev: 886084. thanks for reporting.

Thanks, there will be more to come !

>
> Regards,
> Hans
>
> On Tue, 2009-12-01 at 12:32 -0700, Brett Palmer wrote:
>> Erwan,
>>
>> The latest update to the seleniumXml code was added to JIRA Sept. 23, 2009
>>
>> https://issues.apache.org/jira/browse/OFBIZ-2964
>>
>> Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).
>>
>> The duplicate libraries are probably a hold over from when the code was
>> hosted on sourceforge as an independent project.  We should remove the
>> duplicate libraries and update the appropriate build files.
>>
>> You could raise a JIRA ticket and Hans can probably remove the duplicate
>> libraries.
>>
>> Any improvements to the seleniumXml framework are encouraged.  I think what
>> we need now are more example test cases for existing OFBiz applications.
>>   Many of the utilities in the framework were created because of a specific
>> testing need and I'm sure there are a lot more to add.
>>
>> Let me know how I can help.
>>
>> Thanks,
>>
>>
>> Brett
>>
>> On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES<
>> erwan.de-ferrieres@nereide.biz>  wrote:
>>
>>> Hi all,
>>>
>>> while looking a bit deeper to the testtools component, I found that there
>>> was a library duplicated and another one which is not used, and both of them
>>> are not declared in the .classpath file.
>>>
>>> json-lib-2.2.3-jdk15.jar is already present in webapp/lib
>>> httpmime-4.0-beta1.jar os not called anywhere
>>>
>>> What are the steps to follow ?
>>>
>>> Brett,
>>>
>>> we (some colleagues and myself) would like to improve the seleniumXML
>>> component. Have you made some code updates since last august ?
>>> Have you advices to give us ?
>>>
>>> Cheers,
>>>
>>> --
>>> Erwan
>>>

-- 
Erwan

Re: selenium xml in OFBiz

Posted by Hans Bakker <ma...@antwebsystems.com>.
corrected in rev: 886084. thanks for reporting.

Regards,
Hans

On Tue, 2009-12-01 at 12:32 -0700, Brett Palmer wrote:
> Erwan,
> 
> The latest update to the seleniumXml code was added to JIRA Sept. 23, 2009
> 
> https://issues.apache.org/jira/browse/OFBIZ-2964
> 
> Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).
> 
> The duplicate libraries are probably a hold over from when the code was
> hosted on sourceforge as an independent project.  We should remove the
> duplicate libraries and update the appropriate build files.
> 
> You could raise a JIRA ticket and Hans can probably remove the duplicate
> libraries.
> 
> Any improvements to the seleniumXml framework are encouraged.  I think what
> we need now are more example test cases for existing OFBiz applications.
>  Many of the utilities in the framework were created because of a specific
> testing need and I'm sure there are a lot more to add.
> 
> Let me know how I can help.
> 
> Thanks,
> 
> 
> Brett
> 
> On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES <
> erwan.de-ferrieres@nereide.biz> wrote:
> 
> > Hi all,
> >
> > while looking a bit deeper to the testtools component, I found that there
> > was a library duplicated and another one which is not used, and both of them
> > are not declared in the .classpath file.
> >
> > json-lib-2.2.3-jdk15.jar is already present in webapp/lib
> > httpmime-4.0-beta1.jar os not called anywhere
> >
> > What are the steps to follow ?
> >
> > Brett,
> >
> > we (some colleagues and myself) would like to improve the seleniumXML
> > component. Have you made some code updates since last august ?
> > Have you advices to give us ?
> >
> > Cheers,
> >
> > --
> > Erwan
> >
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates


Re: selenium xml in OFBiz

Posted by Jacques Le Roux <ja...@les7arts.com>.
So they do like in OFBiz...

Jacques

From: "Brett Palmer" <br...@gmail.com>
Erwan,

There wasn't a specific reason for taking this snapshot.  I just did an
update from their trunk and ran the default build.  In the past they didn't
update their stable version very often and key browser defects were only
available in the trunk.  For example, they didn't support different FireFox
profiles being loaded in a previous stable release.  I found the fix in the
trunk.

If the latest stable release works than I think we should use that but
realize if you find defects in the selenium-rc API you may have to wait a
while for a fix.


Brett

On Thu, Dec 3, 2009 at 3:37 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:

> Brett,
>
> why did you use a snapshot version (1.0.2-SNAPSHOT) of selenium instead of
> the stable one (1.01) ? Is it just because of openqa which provides it as an
> archive ?
>
> Do you think it would be better to integrate it directly in OFBiz ?
>
> Cheers,
>
> Le 02/12/2009 22:29, Brett Palmer a écrit :
>
>> Erwan,
>>
>
> --
> Erwan
>



Re: selenium xml in OFBiz

Posted by Brett Palmer <br...@gmail.com>.
Erwan,

There wasn't a specific reason for taking this snapshot.  I just did an
update from their trunk and ran the default build.  In the past they didn't
update their stable version very often and key browser defects were only
available in the trunk.  For example, they didn't support different FireFox
profiles being loaded in a previous stable release.  I found the fix in the
trunk.

If the latest stable release works than I think we should use that but
realize if you find defects in the selenium-rc API you may have to wait a
while for a fix.


Brett

On Thu, Dec 3, 2009 at 3:37 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:

> Brett,
>
> why did you use a snapshot version (1.0.2-SNAPSHOT) of selenium instead of
> the stable one (1.01) ? Is it just because of openqa which provides it as an
> archive ?
>
> Do you think it would be better to integrate it directly in OFBiz ?
>
> Cheers,
>
> Le 02/12/2009 22:29, Brett Palmer a écrit :
>
>> Erwan,
>>
>
> --
> Erwan
>

Re: selenium xml in OFBiz

Posted by Erwan de FERRIERES <er...@nereide.biz>.
Brett,

why did you use a snapshot version (1.0.2-SNAPSHOT) of selenium instead 
of the stable one (1.01) ? Is it just because of openqa which provides 
it as an archive ?

Do you think it would be better to integrate it directly in OFBiz ?

Cheers,

Le 02/12/2009 22:29, Brett Palmer a écrit :
> Erwan,

-- 
Erwan

Re: selenium xml in OFBiz

Posted by Brett Palmer <br...@gmail.com>.
Erwan,

That sounds great.  Let me know if you get stuck with anything.  We are
doing a lot of AJAX work right now with Dojo and OFBiz.  Selenium has some
problems with heavy AJAX applications.  We are looking at some ways to make
it easier to test AJAX applications with Selenium and Dojo's DOH test
framework.

Another feature that would be nice is to create the proper XSLT script to
change default selenium from their IDE to selenium XML.  Then we could ask
the selenium project to include this in their IDE distribution.  This would
make it easier to use the IDE for recording tests and then converting them
to selenium XML.

Thanks,


Brett

On Wed, Dec 2, 2009 at 1:53 PM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:

> Brett,
>
> the logging selenium project is under the Apache2 licence, as we see it
> there : http://loggingselenium.sourceforge.net/license.html. But we have
> to migrate to JUnit 4 before, as it is required by this code.
> For junitreport, it is already used in OFBiz, to create the test reports
> (in the main build.xml file, l445). We just have to give him a well formated
> file to transform !
>
> The callByReflection seems to work nice, I will look in it deeper tomorrow.
>
> With my colleagues, we have a CI server running selenium tests every
> nights, at this address : http://selenium.neogia.org/ and an historical
> view at http://selenium.neogia.org/Final.html
> For the moment, it's only "pure" selenium tests, but we are willing to
> migrate them to seleniumXml, and then be more in phase and integrated with
> OFBiz trunk. And also give tests to the communauty.
>
> Cheers,
>
> Le 02/12/2009 20:05, Brett Palmer a écrit :
>
>  Erwan,
>>
>> For SeleniumRC commands that aren't mapped to a valid SeleniumXml element
>> we
>> added a method called SeleniumXml.callByReflection().  If the element name
>> matches exactly the SeleniumRC API call then it should be able to call the
>> SeleniumRC API for assertConfirmation.
>>
>> You could try using that first.  If you need the parameters for the API to
>> be in a specific order than you need to implement the assertConfirmation
>> as
>> another command in the Selenium XML.
>>
>> Logging is a problem.  I create a simple log4j implementation originally
>> but
>> it just uses the defaults and doesn't read any configuration files for
>> log4j.  Ideally it would be nice to call the ofbiz logging features (as
>> well
>> as other features) but this then requires that your test runs inside the
>> ofbiz/tomcat container.  I wanted to avoid that because of the slow load
>> times to run tests.
>>
>> I think using one of those logging report solutions that you mentioned
>> would
>> be a good idea.  We just need to be careful that it doesn't violate any of
>> the Apache license issues.  It would also be nice if the seleniumXml
>> logging
>> reports worked with whatever we decide to use with the OFBiz junit
>> reporting.
>>
>> Let me know what you think.
>>
>>
>> Brett
>>
>>
>>
>> On Wed, Dec 2, 2009 at 11:31 AM, Erwan de FERRIERES<
>> erwan.de-ferrieres@nereide.biz>  wrote:
>>
>>  Brett,
>>>
>>> I've been working on seleniums and tests, as you may have seen, all the
>>> day.
>>> I corrected one of the tests you gave to make it work, an element has got
>>> his name changed.
>>>
>>> Index: testdef/seleniumxml/example/example_new.xml
>>> ===================================================================
>>> --- testdef/seleniumxml/example/example_new.xml (révision 886173)
>>> +++ testdef/seleniumxml/example/example_new.xml (copie de travail)
>>> @@ -20,11 +20,11 @@
>>>   <waitForPageToLoad value="10000" />
>>>   <click locator="link=Items" />
>>>   <waitForPageToLoad value="10000" />
>>> -<type name="description" value="Item 1" />
>>> +<type name="AddExampleItem_description" value="Item 1" />
>>>   <type name="amount" value="100" />
>>>   <select locator="amountUomId" option="label=Weight: Stone (st)" />
>>>
>>> But there is another point : in rev. 815734 (september 2009), a new
>>> feature
>>> was added to OFBiz, and to the AddExampleItem form. It's a confirmation
>>> pop-up which appears when you click on the "add" button.
>>>
>>> With Selenium IDE, it's possible to manage a confirmation pop-up with the
>>> assertConfirmation command, which is not yet implemented in seleniumXml.
>>>
>>> Last thing for today : there is no logs created by seleniumXml. Could we
>>> think of something together, which could produce nice reports, like
>>> logging
>>> selenium<http://loggingselenium.sourceforge.net/>, or more basic like
>>> JUnitReport.
>>>
>>> I'm waiting for your comments.
>>>
>>> Cheers,
>>>
>>> Le 01/12/2009 20:32, Brett Palmer a écrit :
>>>
>>>  Erwan,
>>>
>>>>
>>>> The latest update to the seleniumXml code was added to JIRA Sept. 23,
>>>> 2009
>>>>
>>>> https://issues.apache.org/jira/browse/OFBIZ-2964
>>>>
>>>> Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).
>>>>
>>>> The duplicate libraries are probably a hold over from when the code was
>>>> hosted on sourceforge as an independent project.  We should remove the
>>>> duplicate libraries and update the appropriate build files.
>>>>
>>>> You could raise a JIRA ticket and Hans can probably remove the duplicate
>>>> libraries.
>>>>
>>>> Any improvements to the seleniumXml framework are encouraged.  I think
>>>> what
>>>> we need now are more example test cases for existing OFBiz applications.
>>>>  Many of the utilities in the framework were created because of a
>>>> specific
>>>> testing need and I'm sure there are a lot more to add.
>>>>
>>>> Let me know how I can help.
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Brett
>>>>
>>>> On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES<
>>>> erwan.de-ferrieres@nereide.biz>   wrote:
>>>>
>>>>  Hi all,
>>>>
>>>>>
>>>>> while looking a bit deeper to the testtools component, I found that
>>>>> there
>>>>> was a library duplicated and another one which is not used, and both of
>>>>> them
>>>>> are not declared in the .classpath file.
>>>>>
>>>>> json-lib-2.2.3-jdk15.jar is already present in webapp/lib
>>>>> httpmime-4.0-beta1.jar os not called anywhere
>>>>>
>>>>> What are the steps to follow ?
>>>>>
>>>>> Brett,
>>>>>
>>>>> we (some colleagues and myself) would like to improve the seleniumXML
>>>>> component. Have you made some code updates since last august ?
>>>>> Have you advices to give us ?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> --
>>>>> Erwan
>>>>>
>>>>>
>>>>>
>>>>  --
>>> Erwan
>>>
>>>
>>
> --
> Erwan
>

Re: selenium xml in OFBiz

Posted by Erwan de FERRIERES <er...@nereide.biz>.
Brett,

the logging selenium project is under the Apache2 licence, as we see it 
there : http://loggingselenium.sourceforge.net/license.html. But we have 
to migrate to JUnit 4 before, as it is required by this code.
For junitreport, it is already used in OFBiz, to create the test reports 
(in the main build.xml file, l445). We just have to give him a well 
formated file to transform !

The callByReflection seems to work nice, I will look in it deeper tomorrow.

With my colleagues, we have a CI server running selenium tests every 
nights, at this address : http://selenium.neogia.org/ and an historical 
view at http://selenium.neogia.org/Final.html
For the moment, it's only "pure" selenium tests, but we are willing to 
migrate them to seleniumXml, and then be more in phase and integrated 
with OFBiz trunk. And also give tests to the communauty.

Cheers,

Le 02/12/2009 20:05, Brett Palmer a écrit :
> Erwan,
>
> For SeleniumRC commands that aren't mapped to a valid SeleniumXml element we
> added a method called SeleniumXml.callByReflection().  If the element name
> matches exactly the SeleniumRC API call then it should be able to call the
> SeleniumRC API for assertConfirmation.
>
> You could try using that first.  If you need the parameters for the API to
> be in a specific order than you need to implement the assertConfirmation as
> another command in the Selenium XML.
>
> Logging is a problem.  I create a simple log4j implementation originally but
> it just uses the defaults and doesn't read any configuration files for
> log4j.  Ideally it would be nice to call the ofbiz logging features (as well
> as other features) but this then requires that your test runs inside the
> ofbiz/tomcat container.  I wanted to avoid that because of the slow load
> times to run tests.
>
> I think using one of those logging report solutions that you mentioned would
> be a good idea.  We just need to be careful that it doesn't violate any of
> the Apache license issues.  It would also be nice if the seleniumXml logging
> reports worked with whatever we decide to use with the OFBiz junit
> reporting.
>
> Let me know what you think.
>
>
> Brett
>
>
>
> On Wed, Dec 2, 2009 at 11:31 AM, Erwan de FERRIERES<
> erwan.de-ferrieres@nereide.biz>  wrote:
>
>> Brett,
>>
>> I've been working on seleniums and tests, as you may have seen, all the
>> day.
>> I corrected one of the tests you gave to make it work, an element has got
>> his name changed.
>>
>> Index: testdef/seleniumxml/example/example_new.xml
>> ===================================================================
>> --- testdef/seleniumxml/example/example_new.xml (révision 886173)
>> +++ testdef/seleniumxml/example/example_new.xml (copie de travail)
>> @@ -20,11 +20,11 @@
>>    <waitForPageToLoad value="10000" />
>>    <click locator="link=Items" />
>>    <waitForPageToLoad value="10000" />
>> -<type name="description" value="Item 1" />
>> +<type name="AddExampleItem_description" value="Item 1" />
>>    <type name="amount" value="100" />
>>    <select locator="amountUomId" option="label=Weight: Stone (st)" />
>>
>> But there is another point : in rev. 815734 (september 2009), a new feature
>> was added to OFBiz, and to the AddExampleItem form. It's a confirmation
>> pop-up which appears when you click on the "add" button.
>>
>> With Selenium IDE, it's possible to manage a confirmation pop-up with the
>> assertConfirmation command, which is not yet implemented in seleniumXml.
>>
>> Last thing for today : there is no logs created by seleniumXml. Could we
>> think of something together, which could produce nice reports, like logging
>> selenium<http://loggingselenium.sourceforge.net/>, or more basic like
>> JUnitReport.
>>
>> I'm waiting for your comments.
>>
>> Cheers,
>>
>> Le 01/12/2009 20:32, Brett Palmer a écrit :
>>
>>   Erwan,
>>>
>>> The latest update to the seleniumXml code was added to JIRA Sept. 23, 2009
>>>
>>> https://issues.apache.org/jira/browse/OFBIZ-2964
>>>
>>> Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).
>>>
>>> The duplicate libraries are probably a hold over from when the code was
>>> hosted on sourceforge as an independent project.  We should remove the
>>> duplicate libraries and update the appropriate build files.
>>>
>>> You could raise a JIRA ticket and Hans can probably remove the duplicate
>>> libraries.
>>>
>>> Any improvements to the seleniumXml framework are encouraged.  I think
>>> what
>>> we need now are more example test cases for existing OFBiz applications.
>>>   Many of the utilities in the framework were created because of a specific
>>> testing need and I'm sure there are a lot more to add.
>>>
>>> Let me know how I can help.
>>>
>>> Thanks,
>>>
>>>
>>> Brett
>>>
>>> On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES<
>>> erwan.de-ferrieres@nereide.biz>   wrote:
>>>
>>>   Hi all,
>>>>
>>>> while looking a bit deeper to the testtools component, I found that there
>>>> was a library duplicated and another one which is not used, and both of
>>>> them
>>>> are not declared in the .classpath file.
>>>>
>>>> json-lib-2.2.3-jdk15.jar is already present in webapp/lib
>>>> httpmime-4.0-beta1.jar os not called anywhere
>>>>
>>>> What are the steps to follow ?
>>>>
>>>> Brett,
>>>>
>>>> we (some colleagues and myself) would like to improve the seleniumXML
>>>> component. Have you made some code updates since last august ?
>>>> Have you advices to give us ?
>>>>
>>>> Cheers,
>>>>
>>>> --
>>>> Erwan
>>>>
>>>>
>>>
>> --
>> Erwan
>>
>

-- 
Erwan

Re: selenium xml in OFBiz

Posted by Brett Palmer <br...@gmail.com>.
Erwan,

For SeleniumRC commands that aren't mapped to a valid SeleniumXml element we
added a method called SeleniumXml.callByReflection().  If the element name
matches exactly the SeleniumRC API call then it should be able to call the
SeleniumRC API for assertConfirmation.

You could try using that first.  If you need the parameters for the API to
be in a specific order than you need to implement the assertConfirmation as
another command in the Selenium XML.

Logging is a problem.  I create a simple log4j implementation originally but
it just uses the defaults and doesn't read any configuration files for
log4j.  Ideally it would be nice to call the ofbiz logging features (as well
as other features) but this then requires that your test runs inside the
ofbiz/tomcat container.  I wanted to avoid that because of the slow load
times to run tests.

I think using one of those logging report solutions that you mentioned would
be a good idea.  We just need to be careful that it doesn't violate any of
the Apache license issues.  It would also be nice if the seleniumXml logging
reports worked with whatever we decide to use with the OFBiz junit
reporting.

Let me know what you think.


Brett



On Wed, Dec 2, 2009 at 11:31 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:

> Brett,
>
> I've been working on seleniums and tests, as you may have seen, all the
> day.
> I corrected one of the tests you gave to make it work, an element has got
> his name changed.
>
> Index: testdef/seleniumxml/example/example_new.xml
> ===================================================================
> --- testdef/seleniumxml/example/example_new.xml (révision 886173)
> +++ testdef/seleniumxml/example/example_new.xml (copie de travail)
> @@ -20,11 +20,11 @@
>   <waitForPageToLoad value="10000" />
>   <click locator="link=Items" />
>   <waitForPageToLoad value="10000" />
> -  <type name="description" value="Item 1" />
> +  <type name="AddExampleItem_description" value="Item 1" />
>   <type name="amount" value="100" />
>   <select locator="amountUomId" option="label=Weight: Stone (st)" />
>
> But there is another point : in rev. 815734 (september 2009), a new feature
> was added to OFBiz, and to the AddExampleItem form. It's a confirmation
> pop-up which appears when you click on the "add" button.
>
> With Selenium IDE, it's possible to manage a confirmation pop-up with the
> assertConfirmation command, which is not yet implemented in seleniumXml.
>
> Last thing for today : there is no logs created by seleniumXml. Could we
> think of something together, which could produce nice reports, like logging
> selenium <http://loggingselenium.sourceforge.net/>, or more basic like
> JUnitReport.
>
> I'm waiting for your comments.
>
> Cheers,
>
> Le 01/12/2009 20:32, Brett Palmer a écrit :
>
>  Erwan,
>>
>> The latest update to the seleniumXml code was added to JIRA Sept. 23, 2009
>>
>> https://issues.apache.org/jira/browse/OFBIZ-2964
>>
>> Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).
>>
>> The duplicate libraries are probably a hold over from when the code was
>> hosted on sourceforge as an independent project.  We should remove the
>> duplicate libraries and update the appropriate build files.
>>
>> You could raise a JIRA ticket and Hans can probably remove the duplicate
>> libraries.
>>
>> Any improvements to the seleniumXml framework are encouraged.  I think
>> what
>> we need now are more example test cases for existing OFBiz applications.
>>  Many of the utilities in the framework were created because of a specific
>> testing need and I'm sure there are a lot more to add.
>>
>> Let me know how I can help.
>>
>> Thanks,
>>
>>
>> Brett
>>
>> On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES<
>> erwan.de-ferrieres@nereide.biz>  wrote:
>>
>>  Hi all,
>>>
>>> while looking a bit deeper to the testtools component, I found that there
>>> was a library duplicated and another one which is not used, and both of
>>> them
>>> are not declared in the .classpath file.
>>>
>>> json-lib-2.2.3-jdk15.jar is already present in webapp/lib
>>> httpmime-4.0-beta1.jar os not called anywhere
>>>
>>> What are the steps to follow ?
>>>
>>> Brett,
>>>
>>> we (some colleagues and myself) would like to improve the seleniumXML
>>> component. Have you made some code updates since last august ?
>>> Have you advices to give us ?
>>>
>>> Cheers,
>>>
>>> --
>>> Erwan
>>>
>>>
>>
> --
> Erwan
>

Re: selenium xml in OFBiz

Posted by Erwan de FERRIERES <er...@nereide.biz>.
Brett,

I've been working on seleniums and tests, as you may have seen, all the day.
I corrected one of the tests you gave to make it work, an element has 
got his name changed.

Index: testdef/seleniumxml/example/example_new.xml
===================================================================
--- testdef/seleniumxml/example/example_new.xml	(révision 886173)
+++ testdef/seleniumxml/example/example_new.xml	(copie de travail)
@@ -20,11 +20,11 @@
    <waitForPageToLoad value="10000" />
    <click locator="link=Items" />
    <waitForPageToLoad value="10000" />
-  <type name="description" value="Item 1" />
+  <type name="AddExampleItem_description" value="Item 1" />
    <type name="amount" value="100" />
    <select locator="amountUomId" option="label=Weight: Stone (st)" />

But there is another point : in rev. 815734 (september 2009), a new 
feature was added to OFBiz, and to the AddExampleItem form. It's a 
confirmation pop-up which appears when you click on the "add" button.

With Selenium IDE, it's possible to manage a confirmation pop-up with 
the assertConfirmation command, which is not yet implemented in seleniumXml.

Last thing for today : there is no logs created by seleniumXml. Could we 
think of something together, which could produce nice reports, like 
logging selenium <http://loggingselenium.sourceforge.net/>, or more 
basic like JUnitReport.

I'm waiting for your comments.

Cheers,

Le 01/12/2009 20:32, Brett Palmer a écrit :
> Erwan,
>
> The latest update to the seleniumXml code was added to JIRA Sept. 23, 2009
>
> https://issues.apache.org/jira/browse/OFBIZ-2964
>
> Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).
>
> The duplicate libraries are probably a hold over from when the code was
> hosted on sourceforge as an independent project.  We should remove the
> duplicate libraries and update the appropriate build files.
>
> You could raise a JIRA ticket and Hans can probably remove the duplicate
> libraries.
>
> Any improvements to the seleniumXml framework are encouraged.  I think what
> we need now are more example test cases for existing OFBiz applications.
>   Many of the utilities in the framework were created because of a specific
> testing need and I'm sure there are a lot more to add.
>
> Let me know how I can help.
>
> Thanks,
>
>
> Brett
>
> On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES<
> erwan.de-ferrieres@nereide.biz>  wrote:
>
>> Hi all,
>>
>> while looking a bit deeper to the testtools component, I found that there
>> was a library duplicated and another one which is not used, and both of them
>> are not declared in the .classpath file.
>>
>> json-lib-2.2.3-jdk15.jar is already present in webapp/lib
>> httpmime-4.0-beta1.jar os not called anywhere
>>
>> What are the steps to follow ?
>>
>> Brett,
>>
>> we (some colleagues and myself) would like to improve the seleniumXML
>> component. Have you made some code updates since last august ?
>> Have you advices to give us ?
>>
>> Cheers,
>>
>> --
>> Erwan
>>
>

-- 
Erwan

Re: selenium xml in OFBiz

Posted by Brett Palmer <br...@gmail.com>.
Erwan,

The latest update to the seleniumXml code was added to JIRA Sept. 23, 2009

https://issues.apache.org/jira/browse/OFBIZ-2964

Hans Bakker committed it to the trunk in revision 819863 (Sept. 29).

The duplicate libraries are probably a hold over from when the code was
hosted on sourceforge as an independent project.  We should remove the
duplicate libraries and update the appropriate build files.

You could raise a JIRA ticket and Hans can probably remove the duplicate
libraries.

Any improvements to the seleniumXml framework are encouraged.  I think what
we need now are more example test cases for existing OFBiz applications.
 Many of the utilities in the framework were created because of a specific
testing need and I'm sure there are a lot more to add.

Let me know how I can help.

Thanks,


Brett

On Tue, Dec 1, 2009 at 10:36 AM, Erwan de FERRIERES <
erwan.de-ferrieres@nereide.biz> wrote:

> Hi all,
>
> while looking a bit deeper to the testtools component, I found that there
> was a library duplicated and another one which is not used, and both of them
> are not declared in the .classpath file.
>
> json-lib-2.2.3-jdk15.jar is already present in webapp/lib
> httpmime-4.0-beta1.jar os not called anywhere
>
> What are the steps to follow ?
>
> Brett,
>
> we (some colleagues and myself) would like to improve the seleniumXML
> component. Have you made some code updates since last august ?
> Have you advices to give us ?
>
> Cheers,
>
> --
> Erwan
>