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
-~----------~----~----~----~------~----~------~--~---

Reply via email to