At 11:03 PM 10/22/2005, boonhoo wrote: >I have some difficulty such as tampering with parameters in drop-down >lists, checkboxes or bypassing javascript validation controls on form >fields, as watir APIs don't seem to support changes to the html >elements (apart from text field values...)
Doing this kind of thing is pretty much outside the scope of the Watir API. However, the underlying COM API does allow these things to be modified, and that API can be accessed from Watir. In most cases, for a Watir element @o or ole_object represents the COM object which has all kinds of methods for destructively accessing it. Bret _____________________ Bret Pettichord www.pettichord.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
