[wtr-general] Re: select_list().options valid?

2009-06-11 Thread wsm

This just in, from another post:

getAllContents

does what we hoped options would do.

Bill Mosteller
Eloqua
--~--~-~--~~~---~--~~
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: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: select_list().options valid?

2009-06-11 Thread wsm

Yes, I'm having the same problem:

# odd, gets undefined method `options' for # (NoMethodError)
# puts TimeStr() + "Advanced dynamic preview " + emailframe.frame(:id,
'EmailDefnAction').frame(:id, 'ContactDetailsFrame').select_list(:id,
'ContentSelect1').options().join("|")

--~--~-~--~~~---~--~~
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: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: select_list().options valid?

2009-04-27 Thread Karl

Sorry, that doesn't work either. Same error message.

On Apr 27, 8:02 pm, George  wrote:
> instead of options, try getAllContents

--~--~-~--~~~---~--~~
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: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: select_list().options valid?

2009-04-27 Thread George


instead of options, try getAllContents


On Apr 27, 3:17 pm, Karl  wrote:
> Runnin SafariWatir, OS X 10.5.6, Safari 4.0 (beta), and the latest
> safariwatir (et al) gems.
>
> This method:
>   Watir::Browser.default = 'safari'
>   b = Watir::Browser.new
>   b.goto "http://my_site.com";
>   b.select_list(:id, "state").options
>
> returns:
>   NoMethodError: undefined method `options' for
> #
>
> Yes, there is a select list with an id="state".
>
> Am I missing something?
--~--~-~--~~~---~--~~
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: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---