Dan Fabulich <[EMAIL PROTECTED]> wrote on 04/01/2006 01:14:37 PM:

>
> David Kemp wrote:
>
> >> Back in October, in the e-mail "Grand plans (0.7 and beyond)", Mike
> >> Williams wrote:
> >>
> >>> 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.
>
> > 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!
>
> I don't think I understand what you're saying here.  Can I ask a few
> questions to clarify?
>
> 1) I've only ever used the Java driver, but it was my understanding that
> some of the drivers (Ruby, at least, and probably Plone) already
> auto-generated their commands based on the selenium-api _javascript_, but
> that some of the drivers don't do that (Java, at least, and probably
> .NET).

By "auto-generation", I was referring to the generation of various commands from simple _javascript_ methods.  I think that what you are referring to is the automatic generation of driver support for these commands, which I believe is a completely unrelated issue.

>
> Is it true that Ruby/Plone auto-generate driver commands based on the
> _javascript_ but Java/.NET don't?
>
> 2) As far as you know, do the "get" commands work on all drivers?  If not,
> on which drivers do you think they're broken?  On which drivers do you
> think they work?
>


I have really only ever used the HTML table mode of Selenium, and so I cannot say if they work with any of the drivers.
 
>
> 3) Peering through FishEye, It looks like most of this work happened in
> August, and it looks like that code got in to 0.6.0.  Are you still
> actively working on this?  Is it safe for me to wander in and start
> fooling around with it?
>

That is an embarrassingly long time ago.  I do plan to revisit this stuff, but please feel free to take over and extend or improve it!

Cheers,
David
_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel

Reply via email to