[wtr-general] How to select a item from the dropbox

2010-08-09 Thread sudhir
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

Re: [wtr-general] How to select a item from the dropbox

2010-08-09 Thread Padma Reddy
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

Re: [wtr-general] Way to clear the browser cache?

2010-08-09 Thread Željko Filipin
On Sat, Aug 7, 2010 at 8:52 PM, Jeff Fry jeff@gmail.com wrote: Hey y'all, does watir have a way to clear the browser cache? I do not think Watir can do it (somebody please correct me if I am wrong). If I needed to clear the cache, I would just delete all files from browser's cache directory

Re: [wtr-general] Re: Useful: Installing Watir from RubyGems from behind a proxy

2010-08-09 Thread Željko Filipin
2010/8/9 Jason freezingki...@gmail.com Done. Thanks Jason, Željko -- 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:

Re: [wtr-general] How to select a item from the dropbox

2010-08-09 Thread Željko Filipin
On Sun, Aug 8, 2010 at 5:15 PM, sudhir prem...@gmail.com wrote: I am trying to select an item from dropbox but could not. Take a look: http://wiki.openqa.org/display/WTR/Selection+Boxes Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-08-09 Thread Željko Filipin
http://stackoverflow.com/questions/3434672/watir-how-to-access-a-table-without-an-id-or-name -- 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

[wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread al3kc
does watir support 1.8.6 mingw version or only old mswin32 ? -- 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:

Re: [wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread Charley Baker
I haven't tested it, but I don't see any reason it shouldn't work. Will try to test it this week. If anyone has tried with the new Ruby installer, let us know what you've seen. Charley Baker Lead Developer, Watir, http://watir.com On Mon, Aug 9, 2010 at 7:17 AM, al3kc aleks.kiev...@gmail.com

Re: [wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread Željko Filipin
On Mon, Aug 9, 2010 at 5:05 PM, Charley Baker charley.ba...@gmail.com wrote: I haven't tested it, but I don't see any reason it shouldn't work. Will try to test it this week. If anyone has tried with the new Ruby installer, let us know what you've seen. I use new installer in one virtual

Re: [wtr-general] Way to clear the browser cache?

2010-08-09 Thread arihan sinha
pls try this.. and I think it would work.. its working ok for me. def clear_cache_folder() Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::COOKIES)

Re: [wtr-general] How to select a item from the dropbox

2010-08-09 Thread arihan sinha
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

Re: [wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread Ethan
My understanding was that the issue with quoting system arguments (which is a ruby bug on everything since 1.8.6p111) came up with the mingw32 releases for launching things in a new ruby process, which watir does for click_no_wait and other no_wait stuff. Did you test no_wait stuff? On Mon, Aug

[wtr-general] Re: How to select a item from the dropbox

2010-08-09 Thread Chuck van der Linden
If the below does not work, then use the IE Developer Toolbar, or Firebug, to have a look at the element to see if it is really an HTML select list, or if it is some other kind of control. There are often Javascript powered 'section lists' which are enabled using other types of objects (often an

Re: [wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread Charley Baker
That's a good point, the modal dialog stuff also likely won't work. Jarmo's pull request for click_no_wait might help in that scenario. If anyone wants to run a quick test for either of those issues, that would be helpful. Charley Baker Lead Developer, Watir, http://watir.com On Mon, Aug 9,

Re: [wtr-general] Re: Watir on Windows, how is it done anymore?

2010-08-09 Thread Željko Filipin
On Mon, Aug 9, 2010 at 6:10 PM, Ethan notet...@gmail.com wrote: Did you test no_wait stuff? No, I do not use no_wait stuff. Željko -- 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