Al, Writing tests with Selenium is particularly easy if you install the SeleniumIDE (for FireFox). Writing a test is then as simple a clicking record.
The "Run Service" addition does allow you to add results to the session and then populate the next "Run Service" with them. In conjunction with Selenium, initial parameters would be recorded in the test case. If you need more flexibility, just pair up a bsh with the ftl where the test case is recorded - some work/thought is needed around this to make it work well. I should have clarified my comment about lowering the bar for newbies. In my opinion, there are two reasons why this is important. 1/ Automated testing is a really important thing for technology managers when they are evaluating, I'd hate to think that we lose adopters because checking automated testing features is just too much hassle. 2/ Selenium automation can be slowed down, a few people have mentioned to me via the ML and privately that they would like to be able to record a sequence of actions for didactic purposes (e.g. "how do I create a variant product?"), for this to be practical the bar needs to be very low! Let me know what you think. - Andrew On Wed, 2007-02-28 at 17:41 -0700, Al Byers wrote: > Andrew, > > Others may feel differently, but I thought it was sufficiently easy to > install and, to be honest, lowering the bar for newbies is not one of my > biggest priorities. I think it is more important to make it easier for > developers to write tests and so I would like to throw open the question of > what does that entail? I don't really know. I do know that in some cases, > "automation == ease". Are there places where we can automate things? > > I also have a question about remote service interface. I did not have time > to look at it in as much depth. I understand that you can select return > parameters to use in the input to the next service call, but is there a way > to specify input parameters to the initial service call? Can we make a > service call from Selenium? I just got as far as the one screen where the > user enters the services name and "pool". What is pool? > > How about take down? Is that something that you usually want to do in these > sorts of tests? I guess I mean rolling back transactions. Does OFBiz already > have some sort of cascading remove capability? I know that there are > "related remove" methods. > > -Al > > On 2/28/07, Andrew Sykes <[EMAIL PROTECTED]> wrote: > > > > Al, > > > > Thanks for the vote of confidence on Selenium, and generally for keeping > > this effort alive, very much appreciated - I'm getting a bit maxed out, > > so struggling to keep it going. > > > > My plan - for what it's worth, was to write an auto-install for Selenium > > to work around licensing of some of the libs while keeping the bar low > > for usage by newbies. > > > > Some util for unzipping will be needed for this, and if it was generic > > could be reused for compressing and uncompressing things like big entity > > xml data files. > > > > Any takers? > > > > - Andrew > > > > > > On Mon, 2007-02-26 at 19:01 -0700, Al Byers wrote: > > > David, > > > > > > Is Andrew Z going to be there? Will work on the content management > > system be > > > a suitable topic? If not I would like to work on automated testing or > > > project management. The work that Andrew Sykes did on integrating > > Selenium > > > with OFBiz is quite impressive ( > > > https://issues.apache.org/jira/browse/OFBIZ-680). It would be nice to > > see > > > some more work done on it. > > > > > > -Al > > > > > > On 2/26/07, David E. Jones <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > NOTE: This thread is mean to cover topics/objectives for the > > > > conference only. For information about registration please contact me > > > > directly. > > > > > > > > The Developers Conference starts one week from today, so I guess it's > > > > about time to start getting a final list of objectives put together. > > > > > > > > A number of different things have been discussed and I have a bunch > > > > of emails saved from these, but rather than sending out my list so > > > > far I'd like to start out first with a "brainstorming thread". > > > > > > > > So, please respond to this with whatever you think would be good to > > > > work on during the developers conference. > > > > > > > > Even if you aren't planning on or able to participate we want your > > > > feedback. Of course, as is always the case with a community driven > > > > project like OFBiz this is a meritocracy so those actually working on > > > > things (on-site or remotely) are the ones who will be deciding on > > > > what to work on. As I write that I actually feel silly, because how > > > > else could it be? > > > > > > > > -David > > > > > > > > > > > > > > -- > > Kind Regards > > Andrew Sykes <[EMAIL PROTECTED]> > > Sykes Development Ltd > > http://www.sykesdevelopment.com > > > > -- Kind Regards Andrew Sykes <[EMAIL PROTECTED]> Sykes Development Ltd http://www.sykesdevelopment.com
