hi, aidy For the current version, the watir support the hash data for the multiple attributes, but, I fail to execute this statement ie.text_field(:name => "test").set "abb" when only specify one attribute. In fact, I want to the hash varible for parameter transferring after package it as a function and bring more convenience for the users, do you think? have a similar way to solve it?
thanks -Wiston 2008/10/7 aidy lewis <[EMAIL PROTECTED]> > > On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote: > > > ie.text_field(:name => "test").set "abb", > > If you are just hooking onto one attribute use > ie.text_field(:name, "test").set "abb" > > for > 1 > ie.text_field(:name => "test", :id => "aidy").set "abb" > > or > > ie.text_field(:name => "test", :index=> 1).set "abb" > > or something like that > > Aidy > > > > Aidy > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
