I am attempting to migrate working cucumber tests in Watir (IE) and
have them work on the Mac driving Safari.  I cannot determine how to
have Safari verify the default value of a selectlist.

This is the command I am using:

@browser.select_list(:id, 'id_name').selected_value.should == "--

This is the error message I receive:

expected: "--Select--",
           got: "" (using ==)

      @@ -1,2 +1 @@

The default value of the selectlist is '--Select--'

Any help would be greatly appreciated.

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to