Please refresh my memory of CGI and forms. Are the names important, or the id's?
Somebody jump in if necessary, but to Watir, names and ids are simply handles to the widgets on the page. There is a WWW specification that every id on each page is required to be unique for that page, but this is widely ignored in practice.
If so, that might explain why the tests would neglect something not
used by CGI. All legacy forms have unique names, so if the names work
then Watir will usually work. Except for nitwits like me who refuse to
learn basic CGI before leaping into naughty topics like AJAX!
Nope, no nitwits involved, no CGI involved. To me, this looks like a case of unit tests that should exist but which don't. If you haven't yet, take a look at the scripts for forms in C:\ruby\lib\ruby\gems\1.8\gems\watir- 1.5.0.945\unittests and see if you agree.
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general