Željko, Thank you!
This is what the problem is
Browser: IE 7 (I tried on IE 8 on a different machine , it did not
work)
OS:  Windows XP
Watir 1.6.7
Ruby 1.8.6

I go to page: 
http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html/

Action:  Selecting a value from dropdown

mybrowser = Watir::Browser.new
mybrowser.goto("http://jquery-ui.googlecode.com/svn/branches/labs/
selectmenu/index.html/")
mybrowser.select_list(:id,"speedC").select("Faster")
mybrowser.select_list(:id,"speedC").selected_options

selected_options method returns the value selected (['Faster'] in this
case, but ui does not reflect the change, it works fine for Sharma who
replied earlier, I am out of wits, I really do not understand what the
issue is :-(

I am expecting the value in the dropdown to change to 'Faster', but
for me it does not for what ever reason, so I tried fire_event like
that on the link for dropping down the values, nothing gets done by
this

mybrowser.link(:id,'speedC-button').span(:class,'ui-selectmenu-
status').fire_event("onClick")

On Jan 4, 4:04 am, Željko Filipin <[email protected]>
wrote:
> On Mon, Jan 3, 2011 at 10:48 PM, jv-watir <[email protected]> wrote:
> > Any ideas, any one else?
>
> I did not reply because it is not clear to me what the problem is. I will
> reply if you get really explicit.
>
> Example: on this page, I have done that, I expected something to happen, but
> something else happened. Please provide link to the page (or relevant HTML)
> and your Watir code.
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them

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

Reply via email to