On Thu, Jul 1, 2010 at 12:03 PM, naresh <[email protected]> wrote: > ie.cell(:class => " rich-calendar-input rich-calendar- > button",:text=>"Monday",:text=>"March").click;
Several problems: - leading space in " rich-calendar..." - you are saying that there is cell with exactly text "Monday" and "March" - a cell can have exactly one of two strings, not both - if both texts should be in the same cell, try this ie.cell(:class => "rich-calendar-input rich-calendar-button",:text=>/Monday.*March/).click; Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
