Hi,
"Mark" is a drop down button in a page with 2 options "Mark as Read" and "Mark 
as Unread".
I am able to click on the Mark button by $ie.button.(:name, 
"top_bpress_topmark").click, but am unable to select the options. 
$ie.select_list(:name,"top_read_unread").select("Mark as  Unread") results in 
undefined object method.. 

The relevant html of the page for your reference is#
 <div id="contentbuttonbartop" class="contentbuttonbar">
    <span class="first">        <input type="submit" class="inputbutton" 
name="top_bpress_delete"
        value ="Delete" 
        title="Delete selected Message(s)">        <input type="submit" 
class="inputbutton" name="top_bpress_spam"
        value="Spam" 
        title="Mark selected Message(s) as Spam">        <select 
name="top_read_unread" class="dropdown">
        <option value="0">Mark as Unread</option>
        <option value="1">Mark as Read</option>
        </select>
        <input type="submit" class="inputbutton" name="top_bpress_topmark"
        value = "Mark"
        title="Mark selected Message(s)">  

Thanks,
Swarna


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to