Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > watir to access combobox

Reply
Thread Tools

watir to access combobox

 
 
Sean Nakasone
Guest
Posts: n/a
 
      09-22-2007
I'm new to watir and IE Developer Toolbar so please bear with me.

I have a combobox in a website that i want to set. The 'Select Element by
Click' feature in IE Developer Toolbar doesn't work on this combobox.
Does that mean that I can't set the combobox?

If I can set it, how? would appreciate code snippets.
 
Reply With Quote
 
 
 
 
lrlebron@gmail.com
Guest
Posts: n/a
 
      09-25-2007
On Sep 21, 7:18 pm, Sean Nakasone <seannakas...@yahoo.com> wrote:
> I'm new to watir and IE Developer Toolbar so please bear with me.
>
> I have a combobox in a website that i want to set. The 'Select Element by
> Click' feature in IE Developer Toolbar doesn't work on this combobox.
> Does that mean that I can't set the combobox?
>
> If I can set it, how? would appreciate code snippets.


If you know the name of the select list you can try this

ie.select_list(:name, 'name').select_value('value')


Luis

 
Reply With Quote
 
 
 
 
lrlebron@gmail.com
Guest
Posts: n/a
 
      09-25-2007
On Sep 21, 7:18 pm, Sean Nakasone <seannakas...@yahoo.com> wrote:
> I'm new to watir and IE Developer Toolbar so please bear with me.
>
> I have a combobox in a website that i want to set. The 'Select Element by
> Click' feature in IE Developer Toolbar doesn't work on this combobox.
> Does that mean that I can't set the combobox?
>
> If I can set it, how? would appreciate code snippets.


If you know the name of the select list you can try this

ie.select_list(:name, 'name').select_value('value')


Luis

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combobox Project: How to put 4 text items in the combobox christopher.m.lusardi@gmail.com Java 5 10-11-2012 09:29 PM
watir , access is denied Pradeepta Swain Ruby 5 07-01-2008 06:45 AM
autoit::watir outlook web access login pop up Devabrat Kumar Ruby 0 06-09-2008 12:14 PM
Watir: How to return a Watir::IE object for an existing IE? Anukul Singhal Ruby 1 05-15-2008 04:57 PM
How to access a button tag in watir Vani Ruby 1 10-26-2005 06:54 AM



Advertisments