[EMAIL PROTECTED] wrote on 15/12/2005 11:34:43 AM:
>
> Back in October, in the e-mail "Grand plans (0.7 and beyond)", Mike
> Williams wrote:
>
> > I really don't know much about the driven stuff, but I need to find out.
> > With people asking for things like conditionals and (*gasp*) "goto" in
> > the TestRunner, it's become obvious to me that we need to concentrate
> > more on driven-mode, and make it easier to use. DavidK is part-way
> > through a refactoring which should make it possible for drivers to
> > actually retrieve useful data from the browser, rather than just lobbing
> > it "assert" commands. It would be super-cool if we could support a
> > Watir-compatibile API.
>
> Has DavidK made any progress on this refactoring? We'd really like to use
> something like this for our Java Driven tests; ideally, I'd like to be
> able to ask the browser to send back the entire DOM so I could do various
> assertions on it on the Java side.
Sorry about the slow response, but I have been on leave and out of email contact for the last couple of weeks.
The work I did that Mike is referring to is to automatically generate assert, assertNot, verify, and verifyNot commands from any functions of the form getXXX() and getXXX(arg). My initial objective was to also automatically generate store, waitFor, and waitForNot commands from all of these methods, but I have not got around to it yet. The framework currently also automatically generates "get commands" from these methods, but I do not think anything can actually use "get commands" yet. If someone is interested in posting a patch that lets you do this, then I imagine there would be lots of people interested in it!
David Kemp
ThoughtWorks Australia Pty Ltd
http://www.thoughtworks.com
_______________________________________________ Selenium-devel mailing list Selenium-devel@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel