Chaand,
Can you use the Internet Explorer developer toolbar, or some other tool that
can spy on the window, to get the id or name for the text field? When I'm
working with a modal window (using Ruby 1.8.7), I'm able to do the
following:
@browser = Watir::IE.new
@browser.modal_dialog(:title, "My Profile")
@browser.modal_dialog(:title, "My Profile").text_field(:id,
field_id).set(field_value)
@browser.modal_dialog(:title, "My Profile").text_field(:id,
field_id).fire_event("onblur")
Hope this helps,
Steve
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]