I know multiple attributes. Doesn;t work means not able to identify the object when i used :class property and the value.
Will try in combination with index although i doubt. Thanks On Thu, Oct 1, 2009 at 2:02 PM, Željko Filipin < [email protected]> wrote: > On Thu, Oct 1, 2009 at 10:19 AM, Pallavi Sharma <[email protected]> > wrote: > > I tried using class, but this doesn't work, only index worked. > > "doesn't work" does not tell me a lot. You can combine class and index: > > browser.text_field(:class => "dojoComboBox autoSelectBox", :index => 2).set > "some text" > > More information: > > http://wiki.openqa.org/display/WTR/Multiple+Attributes > > Željko > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
