On 7/13/06, Dave Hoover <[EMAIL PROTECTED]> wrote:
> And even then, i suspect that each implementation would have some additional
> features that were not part of the standard API.

No doubt.  For example, SafariWatir has close and quit methods.  One
closes the window, while the other quits the application.  Another
example: SafariWatir has an alert method that returns an AlertWindow
that has a click method.  :-)

I put together a half-baked implementation of this in watir/ie in trunk (watir/dialog.rb, watir/unittests/dialog_test.rb).

I called my method "dialog" instead of "alert". I guess this is a good question for the community -- what should this method be called? I don't think anyone is using this method and i have no emotional attachment.

With mine this is how you click an alert button:

ie.dialog.button("OK").click

Comments?

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to