Try $ie.select_list(:name, list2).select(1)
On 6/22/07, Tiffany Fodor [EMAIL PROTECTED] wrote:
Hi all!
I have a group of three tiered select lists - the first one defines what
values will appear in the second and then the value selected in the second
defines what values will appear in the
We use select in our tests. It's a method in the Watir::SelectList class.
As usual, there is more than one way to solve the task.
Cheers,
Jason
On 6/22/07, Adam Reed [EMAIL PROTECTED] wrote:
Tiffany,
I don't believe 'select' is a valid action on a select list
(ironically enough).
I would double-check the name of the value. If that is correct, try 1)
using a regex, 2) try accessing it in IRB, or 3) use an exists? or
selected?, in no particular order.
Similar to Adam, I access mine as ie.select_list(:id, 'list2').select('name
of value'). Hope that helps.
Cheers,
Jason
can you post your test script? it would help to diagnose your problem.
Cheers,
Jason
On 6/15/07, Max Russell [EMAIL PROTECTED] wrote:
Hi there, I'm getting the following.
`require': no such file to load -- watir (LoadError)
I've checked the FAQs and downloaded the latest 1.5 version
Bret, +2.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chris McMahon
Sent: Thursday, June 07, 2007 12:19 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] forum do not get the postings made using
themailing list
Because of the increased