Jacopo, Your recommendation sounds good. Selenium has been moving away from their Selenium RC technology which is the foundation for SeleniumXML. Instead they are moving to their new Selenium Web Driver which works a lot like SeleniumXML.
Unless ofbiz users are actively developing SeleniumXml scripts it may be easier to deprecate the SeleniumXml code and have users contribute their native Selenium tests as you describe. As one of the original creators of the SeleniumXml code, I feel a little bad that I haven't helped a lot to maintain and improve this framework. Unfortunately, my time has been in created AJAX Dojo applications with ofbiz and Selenium still doesn't have a very good solution for AJAX applications. We have been using Dojo's DOH testing framework for our screens as it allows it to tie into the AJAX features of the screens. I would be interested in hearing what other developers are using for functional testing their web applications. Brett On Thu, Feb 23, 2012 at 9:05 AM, Jacopo Cappellato < [email protected]> wrote: > Good day everyone, > > I would love to know from the persons that are using the seleniumxml > integration available in framework/testools their opinion about this tools; > specifically I am interested to know: > > 1) how you use it (settings, platform, browser) and if it is functional > and useful > 2) the advantages you see in using this OFBiz specific integration rather > than using the standard Selenium tools > ** do you find it easier to setup this component rather than the standard > Selenium? > ** is it easier to write tests in the custom xml syntax provided by > seleniumxml? or do you rather create them (as suggested by the > documentation in framework/testools) using one of the standard browser > plugins available for Selenium and then convert to xml using the custom > script in OFBiz? > 3) are you willing to contribute the tests you are using? are they generic > enough to be contributed back to the project? > > I am asking #1 and #2 because I feel that we could replace all the custom > code we have for seleniumxml (and required jar files) with a good document > that explains how to setup Selenium (no special integration is actually > required for ofbiz) and then, instead of writing/maintaining test scripts > in this custom xml formal, we could simply accept and commit standard > selenium test scripts (in my opinion users will be facilitated to > contribute them without the need to learn a new syntax); we could also > provide an ant script to run all of them. In this way we could also use a > more recent version of Selenium (web driver). > > Thanks for your time, > > Jacopo > >
