Tim, I had a little trouble applying the patch. First I had to fix the controller.xml file to have the correct seleniumHome link. Now I'm getting the following error BSH script error.
org.ofbiz.base.util.GeneralException: Error rendering screen [component://webtools/widget/SeleniumScreens.xml#SeleniumHome]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://webtools/webapp/webtools/WEB-INF/actions/selenium/selenium.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script at [component://webtools/webapp/webtools/WEB-INF/actions/selenium/selenium.bsh], line [51]: Sourced file: component://webtools/webapp/webtools/WEB-INF/actions/selenium/selenium.bsh : Error in method invocation: No args method getWebTestList() not found in class'org.ofbiz.testtools.ModelTestSuite' : at Line: 51 : in file: component://webtools/webapp/webtools/WEB-INF/actions/selenium/selenium.bsh : modelTestSuite .getWebTestList ( ) Brett On 3/6/07, Tim Ruppert <[EMAIL PROTECTED]> wrote:
That's great, Brett - thanks. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Mar 6, 2007, at 4:55 PM, Brett Palmer wrote: I'll take a look at it tonight. Brett On 3/6/07, Tim Ruppert <[EMAIL PROTECTED]> wrote: I know that some of you (specifically Andrew Sykes and Brett Palmer on this topic) have mentioned getting involved in portions of the developers conference remotely - and I think I've found a place where we could use your help. Last night, we worked with Andrew's Selenium patch in here - https:// issues.apache.org/jira/browse/OFBIZ-680 - and it's all working. Just as an aside, I posted an update that takes into account that people often do not have the username and password remembered in their browser - as well as fixing some offset issues and slightly cleaning up the HTML in main.ftl. What we've found is that we'd like to be able to run Selenium in an automated fashion as well as seeing the really cool GUI that Andrew contributed. I have some links here should get us started in this direction - and would love it if Andrew or Brett (or anyone else for that matter) could take a stab at this while we're doing some Webtest Spikes today. Brief documentation of steps needed to run Selenium RC and Selenese - http://wiki.openqa.org/display/SRC/Selenium-RC+and+Continuous +Integration Selenium RC Installation and usage documentation - About - http://www.openqa.org/selenium-rc/ - Tutorial - http://www.openqa.org/selenium-rc/tutorial.html Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595