Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Bill Agee
On Tue, Jul 17, 2012 at 9:34 AM, Ry wrote: > Thank you so much for that information.. > > I am already reading into the wiki links you attached. > > I wonder though if there is a better product to run automation with Watir in > a windows enviroment than Jenkins? > > or just better to go with Linux

Re: [wtr-general] Click not working in Chrome

2012-07-17 Thread CJ
Zejko, I don't understand what you're suggesting? The code on the page is just a submit button. How would I write an onclick event for the button in Watir? When I tried it, it didn't work. Here's what I tried: b.button(:name => "submit1").fire_event "onClick" I also tried this: b.send_keys :

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Ry
Thank you so much for that information.. I am already reading into the wiki links you attached. I wonder though if there is a better product to run automation with Watir in a windows enviroment than Jenkins? or just better to go with Linux and run headless? On Tuesday, July 17, 2012 8:18:

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Bill Agee
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/rautomation-0.7.2/lib/rautomation/window.rb:226:in > `rescue in wait_until_present': Window with locator {:index=>0, > :hwnd=>262394} doesn't exist or is not visible! > (RAutomation::UnknownWindowException) Since the exception seems to be in a part of the test

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Ry
On Tuesday, July 17, 2012 12:48:28 AM UTC-7, Željko Filipin wrote: > > On Tue, Jul 17, 2012 at 3:29 AM, Ry wrote: > > Yes I was previously on Watir 3.0 r3 > > Just double checked and yes the script works when launching from desktop, Ruby bash, or Windows bash. > Does the script work fine with

Re: [wtr-general] use of Watir and Watir-Webdriver

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 3:13 PM, Gajendra Jain wrote: > Can we use both Watir and Watir-Webdriver feature together to design the automation scripts? I think the only limitation is that you can not require them together, but using them separately should work. Željko -- filipin.eu -- Before post

[wtr-general] use of Watir and Watir-Webdriver

2012-07-17 Thread Gajendra Jain
Hi, Some of the functionality works fine with Watir and some of them works well with Watir-Webdriver. Can we use both Watir and Watir-Webdriver feature together to design the automation scripts? Regards, Gajendra -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Mahesh Shivankar
I don't think, I neatly clarified my point. Sorry for that. I intend to drive FF only with watir-webdriver. On Tuesday, 17 July 2012 15:13:31 UTC+5:30, Željko Filipin wrote: > > On Tue, Jul 17, 2012 at 11:26 AM, Mahesh Shivankar < > maheshshivankar...@gmail.com> wrote: > > Yes, I did initially me

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 11:26 AM, Mahesh Shivankar < maheshshivankar...@gmail.com> wrote: > Yes, I did initially mention that. So, how do you plan to drive FF with watir gem? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-genera

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Mahesh Shivankar
Yes, I did initially mention that. On Tuesday, 17 July 2012 14:53:34 UTC+5:30, Željko Filipin wrote: > > On Tue, Jul 17, 2012 at 11:06 AM, Mahesh Shivankar < > maheshshivankar...@gmail.com> wrote: > > I initially tried with watir-webdriver gem but could not get ahead, so > was looking forward to

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 11:06 AM, Mahesh Shivankar < maheshshivankar...@gmail.com> wrote: > I initially tried with watir-webdriver gem but could not get ahead, so was looking forward to using watir/WindowHelper approach that I had come across.googlegroups.com But watir gem can only drive IE. Didn'

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Mahesh Shivankar
I initially tried with watir-webdriver gem but could not get ahead, so was looking forward to using watir/WindowHelper approach that I had come across. On Tuesday, 17 July 2012 14:07:17 UTC+5:30, Željko Filipin wrote: > > On Tue, Jul 17, 2012 at 10:29 AM, Mahesh Shivankar < > maheshshivankar...

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 10:29 AM, Mahesh Shivankar < maheshshivankar...@gmail.com> wrote: > And is the watir/WindowHelper support completely removed ? I have no idea. You can take a look at the source. Are you using watir or watir-webdriver gem? I do not think watir-webdriver ever had window helpe

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Mahesh Shivankar
Thank you Željko :) And is the watir/WindowHelper support completely removed ? On Tuesday, 17 July 2012 13:20:04 UTC+5:30, Željko Filipin wrote: > > On Tue, Jul 17, 2012 at 8:55 AM, Mahesh Shivankar < > maheshshivankar...@gmail.com> wrote: > > Also i

Re: [wtr-general] How to handle download bar in IE 9

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 7:32 AM, Agung Surya wrote: > I'm having a problem regarding access the new pop up in IE 9 using Watir Are you using watir or watir-webdriver gem? Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. w

Re: [wtr-general] Re: Connection Errors when running simultaneous tests and closing browser

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 1:58 AM, Michael Le wrote: > Updated ChromeDriver fixed the problem. Thanks for letting us know. Chrome updates frequently and it is important to have the latest chrome driver or, as you have noticed, strange things could happen. Željko -- filipin.eu -- Before posting,

Re: [wtr-general] Unable to download file using WATIR and AutoIT from Firefox

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 8:55 AM, Mahesh Shivankar < maheshshivankar...@gmail.com> wrote: > Also is there any other way around for the intended task ? Yes. The simplest thing is to disable the popup and download the file directly: http://watirwebdriver.com/browser-downloads/ Željko --

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 3:29 AM, Ry wrote: > Yes I was previously on Watir 3.0 r3 Does the script work fine with that Watir version? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.c

[wtr-general] How to handle download bar in IE 9

2012-07-17 Thread Agung Surya
Hi, I'm having a problem regarding access the new pop up in IE 9 using Watir This pop up regarding the save or open pop up that like a tab in the bottom of the page. Could some one please share the steps to access those button?(Open, save as, and cancel button) -- Before posting, please read h

Re: [wtr-general] Click not working in Chrome

2012-07-17 Thread Željko Filipin
Maybe you need to fire javascript event: http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://group