Christopher Rasch wrote: >> Both of these tickets relate to improving the existing modal web dialog >> support (showModalDialog). At this point, I no longer have plans to work >> on them and no one else has volunteered to work on them. Probably the >> biggest problem with our current support for showModalDialog is that it >> only works with Ruby 1.8.2. Fixing this would require that IEDialog.dll >> be rewritten as an activex component. >> > > Doesn't WET already handle modal dialogs pretty well? Yes, i believe it does. > What would be > involved in integrating WET's functionality into Watir? > Some programming and testing. And apparently more than any one is willing to do. >>> Provide cleaner interface and more reliable support for modal windows >>> dialogs (i.e. replace winClicker.rb) >>> http://jira.openqa.org/browse/WTR-4 >>> >> Although this is desirable and many people have talked about helping >> with this, we've seen few actual contributions. Personally, i have >> almost always found ways to avoid these dialogs, so I have never had >> much motivation to fix this myself. >> > > I would like to help, but I don't feel competent enough yet to do any > good. I'd imagine that others probably feel the same way. Perhaps it > would help attract more help if there were some tutorials on the > architecture of watir? > First of all, this code has nothing to do with "the architecture of watir". It is basically standalone and separate.
Your suggestion seems to assume that I am trying to attract more help. Actually, I'm mostly inclined to remove this code from Watir or else move to a separate contrib project. I think the best way to attract support would be be make it clear that this is abandoned code. For the record, i do not have a good understanding of this code. I've never worked on it. And i don't use it. But if you are able to convince somebody to write up a tutorial on how this code works (or doesn't) then that would be great. Just don't look at me. At one point (like when i opened the jira ticket) i thought i might eventually get around to cleaning up this code. I no longer think this is likely. >> The show_modal_dialog support in watir 1.5 is specific to IE. So no. It >> would be handy to have a better windows library for handling general >> windows dialogs, and if we had that, then it would also help for firefox >> -- you could use it there too, although I know that Angrez is focussing >> on features that would not be platform specific. All of the mechanisms >> that we currently using in Watir (autoit, winclicker, win32api) are >> windows specific, so known of them would be migrated to other platforms. >> > > Is there a design document for what such a library should have? > No i don't believe so. _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general