[wtr-general] Re: [Wtr-development] Watir 4.0.0.rc1 Released!
Fantastic work Jarmo! This will be big time when we have one command that works across all platforms. I tried it on OSX and the gem installs correctly, but when I try to launch a new browser without specifying a browser it complains (when it should default to firefox according to your README). Using :firefox works fine. (I am using watir-webdriver 0.6.1). Als-MacBook-Air:minesweeper-robot alisterscott$ irb 1.9.3p194 :001 require 'watir' = true 1.9.3p194 :002 b = Watir::Browser.new ArgumentError: expected Symbol or Selenium::WebDriver::Driver, got NilClass from /Users/alisterscott/.rvm/gems/ruby-1.9.3-p194@minesweeper-robot/gems/watir-webdriver-0.6.1/lib/watir-webdriver/browser.rb:39:in `initialize' from /Users/alisterscott/.rvm/gems/ruby-1.9.3-p194@minesweeper-robot/gems/watir-4.0.0.rc1/lib/watir/loader.rb:16:in `new' from /Users/alisterscott/.rvm/gems/ruby-1.9.3-p194@minesweeper-robot/gems/watir-4.0.0.rc1/lib/watir/loader.rb:16:in `new' from (irb):2 from /Users/alisterscott/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `main' 1.9.3p194 :003 b = Watir::Browser.new :firefox = #Watir::Browser:0x482564e843693ef4 url=about:blank title= 1.9.3p194 :004 quit Thanks for this great work. Cheers, Alister Alister Scott Brisbane, Australia Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott “Debt, no matter how creatively structured, is anathema to peace of mind.” ~ Ryan Freitashttp://ryanfreitas.tumblr.com/post/968361763/35-lessons-in-35-years On Tue, Sep 18, 2012 at 6:34 AM, Jarmo jarm...@gmail.com wrote: Hello everyone! I'm happy to announce that Watir 4.0.rc1 has been released. Please install it with: gem install watir --pre Refer to the usage at the readme: https://github.com/watir/watir/blob/master/README.md All questions, comments or suggestions are welcome. PS! This gem detects automatically which driver to use (webdriver or classic), but still has a limitation of using one driver per Ruby process. I'm not even sure if using webdriver and classic in the same Ruby process will be possible in the future due to namespace collisions. With Best Regards, Jarmo Pertman ___ Wtr-development mailing list wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- 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] We are moving away from JIRA: please raise all future issues/bugs at Github
Here's the link: https://github.com/watir/watir/issues Cheers, Alister Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* -- 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: Running cucumber + watir-webdriver + mac os x over SSH gives “Element cannot be scrolled into view”
It's a WebDriver bug (https://code.google.com/p/selenium/issues/detail?id=3075) that is apparently complicated to fix, and therefore isn't fixed yet. Are you using xvfb? If so, can up the res to something like 1024x4096 to see if it goes away? -- 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: watir-webdriver 0.5.2
I have created a new page on watirwebdriver.com about the new cookies API. Thanks Jari for implementing so quickly. http://watirwebdriver.com/cookies/ -- 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: [Wtr-development] Watir 3.0.rc1 Released
One compliance to Watirspec is established, I don't see any reason why not. The IE WebDriver driver is nowhere near as powerful/reliable as the native watir driver so I think it would be a big win for those running tests under IE. Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Fri, Jan 13, 2012 at 11:40 PM, Abe Heward abe.hew...@gmail.com wrote: Are there plans to, at some point, merge Watir and Watir-Webdriver into one thing? ___ Wtr-development mailing list wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- 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: Watir Automation Framework
See Chuck's answer on StackOveflow: http://stackoverflow.com/questions/7737572/how-do-i-build-watir-tests-for-websites -- 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: Site Login authentication
have you tried putting the username/password in the url? require 'watir' b = Watir::Browser.start 'http://admin:passw...@yourwebsite.com' full details here: http://watirwebdriver.com/basic-browser-authentication/ Cheers, Alister -- 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: watir-webdriver survey for adding items such as: alert_box, scroll_to, and in_viewable_area?
I vote for leaving watir-webdriver simple. If people want these features they can just use qa_robusta, or monkey patch watir-webdriver themselves. -- 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
Re: [wtr-general] waiting using implicit_wait with watir-webdriver
after you create a browser, simply set the wait: require 'watir-webdriver' b = Watir::Browser.new b.driver.manage.timeouts.implicit_wait=3 It will wait *up to* 3 seconds before complaining it can't find the element. If it finds it immediately, there is no wait. Alister -- 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: waiting using implicit_wait with watir-webdriver
I am glad you found it useful. I have put it on the watirwebdriver.com site: http://watirwebdriver.com/waiting/ -- 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
Re: [wtr-general] Watir-WebDriver and JavaScript Alerts
It's a shame that you'll be (potentially) removing the first style, as I find it more elegant and watir-esque, although I have had some issues using it. Either way, let me know which is the preferred method and I'll update http://watirwebdriver.com/javascript-dialogs/ -- 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: Need Help with Element not found
please provide the full code including the iframe -- 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: firefox (on windows) DL path in browser prefs has issues
Thanks SO much for this. I was experiencing this EXACT same problem yesterday and it was driving me nuts! With this patch, will it also work with a newer version of Firefox? -- 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
Re: [wtr-general] Getting Error: `WebDriverError': Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotDisplayedError)
are you using id = showlink or id = fb-note-title? You may be waiting for the wrong thing -- 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: Getting errro in Chrome. Please suggest answer.
have you downloaded the chromdriver and put it on your path http://watirwebdriver.com/chrome/ -- 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: Unable to click anchor with image inside LI tag
you can't use a click on a non visible element. tru element.fire_event onclick -- 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: Unable to click anchor with image inside LI tag
try element.fire_event onclick -- 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] Having trouble finding a link
please play around and try something else like: ie.link(:id = 'cwc_menu_local:ROOT.Find a Request-anchor').exists? ie.link(:id = 'cwc_menu_local:ROOT.Find a Request-anchor').text etc. Also, please use a proper subject for future discussions. eg. NOT hi -- 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: Unable to click anchor with image inside LI tag
is it visible? can you do something like ie.link(:class, x-tab-strip-close).fire_event onclick -- 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: logic to compare the two sheets in watir
Roo wil also work with openoffice. Please see: http://roo.rubyforge.org/ -- 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: wait for new click event..
It is very unclear what you are trying to do. If you're trying to visit every url in a file, you should use the ie.goto method, not ie.url method. -- 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: Re : Re: Re : Re: Re : Re: Re : Watir is slow with nested frames
+1 to working with the developers to get rid of 7 nested frames. That is ridiculous. -- 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 bypass basic authentication ?
What watir gem are you using? Watir-WebDriver? I just tried Watir-WebDriver then with both firefox and chrome and both worked immediately without any problems. uby-1.9.2-p290 :001 require watir-webdriver = true ruby-1.9.2-p290 :002 b = Watir::Browser.new = #Watir::Browser:0x..f9578bef11631505a url=about:blank title= ruby-1.9.2-p290 :003 b.goto http://admin:password@192.168.0.1/; = http://192.168.0.1/setup.cgi?next_file=start.htm; ruby-1.9.2-p290 :007 b = Watir::Browser.new :chrome b.goto = #Watir::Browser:0x3785bf4e43b91242 url=about:blank title=about:blank ruby-1.9.2-p290 :008 b.goto http://admin:password@192.168.0.1/; = http://admin:password@192.168.0.1/setup.cgi?next_file=start.htm; -- 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 bypass basic authentication ?
And documented: http://watirwebdriver.com/basic-browser-authentication/ -- 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
Re: [Wtr-development] [wtr-general] Re: Watir support for Ruby 1.9.2?
Great work finding out about this. A really nice to have would be to provide the ability to specify which documentMode and browserMode you'd like the IE browser to use. Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Fri, Aug 26, 2011 at 4:41 AM, Hugh McGowan colinsda...@gmail.com wrote: Looks like we can get the information from browser.document.documentMode - that will return the mode for the page. You can set this mode in the browser (F12 developer tools, eg is an easy way to see this) or you can set it in the HTML meta tags. I don't think there's any way around it - for IE9 we just have to check what mode the page is using and fire events accordingly. We can at least code it so we only do it once/page and store it in the browser instance. This doesn't affect any of the other changes we made for IE9 because I was able to make the method calls work in both IE8 and IE9 - this is the only place we had to special case. On the bright side, IE9 is faster than IE8 so I don't think anyone will notice :) Hugh ___ Wtr-development mailing list wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- 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: [Wtr-development] Watir support for Ruby 1.9.2?
Definitely an IE9 thing. Tried on IE8 with Ruby 1.9.2 and all fine. I don't know enough about the source code to know what the error actually means: NoMethodError: unknown property or method: `createEvent' HRESULT error code:0x80020006 Unknown name. -- 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: [Wtr-development] Watir support for Ruby 1.9.2?
I'm on the latest 1.9.2: p290. -- 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
Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?
Hey Oscar, Does .set work on google? That was the problem. .exists? and .html work fine. Cheers, Alister -- 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
Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?
It looks like the following IE9 specific code in element.rb:341 is causing the problem. Does anyone know about this code? I commented out the IE9 section, and just used object.fireEvent(event) and it worked fine. What's the reason for this code? def dispatch_event(event) if IE.version_parts.first.to_i = 9 begin # we're in IE9 document standards mode ole_object.dispatchEvent(create_event(event)) rescue WIN32OLERuntimeError ole_object.fireEvent(event) end else ole_object.fireEvent(event) end end -- 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
Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?
It looks like my freshly installed IE9 browser uses IE8 Document standards which causes a problem in Watir. I wonder why Oscar's doesn't fail. Maybe it uses IE9 Document standards -- 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
Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?
It looks like google add a content=IE_8 header to the page to force IE9 to revert to IE8, but Watir thinks it's IE9! http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx -- 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
Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?
I don't think that'll help as google will force it to use IE8 standards. Cheers Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Thu, Aug 25, 2011 at 11:12 AM, bis bis...@gmail.com wrote: I will crank up my VM again and mess with it. Maybe try reinstalling ie9 and see if that solves the issue On Wed, Aug 24, 2011 at 10:09 PM, Alister Scott alister.sc...@gmail.comwrote: It looks like google add a content=IE_8 header to the page to force IE9 to revert to IE8, but Watir thinks it's IE9! http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx -- 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 -- 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 -- 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
Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?
maybe it's a google.com.au thing cheers Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Thu, Aug 25, 2011 at 11:30 AM, bis bis...@gmail.com wrote: yeah i dont see that the google i see when i look at the tests has meta http-equiv=X-UA-Compatible content=IE=9/ for .com, .ca and .com.br On Wed, Aug 24, 2011 at 10:13 PM, Alister Scott alister.sc...@gmail.comwrote: I don't think that'll help as google will force it to use IE8 standards. Cheers Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Thu, Aug 25, 2011 at 11:12 AM, bis bis...@gmail.com wrote: I will crank up my VM again and mess with it. Maybe try reinstalling ie9 and see if that solves the issue On Wed, Aug 24, 2011 at 10:09 PM, Alister Scott alister.sc...@gmail.com wrote: It looks like google add a content=IE_8 header to the page to force IE9 to revert to IE8, but Watir thinks it's IE9! http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx -- 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 -- 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 -- 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 -- 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 -- 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: watir 2.0.1 table rows method broken
Yeah, it looks bust. You can use: browser.table(:id, 'administrators').each do |row| puts puts row.inspect puts row.text end which works, but isn't watir-webdriver compatible. Cheers, Alister -- 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 do I find the id for element which has a label ?
You can't set a label, you need to use the input (known in watir as text_field) @ie.text_field(:id = 'adjustment_invoices_ attributes_6_amount').set '16' -- 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: [Wtr-development] Watir support for Ruby 1.9.2?
Using IE9.0.8112 on Windows 7 -- 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: Ang.: Re: Object no longer attached to the DOM error on doing a exists call
Did you switch back the behaviour to see if it works? Can you provide some sample HTML/JavaScript code? Watir::always_locate = false b = Watir::Browser.new -- 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: wait_until_enabled ?
Does this work? Watir::Wait.until { browser.button(:id, btnFoo).enabled? } -- 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] Watir support for Ruby 1.9.2?
Hi, Does Watir 2.0.1+ support Ruby 1.9.2? Just updating watir.com and would like to know. Cheers, Alister -- 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: Watir 2.0.1 Released
I can't get locating elements to work on 1.9.2: irb(main):012:0 b.text_field(:name, q).set s NoMethodError: unknown property or method: `createEvent' HRESULT error code:0x80020006 Unknown name. from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/element.rb:377:in `method_missing' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/element.rb:377:in `create_event' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/element.rb:343:in `dispatch_event' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.1/lib/watir/input_elements.rb:376:in `set' from (irb):12 from C:/Ruby192/bin/irb:12:in `main' -- 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: It is possible to have watir-webdriver and selenium-webdriver (ruby bindings) in the same script ?
What exactly are you trying to do with both drivers. It works for me (see code below) but I can't understand why you'd want to. ruby-1.9.2-p290 :003 require watir-webdriver = true ruby-1.9.2-p290 :004 b = Watir::Browser.new = #Watir::Browser:0xe3859c1bd520f04 url=about:blank title= ruby-1.9.2-p290 :005 b.goto www.google.com = http://www.google.com.au/; ruby-1.9.2-p290 :006 b.driver.find_element(:name, 'q').send_keys hello = ruby-1.9.2-p290 :007 -- 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] Cucumber: how to use regular expressions in tables?
I know, slightly off topic, but if anyone is a cucumber whiz and knows how to use reg exps in cucumber tables, please let me know! http://stackoverflow.com/questions/7061721/how-do-i-use-regular-expressions-in-a-cucumber-table-multiline-argument-to-diff -- 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
Re: [wtr-general] Re: Object no longer attached to the DOM error on doing a exists call
This has been released. Thanks to Jari. See an article about how to use it here: http://watirmelon.com/2011/08/14/telling-watir-webdriver-to-always-locate-elements-upon-use/ -- 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 send text to a CKEditor WYSIWYG editor box using Watir-WebDriver?
Thanks to everyone who helped. I have worked it out and updated my blog: http://watirmelon.com/2011/08/12/automate-entering-text-into-wysiwyg-editors-using-watir-webdriver/ -- 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] How to send text to a CKEditor WYSIWYG editor box using Watir-WebDriver?
I've just posted my question to StackOverflow. If anyone has any ideas, I'd appreciate it. http://stackoverflow.com/q/7025823/503158 -- 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
Re: [wtr-general] Re: Object no longer attached to the DOM error on doing a exists call
Tested the new version with configurable option and all good, thanks Jari. Can we please have a new gem version now? -- 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
Re: [wtr-general] Iterate over direct successor divs which are not unique identifiable
I'd do something like browser.div(:class, myclass).divs.collect { | div | div.div.exists? } -- 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
Re: [wtr-general] Iterate over direct successor divs which are not unique identifiable
I'd do something like browser.div(:class, myclass).divs.select { | div | div.div.exists? } (that should be select not collect) -- 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
Re: [wtr-general] Re: Object no longer attached to the DOM error on doing a exists call
Awesome! Thanks. I switched to this and ran a test suite and it took 6 seconds longer than usual (usually 59 seconds), but I am more than willing to accept this to have a much more reliable test suite. I vote for having this changed, I am sure Zeljko would vote for it too considering how much trouble he's having. If you're not in favor of switching to this, could we at least make it user configurable to have this behaviour? Thanks, Alister -- 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: Watir framework
I'm not sure why you wouldn't just use something like rspec or cucumber? -- 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
Re: [wtr-general] Re: Object no longer attached to the DOM error on doing a exists call
I have found testing an app that has a crazy amount of JavaScript that changes the DOM, that these exceptions are raised quite frequently. I personally prefer the Watir 1.X behaviour, as it personally means tests are more reliable for me. But, I understand the performance hit. Are we talking much slower execution times? I have written about this on my blog, with some ideas I have on how to write scripts to avoid it: http://watirmelon.com/2011/08/02/watir-webdriver-obselete-element-error/ Cheers, Alister -- 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
Re: [wtr-general] Safari Watir / Webdriver - reasons for choosing watir or selenium...
I think the iOS driver for webdriver is *definitely* not ready for prime time. For example, you can't even do a .click!!! http://code.google.com/p/selenium/issues/detail?id=1250 That issue has been open, and not looked at, since 1 Feb. Judging from that, I don't see if the iOS webdriver is considered very important. -- 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
Re: [wtr-general] Object no longer attached to the DOM error on doing a exists call
I'm getting the same error quite frequently when using watir-webdriver. It is happening near where I used execute_script to execute some javascript on a div, like onclick -- 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
Re: [wtr-general] Watir 2.0.0.rc2 released
I am having a play around with this on Win7/Ruby 1.9.2, but can't get very far. What am I doing wrong? irb(main):001:0 require 'watir' = true irb(main):002:0 b = Watir::Browser.new = #Watir::IE:0x..f90492b14 url=about:blank title= irb(main):003:0 b.goto 'www.google.com' = 1.363929 irb(main):004:0 b.text_field(:name = q).set s NoMethodError: unknown property or method: `createEvent' HRESULT error code:0x80020006 Unknown name. from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/element.rb:377:in `method_missing' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/element.rb:377:in `create_event' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/element.rb:343:in `dispatch_event' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-2.0.0.rc2/lib/watir/input_elements.rb:376:in `set' from (irb):4 from C:/Ruby192/bin/irb:12:in `main' irb(main):005:0 Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Mon, Jul 25, 2011 at 8:59 PM, Jari Bakken jari.bak...@gmail.com wrote: On Sun, Jul 24, 2011 at 11:53 PM, Jarmo jarm...@gmail.com wrote: Good news everyone! I've found some time to play with Watir and managed to release a new version - 2.0.0.rc2 (rc1 had buggy dependency, sorry)! There are some big changes including 0-based-indexing, which is enabled by default and not releasing new versions of FireWatir. Also, all collection factory methods accept now (multiple) specifiers/locators. A lot of these changes are compatible with Watir-WebDriver (see the list of incompatibilities compared with previous versions Nice work! * renamed CheckBox class to Checkbox * renamed CheckBoxes class to Checkboxes What's the rationale for this? This adds a new incompatibility with watir-webdriver and breaks backwards compatibility for anyone relying on the class name. The change seems rather arbitrary. Jari -- 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.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.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] Watir Day 2011 Speakers Announced
The speakers have been announced for Watir Day: http://watir.com/2011/03/08/watir-day-2011-speakers-announced/ http://watir.com/watir-day/speakers/ Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* -- 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] Poll: What version of ruby do you use? What version of Watir do you use?
Hi, We're doing a quick poll about Ruby and Watir versions, so if you could please tell us what you use, that'd be great! http://watir.com/2011/02/28/poll-what-rubywatir-versions-do-you-use/ Thanks, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* -- 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] Update on Watir Day 2011 - Sunday 3rd April - San Francisco
Hi Everyone, I thought I would send out an update on Watir Day 2011, in case you hadn't seen what's happening on the website and twitter. http://watir.com/watir-day/ Planning for Watir Day is full steam ahead. *Proposing a Talk* You can propose a talk which closes over the coming days. See: http://watir.com/watir-day/propose-a-talk/ *Tickets * Tickets are $50 each and on sale now. You can get a free ticket if you're coming from overseas, and / or presenting at the Watir Day. Also, you don't need to be attending Selenium Conference to buy a ticket. Oh, and you get a special Watir Day T-Shirt. Link to tickets page: http://watirday.eventbrite.com/ *Sponsorship * The thing I am most excited about is our sponsorship packages. For only $175, your employer or company can sponsor the day and get four included tickets free, valued at $200. This should make it easy to convince your employer to sponsor the day and send some people! http://watir.com/watir-day/sponsorship/ * Coming Up Next* Over the coming days/weeks, we plan to finalize the program including the speakers, and open space format: so stay tuned. If you have any further questions, please feel to contact me, and please spread the word! Thanks, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* -- 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: Windows IE9 support?
It mostly works. Try it and report problems! On Feb 12, 9:23 am, trampus trichm...@sugarcrm.com wrote: Is there any ETA on getting IE9 support for watir yet? -- 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] An intro to Watir-WebDriver
Hi, I've written a new blog post about how to use Watir-WebDriver for those who are curious: http://watirmelon.com/2010/12/14/watir-webdriver-a-detailed-introduction/ Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* -- 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] A solution to avoiding basic authentication dialogs
Hi, I've just written about a way to avoid the 'basic authentication' dialog boxes when using Watir. It's on the wiki: http://wiki.openqa.org/display/WTR/Basic+Authentication and my blog: http://watirmelon.com/2010/11/24/elegantly-handling-basic-browser-authentication-with-watir/ Cheers, Alister Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott -- 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
Re: [wtr-general] Re: Javascript pop uo using firewatir
I'd try Watir-Webdriver and see if the execute_script code works. Browser.execute_script( window.confirm = function() {return true}) Cheers Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* 2010/11/24 Amit Kulkarni amitkkulkarni...@gmail.com Hi, I tried the code but it gives me error as gem_original_require': no such file to load -- win32ole (MissingSourceFile) I am working on Ubuntu machine so could not install the windows gem. How to solve this? 2010/11/23 Rajiv Nanduani rajivkumarnandv...@gmail.com try this $autoit = WIN32OLE.new(AutoItX3.Control) sleep(5) if @browserType == firefox Thread.start do @browser.link(:href, /page/).click end sleep(5) elsif @browserType == ie Thread.start do @browser.link(:href, /page/).focus end sleep(5) $autoit.Send({ENTER}) else @@log.error(@browserType + is NOT a valid Browser Type!!!) raise Exception.new(@browserType + is NOT a valid Browser Type!) end sleep(5) $autoit.Send({ENTER}) sleep(5) On Mon, Nov 22, 2010 at 8:46 AM, Prajakta Jadhav jadhav.praja...@gmail.com wrote: Why does Browser.link(:href,/users/1).click have double quotes ( ) around :href? That is not required and I am not sure if that will work either. This is the syntax: a href=page.htm ie.link(:href, /page/).click Try removing those double quotes. Hope it works. 2010/11/22 Amit Kulkarni amitkkulkarni...@gmail.com Thanks a lot for the link. But i tried every option but no success. If you see carefully it uses a Ajax call. require 'rubygems' require 'firewatir' Watir::Browser.default = 'firefox' Browser = Watir::Browser.new Browser.goto(http://localhost:3000/users;) Browser.link(:href,/users/1).click --error referring to this line #Browser.execute_script(window.confirm = function() {return true}) def check_for_popups autoit = WIN32OLE.new('AutoItX3.Control') # # Do forever - assumes popups could occur anywhere/anytime in your application. loop do # Look for window with given title. Give up after 1 second. ret = autoit.WinWait('Destroy', '', 1) # # If window found, send appropriate keystroke (e.g. {enter}, {Y}, {N}). if (ret==1) then autoit.Send('{enter}') end # # Take a rest to avoid chewing up cycles and give another thread a go. # Then resume the loop. sleep(3) end end $popup = Thread.new { check_for_popups } # start popup handler at_exit { Thread.kill($popup) } After running i get the following error js_eval': missing ; before statement (JsshSocket::JSSyntaxError) from /var/lib/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/jssh_socket.rb:27:in `js_eval_method' from /var/lib/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/element.rb:936:in `enabled?' from /var/lib/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/element.rb:922:in `assert_enabled' from /var/lib/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/element.rb:1072:in `click' from user_destroy.rb:6 On Thu, Nov 18, 2010 at 2:36 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Nov 18, 2010 at 8:21 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: On delete action popup is there which onclick it shows a pop up box along with two buttons i.e. Ok and Cancel Maybe something from here could help you: http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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.comwatir-general%2bunsubscr...@googlegroups.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.comwatir-general%2bunsubscr...@googlegroups.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
[wtr-general] fire_event 'onchange' intermittently timing out?
Hi, I am testing an AJAX heavy web app which uses 'onchange' events on text fields. Approx one tenth of the time, when I fire an onchange event using fire_event, it causes Watir to timeout for 5 minutes. For example: When I set Letter to Blah # features/step_definitions/input_text_steps.rb:7 execution expired (Timeout::Error) C:/Sandbox/Tools/ruby-1.8.7-p302-i386-mingw32/lib/ruby/1.8/timeout.rb:64:in `wait' ./features/support/../../lib/blah/form.rb:38:in `[]=' ./features/step_definitions/input_text_steps.rb:8:in `/^I set ([^]*) to ([^]*)$/' features\sociability\blah\blah.feature:45:in `When I set Letter to blah' I traced this down the the element.rb file, and have monkey patched this class to remove the @container.wait, but I was wondering if there is a better way? As it only happens about 10% of the time, it makes it hard to debug, but removing the wait from fire_event seems to have resolved the issue. I thought about catching the Timeout::Error, but I don't want my script to freeze for 5 minutes at a time. Any help would be appreciated. def fire_event(event) assert_exists assert_enabled highlight(:set) ole_object.fireEvent(event) #...@container.wait highlight(:clear) end Cheers, Alister -- 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: Identify IP address
This isn't a Watir related question and doesn't belong here. Try googling this and you will easily work out how to do it. -- 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] Registering the Watir autoit .dll control without local admin?
Hi, I was wondering if anyone knows how to get Watir to work with dialog boxes without being able to register the autoit .dll file? (regsvr32 AutoItX3.dll does not work) Basically we have no access to update the registry and everything works in watir besides the dialogs that autoit handles. Any ideas? Cheers, Alister Scott -- 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: Welcome Jarmo Pertman to the core Watir team
Welcome to the team Jarmo! http://watir.com/team/ -- 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
Re: [Wtr-development] [wtr-general] Re: Check out the Watir Stack Exchange site!
I personally don't think what you're proposing is too radical. If people aren't committed, Stack Exchange won't work. I personally dislike the number of complex rules, voting and hierarchy associated with stack exchange stuff. I think it's a bit OTT. I am happy to support any other options you think will work. Cheers, Alister Scott Brisbane, Australia Watir Wiki Master: http://watir.com Blog: http://watirmelon.com Google: http://www.google.com/profiles/alister.scott LinkedIn: http://www.linkedin.com/in/alisterscott On 14/08/2010, at 1:01 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: I am giving up on Watir Stack Exchange site (http://bit.ly/watirse). Nobody is voting on the questions. Maybe people are on vacation, or nobody cares. I will concentrate on thinking how to move Watir support to http://stackoverflow.com/ One idea I have: - create a page at watir.com with instructions how to post a question at stackoverflow.com - update http://watir.com/support/ page to say stackoverflow.com is the place for Watir support - send warning message at watir-general that it will be read only for a week - in that week post to watir-general only links to Watir questions at stackoverflow.com - see what happens and decide what to do next Is it too radical? :) Željko ___ Wtr-development mailing list wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- 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
[wtr-general] Re: Watir on Windows, how is it done anymore?
Can we pick up the great work Ethan has done on making vapir work in later versions of ruby and apply this to Watir? On Jul 13, 5:22 am, Ethan notet...@gmail.com wrote: Watir has been locked to a very old version of ruby for a long time. Vapirhttp://vapir.org/, an updated fork of watir, runs on any recent version of ruby. On Mon, Jul 12, 2010 at 15:18, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Monday, July 12, 2010, Nathan Lane nathamberl...@gmail.com wrote: from (irb):9 from C:/Ruby191/bin/irb:12:in `main' The last time I have tried, watir did not work with ruby 1.9. Try 1.8. Željko -- Before posting, please readhttp://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.comwatir-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
[wtr-general] Re: [Wtr-development] watir.com/installation comments
I agree! Thanks. I might update the site to let people know not to ask questions, else disable commenting on certain pages? Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Wed, Jul 28, 2010 at 6:46 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Installation page at watir.com is one of the most visited and commented: http://watir.com/installation/ I have noticed that people are asking for support there (3 comments are pending moderation at the moment, all 3 asking for support). Since comments are moderated, I do not approve such comments. I send e-mail to the author pointing them to watir.com/support page. Today I have took a look at existing comments and found one that is support question. I have deleted it, just to make it clear that we do not provide support via comments. Please let me know if you disagree. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi ___ Wtr-development mailing list wtr-developm...@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- 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
[wtr-general] Celerity Question - java.net.ConnectException
Hi, I am having an issue with running a basic celerity script, and couldn't find a celerity mailing list so I thought I would try here. I am trying to get celerity running, and using the example script on http://celerity.rubyforge.org/ I am using JDK 1.6.0_20 JRuby 1.5.1 Celerity 0.7.9 from Gemcutter When I try to run the sample script, or any celerity script, I get the error below. Can anyone suggest something to do/try? jruby yay.rb java/net/PlainSocketImpl.java:-2:in `socketConnect': java.net.ConnectException: Connection timed out: connect (NativeException) from java/net/PlainSocketImpl.java:333:in `doConnect' from java/net/PlainSocketImpl.java:195:in `connectToAddress' from java/net/PlainSocketImpl.java:182:in `connect' from java/net/SocksSocketImpl.java:366:in `connect' from java/net/Socket.java:529:in `connect' from java/net/Socket.java:478:in `connect' from java/net/Socket.java:375:in `init' from java/net/Socket.java:249:in `init' ... 14 levels... from c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/c ontainer.rb:761:in `rescue_status_code_exception' from c:/jruby-1.5.1/lib/ruby/gems/1.8/gems/celerity-0.7.9/lib/celerity/b rowser.rb:99:in `goto' from yay.rb:5 Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott If you never change your mind, why have one? ~ Edward de Bono -- 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
[wtr-general] Re: Celerity Question - java.net.ConnectException
Thanks for the lead Zeljko. I found a topic on using celerity behind a firewall which fixed my problem. http://rubyforge.org/forum/forum.php?thread_id=46879forum_id=24213 -- 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
[wtr-general] Re: HP acquires the Watir project, announces Wativ
Everyone can relax. It was an April Fool's joke: http://en.wikipedia.org/wiki/April_fools_day -- 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 To unsubscribe, reply using remove me as the subject.
[wtr-general] HP is NOT acquiring Watir - it was a joke
It was an April Fools Joke: http://en.wikipedia.org/wiki/April_fools_day -- 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
[wtr-general] HP acquires the Watir project, announces Wativ
In a surprise move today, HP, the vendor of numerous Mercury testing tools, has acquired the open source Watir testing product. Read more: http://watirmelon.com/2010/04/01/hp-acquires-the-watir-project-announces-wativ/ -- 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 To unsubscribe, reply using remove me as the subject.
[wtr-general] Re: Question about watir and celerity
You don't need to require Watir. On Feb 25, 5:12 pm, karim rayani karim.ray...@gmail.com wrote: Clearity is a headless implementation of the Watir API but it runs on the java platform, Karim Rayani On Wed, Feb 24, 2010 at 8:53 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Feb 24, 2010 at 4:17 PM, Moises Siles moises.si...@gmail.com wrote: I'm not sure if after I remove the watir line it will affect something. I am sure it would help. Watir and Celerity do not share any code. I do not think you can even install Watir in JRuby (where Celerity is installed). Celerity does have it's own site and mailing list: http://celerity.rubyforge.org/ Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - podcasts on software testing. all of them -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
[wtr-general] Re: Question about automation Gmail with Watir
It makes sense to get rid of the Gmail example, because why you would ever want to automated a GUI to send an email is the question. It is *so* easy to send an email through ruby itself. On Feb 24, 7:56 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Feb 23, 2010 at 9:12 PM, Bill Agee billa...@gmail.com wrote: I suggest we remove the gmail wiki page. Done. Željko -- 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
[wtr-general] Re: Question about automation Gmail with Watir
Or spammers might be using Watir to spam the world :( On Feb 26, 9:01 am, Felipe Knorr Kuhn fkn...@gmail.com wrote: Google engineers might be using Watir to test their upcoming Gmail Labs apps! j/k :) FK On Thu, Feb 25, 2010 at 7:42 PM, Alister Scott alister.sc...@gmail.comwrote: It makes sense to get rid of the Gmail example, because why you would ever want to automated a GUI to send an email is the question. It is *so* easy to send an email through ruby itself. On Feb 24, 7:56 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Feb 23, 2010 at 9:12 PM, Bill Agee billa...@gmail.com wrote: I suggest we remove the gmail wiki page. Done. Željko -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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
[wtr-general] Re: Fetch Automatic Web Page Attributes
You can loop through collectons of elements. See: http://wiki.openqa.org/display/WTR/Save+All+Images+on+a+Webpage On Feb 6, 7:46 pm, Nishant nishant.jain2...@gmail.com wrote: Hi, I am using Watir for my Web application. On my Web page we have so many objects. Attributes are Id, class, name etc. Is there any trick or tool that fetch these attributes and save in a file. Thanks, Nishant Jain -- 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
[wtr-general] A printable Watir Tutorial
I've been thinking for sometime to create a single (long) page Watir Tutorial by merging multiple tutorial pages into one.The aim would be to make it easier for a new Watir user to follow, and the added benefit is it could be printed. The process of creating this is a little daunting. As a starting point, or experiment, I thought I could create a printable tutorial on the wiki, which is essentially syndicated content from each individual tutorial page, displayed in a single, printable, page. I've done this now, http://wiki.openqa.org/display/WTR/Printable+Tutorial, and by doing it is has made me realize how long, and detailed, the Watir tutorial actually is. It makes the process of creating a single page Watir tutorial even more daunting. I am interesting in your thoughts. Is a single page tutorial something that others would consider helpful for new users? Is the current, multi-page, tutorial sufficient? Does anyone have any different ideas for creating an easy to follow, and print, tutorial? Is it just me who wants the tutorial to be printable? Cheers, Alister Scott Brisbane, Australia -- 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
[wtr-general] Re: Questiona about Watir in Mac with Firefox 3.6
Hi, You can use Firefox 3.5 until someone compiles the JSSH add-on for OSX. Alternatively you can take a look at SafariWatir: http://github.com/redsquirrel/safariwatir Cheers, Alister Scott -- 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
[wtr-general] Re: New proposed Watir project home on the wiki
Thanks for everyone's feedback. I have made changes to the Watir wiki home page: http://wiki.openqa.org/display/WTR/Project+Home On Feb 3, 8:56 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Feb 1, 2010 at 5:32 AM, Alister Scott alister.sc...@gmail.com wrote: The new proposed page is: http://wiki.openqa.org/display/WTR/Project+Home+%28Proposed%29 Alister, This is not how the things should be done. I just make the change and _then_ ask if people like it. :) There is no need for staging phase. Go ahead and make it wiki home page. I would remove contributors and recently edited pages from the home page, but leave it if you think it should be there. Željko -- watir.com - community manager watirpodcast.com - host -- 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
[wtr-general] New proposed Watir project home on the wiki
Hi, Now that we have the latest version of Confluence, I was thinking of updating the project home page on the wiki. I wanted to make it more dynamic, so I have come up with a proposal. The current page is: http://wiki.openqa.org/display/WTR/Project+Home The new proposed page is: http://wiki.openqa.org/display/WTR/Project+Home+%28Proposed%29 Please take a look and let me know what you think, and what you think could be better. Cheers, Alister Scott -- 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
[wtr-general] Re: Ads on watir.com
I responded on Watir-Development, but I will mirror it here for consistency sake: I am personally against advertisements on watir.com, because I think it defeats the whole purpose of creating a kick-ass open source tool, if your main site for it has advertisements for commercial/proprietary automated testing tools (wasn't watir created to avoid using vendorscripts?) Why is this thought even being raised? Are we short of money or something? What are the big costs we need money for? The current web site is hosted (by wordpress) for free... Even if we wanted to run ads on watir.com, we can't because we're using wordpress.com. We would need to migrate the blog to our own host and then pay hosting costs. It's a bit of a wasted effort in my honest opinion. I look forward to hearing others thoughts on this matter. Cheers, Alister Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com Google: http://www.google.com/profiles/alister.scott LinkedIn: http://www.linkedin.com/in/alisterscott -- 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
[wtr-general] Re: Firefox 3.6
The Windows JSSH add-on has been added to the Watir wiki: http://wiki.openqa.org/display/WTR/FireWatir+Installation If you complile the OSX or Linux version, please upload to here. Thanks, Alister Scott On Jan 25, 5:34 pm, Angrez Singh ang...@gmail.com wrote: I'll post the updated JSSh XPI soon on watir list. Thanks, Angrez On Fri, Jan 22, 2010 at 7:32 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Jan 22, 2010 at 2:38 PM, al3kc aleks.kiev...@gmail.com wrote: FF3.6 was realized yesterday. Any plans for jssh on new version? http://bit.ly/4vKlnY Željko -- 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 -- 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
[wtr-general] Re: Error in installation of gem
If you don't wish to completely reinstall ruby, a much easier thing to do is manually install rubygems 1.3.5 from a zip file: http://rubyforge.org/frs/?group_id=126 This will fix the problem. -- 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
[wtr-general] What to do when getting an error updaing ruby gems, or updating watir gem on Ruby 1.8.6.26
Hi, I have noticed problems when updating rubygems (gem update --system), or updating your watir gem, when using Ruby 1.8.6.26. I have added this to the FAQ on the wiki: http://wiki.openqa.org/display/WTR/FAQ#FAQ-Ican%27tinstalltheWatirgem%2CorupdaterubygemsonRuby1.8.6.26%2CwhatdoIdo%3F EG: I can't install the Watir gem, or update rubygems on Ruby 1.8.6.26, what do I do? If you are getting an error like: Updating RubyGems... Attempting remote update of rubygems-update Install required dependency builder? [Yn] Y ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find builder (= 0) in any repository What you need to do is manually install the latest version of rubygems. Download the zip file from http://rubyforge.org/frs/?group_id=126, extract it and run setup.rb. Once you have done this the commands gem install watir and gem update watir will work correctly. Cheers, Alister -- 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
[wtr-general] Re: Error in installation of gem
On Dec 19, 7:58 am, mxparker mxpar...@gmail.com wrote: Just a thought... I had a similar issue. And on another thread I learned that the problem turned out to be the fact that I was behind a corporate firewall. When I took laptop home I was able to update the gems. That's an entirely separate issue. -- 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
[wtr-general] Re: ie.modal_dialog(:title, 'Tile') problem
I have raised the IE8 issue you speak of in JIRA: http://jira.openqa.org/browse/WTR-414 -- 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
[wtr-general] Re: Wătir
I am not really sure it matters what people call it. As long as they are getting value from it and they know how to spell it so they can look it up. There are many words in English that people pronounce differently: mall, router, bistro. -- 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
[wtr-general] Re: is possible to use existing browser in watir
Simply use the attach method: http://wtr.rubyforge.org/rdoc/classes/Watir/IE.html#M000235 -- 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
[wtr-general] Re: WatirRecorder
You can try iTest2, which is a free Firefox add on for recording Watir scripts. http://itest2.com/downloads --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Summary wiki page
Also, I _really_ like the fact that now I can link to specific page when answering questions at watir-general. We can achieve the same effect with anchors. Cheers, Alister --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Summary wiki page
The collection looks useful, but something is confusing about the parentage of the collection. Look at the breadcrumbs on these pages. Dashboard Watir ...Project Home Start Here Tutorial Summary Collections of HTML Elements Agree, not the best location. I think we need to have a 'one page quick start', a 'one page tutorial', and the rest of the information contained can be logically organized into categories. But I believe the one page tutorial is what we used to have, do you know why it was changed to such a long format? Cheers, Alister --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Elements supported by Watir
I can't get Bret's code to work either. I tried all classes and Watir::Element is not included My Code: require 'Watir' def is_element_subclass? klass while klass = klass.superclass return true end end ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} Cheers, Alister On Sep 29, 7:26 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Sep 28, 2009 at 6:08 PM, Bret Pettichord bpettich...@gmail.com wrote: def is_element_subclass? klass while klass = klass.superclass return true if klass == Watir::Element end end ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)} I executed this code on Mac and Windows and got this error message: NameError: uninitialized constant Watir::Element from (irb):5:in `is_element_subclass?' from (irb):9 from (irb):9:in `each_object' from (irb):9 I tried with or without `require watir` as the first line. What am I doing wrong? Mac: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]) commonwatir (1.6.2) firewatir (1.6.2) safariwatir (0.3.3) Windows: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] commonwatir (1.6.2) firewatir (1.6.2) watir (1.6.2) Željko --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Summary wiki page
Željko The Summary section on http://wiki.openqa.org/display/WTR/Project+Home looks like a good idea. Cheers, Alister On Sep 30, 11:28 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: I have: - moved Methods Supported by Element wiki page from Start Here to Summary - created Summary section at Project Home page - added HTML Elements Supported by Watir page to Summary section It made sense to me to have all pages with similar content grouped. Please let me know if you disagree. I plan to create a page (in Summary section) that will explain collections (links, buttons...), probably tomorrow. If you have some time, feel free to do it instead of me. (I think Lisa said she would do some documentation.) If you need help with the wiki, please let me know. Željko --http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Watir Logo Refresh Competition
Yes, please feel free to send one through. Thanks, Alister --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Need a sample code to import test data from Excel sheet
You can always check out Roo: http://roo.rubyforge.org/ This library makes it easy to read Excel, OpenOffice and Google Docs, without needing these programs installed (reads file directly). Cheers, Alister Scott On Sep 8, 6:58 pm, Rocky dheerajgamb...@gmail.com wrote: You can use: $folder_path='C:\\script\\qa' excel = WIN32OLE::new(excel.Application) # Create an instance of the Excel application object $workbook = excel.Workbooks.Open($folder_path+\\TestData.xls) $worksheet = $workbook.WorkSheets(1) # get first workbook $test_site = $worksheet.Range(C4).Value # Pick Test URL form TestData sheet $ie = Watir::IE.new $ie.goto($test_site) Thanks D G On Sep 7, 6:05 pm, Ari arindraj...@googlemail.com wrote: MS Excel file can be read using parseexcel. See details inhttp://ari-techno.blogspot.com/2009/09/reading-microsoft-office-excel... On Aug 11, 8:37 am, Naveen devadass naveeenku...@gmail.com wrote: Hi all, Can you please help on this --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Need a sample code to import test data from Excel sheet
I have also just written a blog post on how to use Roo to specify test cases in Excel/Open Office: http://wp.me/p98zF-56 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Does firewatir supports :slow, :fast, :zippy properties for control execution speed?
Hi, Only IE support browser speeds. See JIRA: http://jira.openqa.org/browse/WTR-303 Cheers, Alister On Jul 20, 1:53 pm, sHiVa krapa.ph...@gmail.com wrote: Gokul, Thanks for your quick reply. But I want to use :zippy,:fast,:slow options in firewatir. Is it possible? Regards Siva On Jul 19, 10:57 pm, Gokul railsthin...@gmail.com wrote: Yeah... you can control the speed of execution. For example, ie = Watir::IE.new ie.speed = :fast or ie.speed = :zippy Hope this will help you. Regards Gokul On Jul 18, 3:25 pm, sHiVa krapa.ph...@gmail.com wrote: HI , Does firewatir support speed controls like in IE :fast,:zippy?. If not how can i control the execution speed of my test? Thanks in advance Regards Siva- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Towards migrating to Watir.com
What would you like to do? You've made some proposals. You've gotten some feedback. Yes. I would like to move ahead with using wordpress to host watir.com. I would like to use wordpress.com as it is hosted and provides easy user administration and spam protection. It seems my second prototype is more popular (http://watir001.wordpress.com/) but I need to create a custom header. As far as I'm aware, no one else has volunteered to make any of the alternative ideas happen (right?), so the ball is in your court. Z* has been talking to Patrick about using openqa to host watir.com, hence the delay in me writing this message. I personally think it will be more complicated than needed to use openqa/confluence so I think we can put that idea to rest. Please let us know what you propose to do, if anything. Do you need help? If so, what parts do you need help with? I don't need any major help with setting up the site, besides domain name mapping (where Paul is needed) and possibly the logo (need decision on whether to continue, if so, need high res PNG format, is possible). Once the site is established, the content will need some refreshing. This should be a matter of various people logging in and making some changes so it sounds better. Cheers, Alister --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[wtr-general] Re: Languages supported by Watir
Do you mean in your web application that you are testing? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---