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<
[email protected]> 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