Thank you very much for the reply, tried in his play, but it does not work. I write so:
ff.button(:id => "ctl00_SampleContent_ComboBox1_Button").click ff.li(:text =>"Whiskey").click ie.button(:id => "ctl00_SampleContent_ComboBox1_Button").click ie.li(:text, "Whiskey").click but click on the required element is not happening. I have Windows 7, watir, firewatir ^( On 20 дек, 13:09, Željko Filipin <[email protected]> wrote: > On Sun, Dec 19, 2010 at 1:59 PM, Igor Tiutiunnykov <[email protected]> > wrote: > > > select "Whiskey" from the dropdown list. > > The problem is that you are not dealing with select list, but with a button > and unordered list. This worked for me (Mac, Firefox, watir-webdriver): > > browser.button(:id => "ctl00_SampleContent_ComboBox1_Button").click > browser.li(:text => "Whiskey").click > > Ž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]
