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

2011-01-03 Thread Željko Filipin
http://stackoverflow.com/questions/4572753/getting-the-error-msvcrt-ruby18-dll-is-missing-when-running-watir-scripts-after
http://stackoverflow.com/questions/4576095/how-to-create-arrays-from-show-links-show-tables-show-images-show-divs-that-ca

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Fwd: Donate to Watir

2011-01-03 Thread Željko Filipin
If you like the Watir project, you can make a donation. There is donate
button at http://watir.com/.

We've raised $695 last year. We will spend it on hosting and stuff like
that.

You can see list of donors and Bret's thank you note at
http://pledgie.com/campaigns/2982

Željko

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Can I run tests in IE and FF one by one in the one ruby script?

2011-01-03 Thread Oleg
Hi All.
Please give me advice how can I run IE and FF tests in the one ruby
script.
I tried the following, but in the second part opens browser
initialized firstly (IE in this example)

  require 'watir'
  Watir::Browser.default = 'ie'
  browser = Watir::Browser.new
  browser.goto "url"
  ...
  require 'firewatir'
  Watir::Browser.default = 'firefox'
  browser = Watir::Browser.new
  browser.goto "url"
  ...

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] Re: How to handle Jquery UI Select menu using watir

2011-01-03 Thread jv-watir
Any ideas, any one else?  I am using Windows XP, IE 7, Watir 1.6.7
Ruby 1.8.6

This Jquery Select List is selecting the value(that I can see from
selected_options), but UI is not reflecting, I tried firing all the
events?  Any help is highly appreciated.  I am just copying the
original post again

The application that I am testing changing some of the UI, as part of
this effort previous dropdowns are being replaced with JQuery UI
select menu as you can see dropdown style combo box on
http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html/
Watir does not recognize it, I tried picking from hidden Select,
clicking on link in the Li for corresponding UL and firing event,
Watir is not recognizing.
Any ideas?

Thanks
JV




On Dec 29 2010, 7:02 pm, Sharma Vishav 
wrote:
> hi jv
>
> I am using watir 1.6.7 ,IE 8 and ruby 1.8.6
> cheers
>
>
>
> On Thu, Dec 30, 2010 at 4:13 AM, jv-watir  wrote:
> > Thank you, Sharma!  It still did not work for me, may I know the Watir
> > version and IE version that you are using.  I am using IE7 and Watir
> > 1.6.5, I tried select_lists fileC and speedC.
>
> > JV
>
> > On Dec 28, 7:40 pm, Sharma Vishav  wrote:
> > > Hi JV,
>
> > > I could select items from the select lists on the example url u have
> > sent,
> > > see code below
>
> > > irb(main):001:0> require 'Watir'
> > > => true
> > > irb(main):002:0> ie=Watir::Browser.new
> > > => #
> > > irb(main):005:0> ie.goto("
> >http://jquery-ui.googlecode.com/svn/branches/labs/sele
> > > ctmenu/index.html/")
> > > => 0.75
> > > irb(main):006:0> optgroups=ie.select_list(:id,"filesC")
> > > => #
> > > irb(main):008:0> optgroups.set("jQuery Logo")
> > > => nil
> > > irb(main):010:0> optgroups.set("Some other unknown file")
> > > => nil
> > > irb(main):045:0> c=ie.select_list(:id,"filesB")
> > > => #
> > > irb(main):046:0> c.options
> > > => ["John Resig Podcast", "Scott Gonzales Video", "jQuery RSS XML"]
>
> > > On Wed, Dec 29, 2010 at 4:28 AM, jv-watir  wrote:
> > > > The application that I am testing changing some of the UI, as part of
> > > > this effort previous dropdowns are being replaced with JQuery UI
> > > > select menu as you can see dropdown style combo box on
>
> >http://jquery-ui.googlecode.com/svn/branches/labs/selectmenu/index.html/
> > > > Watir does not recognize it, I tried picking from hidden Select,
> > > > clicking on link in the Li for corresponding UL and firing event,
> > > > Watir is not recognizing.
> > > > Any ideas?
>
> > > > Thanks
> > > > JV
>
> > > > --
> > > > Before posting, please readhttp://watir.com/support. In short: search
> > > > before you ask, be nice.
>
> > > > watir-general@googlegroups.com
> > > >http://groups.google.com/group/watir-general
> > > > watir-general+unsubscr...@googlegroups.com- Hide quoted text -
>
> > > - Show quoted text -
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
> > before you ask, be nice.
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com- Hide quoted text -
>
> - Show quoted text -

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] CookieManager/cookie api

2011-01-03 Thread Charley Baker
Hi all,

  Currently in the Watir gem, there is a library which is old and
untested for Cookie Management, cookiemanager.rb. We're proposing an
api for cookie handling as part of Watir proper, and I just wanted to
find out how if at all, anyone's using this library. We will be
deprecating this lib in favor of a more unified, tested and workable
API, so I'd like to hear from those of you who either use it, have
made mods to it or have your own cookie handling so that we have use
cases covered.

Cheers,

Charley Baker
Lead Developer, Watir, http://watir.com

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com


[wtr-general] I18n support in watir/ruby.

2011-01-03 Thread Bhavesh
Hi,

I have some chinese, french characters in the description filed of an
application.

I have to match that through watir/ruby scripts.

But in CLI, it appears as juncked and thus pattern match failed.

Do anyone know how to match I18n characters in watir?

Do i need to install any addon for this to work?

Any help would be highly appreciated.

Thanks
Bhavesh

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com