I have observed that Selecte Value is changing for select_list but UI
is not changing with the value, when I get the selected_option for the
dropdown I am getting the value, in order to see the value selected I
need to refresh the page(unfortunately I cannot refresh the page in
the real application).  I tried firing events onchange for the
select_list, onclick for the link in the span without success.


On Dec 29, 10:13 am, jv-watir <[email protected]> wrote:
> Thank you, Sharma!  It still did not work for me, may I know the Watir
> version and IE version that you are using.  I am using IE7 and Watir
> 1.6.5, I tried select_lists fileC and speedC.
>
> JV
>
> On Dec 28, 7:40 pm, Sharma Vishav <[email protected]> wrote:
>
>
>
> > Hi JV,
>
> > I could select items from the select lists on the example url u have sent,
> > see code below
>
> > irb(main):001:0> require 'Watir'
> > => true
> > irb(main):002:0> ie=Watir::Browser.new
> > => #<Watir::IE:0x465e95c url="about:blank" title="">
> > irb(main):005:0> 
> > ie.goto("http://jquery-ui.googlecode.com/svn/branches/labs/sele
> > ctmenu/index.html/")
> > => 0.75
> > irb(main):006:0> optgroups=ie.select_list(:id,"filesC")
> > => #<Watir::SelectList:0x3c36768 located=false how=:id what="filesC">
> > irb(main):008:0> optgroups.set("jQuery Logo")
> > => nil
> > irb(main):010:0> optgroups.set("Some other unknown file")
> > => nil
> > irb(main):045:0> c=ie.select_list(:id,"filesB")
> > => #<Watir::SelectList:0x4c087f4 located=false how=:id what="filesB">
> > irb(main):046:0> c.options
> > => ["John Resig Podcast", "Scott Gonzales Video", "jQuery RSS XML"]
>
> > On Wed, Dec 29, 2010 at 4:28 AM, jv-watir <[email protected]> wrote:
> > > The application that I am testing changing some of the UI, as part of
> > > this effort previous dropdowns are being replaced with JQuery UI
> > > select menu as you can see dropdown style combo box on
> > >http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html/
> > > Watir does not recognize it, I tried picking from hidden Select,
> > > clicking on link in the Li for corresponding UL and firing event,
> > > Watir is not recognizing.
> > > Any ideas?
>
> > > Thanks
> > > JV
>
> > > --
> > > Before posting, please readhttp://watir.com/support. In short: search
> > > before you ask, be nice.
>
> > > [email protected]
> > >http://groups.google.com/group/watir-general
> > > [email protected] Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

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