It works for me when I run the code.
$ie.select_list(:id,'ctl00_ContentPlaceHolderBody_ComboBoxStoreName').set(/chang/)

Thanks.
Wesley Chen.


On Mon, Jun 15, 2009 at 11:02 AM, jane.liu <jane.li...@hotmail.com> wrote:

>
>
>
> thank for you help,
>
> but It is also fail for your methods
>
> it prompt :
> d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists':
> Unable to locate object, using id and
> ctl00_ContentPlaceHolderBody_ComboBoxStore
> (Watir::Exception::UnknownObjectException)
>        from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2940:in
> `select_item_in_select_list'
>        from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2932:in `select_value'
>        from search1.rb:31
>
> looking forward to your reply
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to