Since the hackathon I have been working with Selenium RC to see how it
could be integrated into ofbiz auto builds for regression testing.
Here is a summary of my findings and some recommendations.
1. Selenium RC can definitely be used as a simple ant build (e.g. Ant run-test)
2. Selenium RC does require jdk 1.5 so this may be a problem for some.
3. Requires some path settings to point to the appropriate browser for testing.
Recommendations
1. You can write your selenium tests in Java for the auto tests, but
I would recommend we create an ofbiz selenium test driver to read a
file with selenium test commands. This file would probably be a
simple XML file with selenium commands and expected responses.
2. We could use the test driver from step 1 and configure the tests in
the ofbiz-component.xml file with other automated tests. The element
would include the path for the test script and execute with the other
configured tests.
I'll continue to play with selenium RC and let the group know what I
find. If you have any thoughts on the above proposal post them to the
dev list.
Thanks,
Brett