I am new to WATIR/RUBY and have run into difficulty with a drop down list, example HTML below.
The example documentation doesn't seem to cover this.
 
Can anyone suggest how I would use WATIR to select the drop down options?
 
  <div id="nav1">
      <a name="nav1"></a>
      <ul id="udm" class="udm">
        <li>
          <a class="nohref">Registration</a>
          <ul style="width:190%">
            <li><a style="white-space:nowrap" href="">List Learning Accounts</a></li>
            <li><a style="white-space:nowrap" href="">Search Learning Accounts</a></li>
            <li><a style="white-space:nowrap" href="">Register Individual Learner</a></li>
            <li><a style="white-space:nowrap" href="">Register Multiple Learners</a></li>
            <li><a style="white-space:nowrap" href="">Enrol Individual Learner</a></li>
            <li><a style="white-space:nowrap" href="">Manage Multiple ILOs</a></li>
          </ul>
        </li>
        <li>
          <a class="nohref">Banking of Credits</a>
          <ul style="width:135%">
            <li><a style="white-space:nowrap" href="">List Learning Accounts</a></li>
            <li><a style="white-space:nowrap" href="">Search Learning Accounts</a></li>
            <li><a style="white-space:nowrap" href="">Manage Courses</a></li>
          </ul>
        </li>
cheers
Andy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email (including any attached files) is for the intended 
recipient(s) only. If you received this email by mistake, please, 
as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily 
reflect those of the Queensland Studies Authority. All reasonable 
precautions have been taken to ensure that this email contained no 
viruses at the time it was sent.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to