I tried

$b.li(:class, "Option 2").click

But I still got the same error.



On May 19, 9:27 am, Željko Filipin <zeljko.fili...@wa-research.ch>
wrote:
> On Wed, May 19, 2010 at 4:13 PM, tester86 <sagar.am...@gmail.com> wrote:
> > <ul class="select_options">
> >  <li class= "selected highlighted " data-value="Option 1"> This is
> > the option that is selected by default
> >  <li class= " " data-value="Option 2">
> >  <li class= " " data-value="Option 3">
> > </ul>
>
> This is not select list, this is unordered list.
>
> Try something like this:
>
> browser.li(how, what).click
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them
> vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi
>
> --
> Before posting, please readhttp://watir.com/support. In short: search before 
> you ask, be nice.
>
> You received this message because you are subscribed 
> tohttp://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: watir-general+unsubscr...@googlegroups.com

-- 
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: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to