in my Ruby+Watir framework which I've designed , I've created a testbase.rb
where I've put the function like below and call this wherever I need it.

def select_from_select_list(title,name,value)
startAction title, "Select from the select list with name'" + name + "' and
value '" + value + "'"
 if no_fatal_error then
begin
$ie.select_list(:name,name).select(value)
logPass
rescue => e
handleFail e
end
end
end



On Mon, Aug 9, 2010 at 9:00 AM, Padma Reddy <padmaj...@gmail.com> wrote:

> Try this:
>
> browser.select_list(:id, '<>').select_value('<>')
>
> get Id and value from ur source code
>
>
> On Sun, Aug 8, 2010 at 8:45 PM, sudhir <prem...@gmail.com> wrote:
>
>> Hi All,
>> I am trying to select an item from dropbox but could not.
>> Can you provide details regarding that
>>
>> Thanks
>>
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>> To unsubscribe: 
>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>>
>
>
>
> --
> Padma:)
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
> To unsubscribe: 
> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com>
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to