On Feb 22, 4:07 am, sridhar249 <[email protected]> wrote:
> I have the a ruby script (you can get it fromhttp://tinyurl.com/82q6cdp),
> which will login to my application and select a dropdown option on a
> page. When the dropdown option is changed manually it will refresh the
> calendar based on the dropdown option selected. But when i try to
> change the dropdown option through watir, it does not refresh the
> calendar. It just changed the dropdown option without refreshing the
> calendar.
> I would like the calendar to refresh based on the
> dropdown option selected. Please help!
>
> You can run my ruby script directly to replicate the problem. My ruby
> script can be download fromhttp://tinyurl.com/82q6cdp. Thanks in
> advance!
try firing the 'onchange' event at the dropdown (select list?) after
you have made the selection
browser.select_list(:how, 'what').fire_event('onchange')
--
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]